Changed selinux_mkload_policy to try downgrading the latest policy version
available to the kernel-supported version.
Changed selinux_mkload_policy to fall back to the maximum policy version
supported by libsepol if the kernel policy version falls outside of the
supported range.
Changed getseuserbyname to fall back to the Linux username and NULL level
if seusers config file doesn't exist unless REQUIRESEUSERS=1 is set in
/etc/selinux/config.
Moved seusers.conf under $SELINUXTYPE and renamed to seusers.
Added selinux_init_load_policy() function as an even higher level interface
for the initial policy load by /sbin/init. This obsoletes the
load_policy() function in the sysvinit-selinux.patch.
Added selinux_mkload_policy() function as a higher level interface for
loading policy than the security_load_policy() interface.
Merged fix for matchpathcon (regcomp error checking) from Johan Fischer.
Also added use of regerror to obtain the error string for inclusion in
the error message.
Merged modified form of patch to avoid dlopen/dlclose by the static
libselinux from Dan Walsh. Users of the static libselinux will not have
any context translation by default.
Merged modified form of patch to avoid dlopen/dlclose by the static
libselinux from Dan Walsh. Users of the static libselinux will not have
any context translation by default.
Hid translation-related symbols entirely and ensured that raw functions
have hidden definitions for internal use.
Allowed setting NULL via context_set* functions.
Allowed whitespace in MLS component of context.
Changed rpm_execcon to use translated functions to workaround lack of MLS
level on upgraded systems.
Merged several fixes for error handling paths in the AVC sidtab,
matchpathcon, booleans, context, and get_context_list code from Serge
Hallyn (IBM). Bugs found by Coverity.
Removed setupns; migrated to pam.
Merged patches to rename checkPasswdAccess() from Joshua Brindle. Original
symbol is temporarily retained for compatibility until all callers are
updated.
Merged avcstat and selinux man page from Dan Walsh.
Changed security_load_booleans to process booleans.local even if booleans
file doesn't exist.
Fri Apr 26 2005 Dan Walsh <dwalsh@redhat.com> 1.23.10-3
- Fix avcstat to clear totals
Merged set_selinuxmnt patch from Bill Nottingham (Red Hat).
Rewrote get_ordered_context_list and helpers, including changing logic to
allow variable MLS fields.
Added set_matchpathcon_flags() function for setting flags controlling
operation of matchpathcon. MATCHPATHCON_BASEONLY means only process the
base file_contexts file, not file_contexts.homedirs or
file_contexts.local, and is for use by setfiles -c.
Updated matchpathcon.3 man page.
Merged matchpathcon patch for file_contexts.homedir from Dan Walsh.
Added selinux_users_path() for path to directory containing system.users
and local.users.
Modified avc_dump_av to explicitly check for any permissions that cannot be
mapped to string names and display them as a hex value.
Regenerated av_permissions.h.
Generalized matchpathcon internals, exported more interfaces, and moved
additional code from setfiles into libselinux so that setfiles can
directly use matchpathcon.
Prevent overflow of spec array in matchpathcon.
Fixed several uses of internal functions to avoid relocations.
Changed rpm_execcon to check is_selinux_enabled() and fallback to a regular
execve if not enabled (or unable to determine due to a lack of /proc,
e.g. chroot'd environment).
Removed some trivial utils that were not useful or redundant.
Changed BINDIR default to /usr/sbin to match change in Fedora.
Added security_compute_member.
Added man page for setcon.