Package Release Info

libselinux-3.11-160100.2.1

Update Info: Base Release
Available in Package Hub : 16.1

platforms

AArch64
ppc64le
s390x
x86-64

subpackages

libselinux1-32bit

Change Logs

* Mon Jul 06 2026 cathy.hu@suse.com
- Update to version 3.11
  https://github.com/SELinuxProject/selinux/releases/tag/3.11
  - User-visible changes:
  - Several security improvements in libselinux
  - Rewrote libselinux selinux_restorecon(3) to eliminate TOCTOU issues in file
    relabeling if /proc is available
  - Fixed libselinux constructor to not clobber errno (#445).
  - Fixed libselinux selabel_partial_match(3) to correctly find partial matches.
  - Fixed libselinux selinux_init_policy_load() to still try to mount selinuxfs on
    /sys/fs/selinux even if the mount of sysfs on /sys fails - this can occur
    legitimately within a user namespace.
  - Improved restorecon related functionality in libselinux
  - Development-relevant changes:
  - Reformatted entire tree based on .clang-format and added new
    check-format/format make targets to check and/or reformat code to match.
    This is now a requirement for new patches.
  - Fixed libselinux build for non-pthread builds.
  - Multiple fixes for musl/llvm-based builds, including adding a new
    EXTRA_LD_FLAGS variable that can be set for libselinux builds to pass
  - -undefined-version through to lld (#511 thru #515).
  - Fixed uclibc build failure (#435).
  - Build shared libraries with -fPIC for LTO.
  - Notable bug fixes:
  - libselinux: avoid out-of-bounds access on zero-length lines
- Packaging changes:
  - Drop patch restorecon-Only-log-error-on-readonly-fs-bsc-1232226.patch
    as it was accepted upstream
  - Rewrite skip_cycles.patch since the code path has been rewritten entirely
    upstream
* Tue Jun 02 2026 cathy.hu@suse.com
- Add patch for restorecon to log error on readonly fs (bsc#1232226)
  - Patch: restorecon-Only-log-error-on-readonly-fs-bsc-1232226.patch
  - Can be dropped with the next toolchain release:
    https://github.com/SELinuxProject/selinux/commit/fd411d50ba1cb3e8ad5f8ce4e3c9bc7fcbe4340c
* Mon May 11 2026 cathy.hu@suse.com
- Change License from SUSE-Public-Domain to LicenseRef-SUSE-Public-Domain
  due to rpmlint invalid-license warning.
* Thu Feb 05 2026 cathy.hu@suse.com
- Update to version 3.10
  https://github.com/SELinuxProject/selinux/releases/tag/3.10
  * libselinux: fix parsing of the enforcing kernel cmdline parameter
  * libselinux: remove out2 labels
  * libselinux: refactor selinux_getenforcemode
  * libselinux: load_policy: log using selinux_log instead of fprintf
  * libselinux: refactor selinux_check_securetty_context
  * libselinux: Ignore files removed during relabeling
  * libselinux/src/Makefile: build python module without isolation
- keyring: Add key of Jason Zaman <jasonzaman@gmail.com>
  * added 63191CE94183098689CAB8DB7EF137EC935B0EAF [expires: 2026-02-08]
* Thu Oct 16 2025 jsegitz@suse.com
- Ship license file (bsc#1252160)
* Wed Jul 23 2025 jsegitz@suse.com
- Add man_selinux_disabled_mismatch_kernel_config.patch to explain
  in the selinux(8) man page to not disable SELinux via
  /etc/selinux/config and enable it at the same time via kernel
  cmd line (bsc#1246549)
* Thu Jul 17 2025 jsegitz@suse.com
- Update to version 3.9
  * Fix local literal fcontext definitions priority
  * Fix order for path substitutions
  * Limit fcontext regex path length