Re: [patch] libselinux: don't preservebools for Linux >= 2.6.22

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/5/08 10:42 AM, "Stephen Smalley" <sds@xxxxxxxxxxxxx> wrote:

> Since Linux >= 2.6.22 includes the logic to automatically preserve
> active boolean values across a policy reload, the libselinux load policy
> logic can check the kernel version and skip the userspace preservebools
> processing in that case.  This is cleaner than introducing a config
> option to /etc/selinux/config, as it will auto-detect the support and
> fall back to the compatibility behavior for older kernels.  Thus,
> this change does not change behavior for RHEL 5 or Debian etch.
> 
<snip>

Sounds good to me. This is also convenient for those that may be switching
between kernel versions. This way they don't have to continually change a
config file.

Chad



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux