Skip to content

Releases: SELinuxProject/selinux

SELinux userspace release 20191031 / 3.0-rc1

31 Oct 09:18
Compare
Choose a tag to compare

RELEASE 20191031 (3.0-rc1)

User-visible changes:

  • Optional support for kernel policy optimization (enable with
    optimize-policy=true in /etc/selinux/semanage.conf for modular policy or -O
    option to checkpolicy/secilc for monolithic policy); this is optional because it
    provides relatively small savings with non-trivial policy compile-time overhead
    for some policies e.g. Android.

  • New digest scheme for setfiles/restorecon -D; instead of a single hash of the
    entire file contexts configuration stored in a security.restorecon_last xattr on
    only the top-level directory, use a hash of all partial matches from file
    contexts stored in a security.sehash xattr on each directory,

  • Support for default_range glblub in source policy (.te/policy.conf and CIL)
    and kernel policy version 32,

  • New libselinux APIs for querying validatetrans rules,

  • Unknown permissions are now handled as errors in CIL,

  • security_av_string() no longer returns immediately upon encountering an
    unknown permission and will log all known permissions,

  • checkmodule -c support for specifying module policy version,

  • mcstransd reverted to original color range matching based on dominance,

  • Support for 'dccp' and 'sctp' protocols in semanage port command,

  • 'checkpolicy -o -' writes policy to standard output,

  • 'semodule -v' sets also cil's log level

Issues fixed:

SELinux userspace release 20190315 / 2.9

15 Mar 15:59
Compare
Choose a tag to compare

RELEASE 20190315 (2.9)

User-visible changes:

  • Spelling errors were fixed in libselinux man pages

  • audit2allow supports xperms now. There are new '-x'/'--xperms' options which
    turn on generating of extended permisssion AV rules.

  • semanage login is fixed in order not to log two audit events which one of them
    was correct.

  • libsemanage resets umask before creating directories so that file permissions
    should not change after a change is committed.

  • Correct user name is used in ROLE_REMOVE audit events

  • The noise produced by checkpolicy command line tool is reduced now.

  • A new option '-S' or '--sort' is added to checkpolicy to sort the ocontexts
    before writing out the binary policy.

  • sepolicy and semanage accept aliases now.

  • Deprecated at_console statement was removed from dbus configuration.

  • semanage export output includes ibpkey and ibendport now.

  • audit2why can be run as non-root user now.

  • Added russian translations for man pages

  • setfiles can once again be used on SELinux-disabled hosts to label files,

  • setfiles and restorecon once again correctly ignore files with customizable
    types,

  • semanage login no longer fails if used with a group that has many members,

  • semanage boolean no longer fails if listing for a policy store other than the
    active one.

  • By default, /usr/bin/python3 is used by Python scripts and for building modules
    with python bindings.

Packaging-relevant changes:

  • Usage of DESTDIR in restorecond is consistent with other directories now

  • By default, /usr/bin/python3 is used by Python scripts and for building modules
    with python bindings. It's possible to switch to Python 2 using the following commands:

$ pathfix.py -i/usr/bin/python `git grep -l -E '^#!.*/usr/bin/python'`
$ make PYTHON=/usr/bin/python` ...

Issues fixed:

SELinux userspace release 20190301 / 2.9-rc2

01 Mar 13:19
Compare
Choose a tag to compare

RELEASE 20190301 (2.9-rc2)

User-visible changes:

  • Added russian translations for man pages

  • setfiles can once again be used on SELinux-disabled hosts to label files,

  • setfiles and restorecon once again correctly ignore files with customizable
    types,

  • semanage login no longer fails if used with a group that has many members,

  • semanage boolean no longer fails if listing for a policy store other than the
    active one.

  • By default, /usr/bin/python3 is used by Python scripts and for building modules
    with python bindings.

Packaging-relevant changes:

  • By default, /usr/bin/python3 is used by Python scripts and for building modules
    with python bindings. It's possible to switch to Python 2 using the following commands:
$ pathfix.py -i/usr/bin/python `git grep -l -E '^#!.*/usr/bin/python'`
$ make PYTHON=/usr/bin/python ...

SELinux userspace release 20190125 / 2.9-rc1

25 Jan 11:06
Compare
Choose a tag to compare

RELEASE 20190124 (2.9-rc1)

User-visible changes:

  • Spelling errors were fixed in libselinux man pages

  • audit2allow supports xperms now. There are new '-x'/'--xperms' options which
    turn on generating of extended permisssion AV rules.

  • semanage login is fixed in order not to log two audit events which one of them
    was correct.

  • libsemanage resets umask before creating directories so that file permissions
    should not change after a change is committed.

  • Correct user name is used in ROLE_REMOVE audit events

  • The noise produced by checkpolicy command line tool is reduced now.

  • A new option '-S' or '--sort' is added to checkpolicy to sort the ocontexts
    before writing out the binary policy.

  • sepolicy and semanage accept aliases now.

  • Deprecated at_console statement was removed from dbus configuration.

  • semanage export output includes ibpkey and ibendport now.

  • audit2why can be run as non-root user now.

Packaging-relevant changes:

  • Usage of DESTDIR in restorecond is consistent with other directories now

Issues fixed:

SELinux userspace release 20180524 / 2.8

24 May 18:39
Compare
Choose a tag to compare

RELEASE 20180524 (2.8)

User-visible changes:

  • semanage fcontext -l now also lists home directory entries from
    file_contexts.homedirs.

  • semodule can now enable or disable multiple modules in the same
    operation by specifying a list of modules after -e or -d, making them
    consistent with the -i/u/r/E options.

  • CIL now supports multiple declarations of types, attributes, and
    (non-conflicting) object contexts (e.g. genfscon), enabled via the -m
    or --multiple-decls option to secilc.

  • libsemanage no longer deletes the tmp directory if there is an error
    while committing the policy transaction, so that any temporary files
    can be further inspected for debugging purposes (e.g. to examine a
    particular line of the generated CIL module). The tmp directory will
    be deleted upon the next transaction, so no manual removal is needed.

  • Support was added for SCTP portcon statements. The corresponding
    kernel support was introduced in Linux 4.17, and is only active if the
    extended_socket_class policy capability is enabled in the policy. This
    support is required to build the refpolicy master branch (and thus future
    refpolicy releases).

  • sepol_polcap_getnum/name() were exported as part of the shared libsepol
    interface, initially for use by setools4.

  • semodule_deps was removed since it has long been broken and is not useful
    for CIL modules.

Packaging-relevant changes:

  • When overriding PREFIX, BINDIR, SBINDIR, SHLIBDIR, LIBEXECDIR, etc.,
    DESTDIR has to be removed from the definition. For example on Arch
    Linux, SBINDIR="${pkgdir}/usr/bin" was changed to SBINDIR="/usr/bin".

  • Defining variable LIBSEPOLA (to /usr/lib/libsepol.a, for example) is
    no longer mandatory (thanks to the switch to "-l:libsepol.a" in
    Makefiles).

  • PYSITEDIR has been renamed PYTHONLIBDIR (and its definition changed).

  • selinux-gui (i.e. system-config-selinux GUI application) is now
    compatible with Python 3. Doing this required migrating away from
    PyGTK to the supported PyGI library. This means that selinux-gui now
    depends on python-gobject, Gtk+ 3 and selinux-python. It no longer
    requires PyGtk or Python 2.

20140826-rc1: Bump versions and update ChangeLog

26 Aug 15:20
Compare
Choose a tag to compare
Signed-off-by: Steve Lawrence <[email protected]>