Re: Been looking at further shrinkage of the SELinux footprint on Linux.

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

 



On Wed, 2013-10-30 at 15:31 -0400, Daniel J Walsh wrote:

> Here is a patch I have been fooling around with which would read a policy.29
> file if it was compressed with xz.

Hm, it's kind of ugly to attempt to open the policy with LZMA and only
if that returns (any kind of error) fails fall back to the old code.
Wouldn't it be better to say check whether or not it starts with a new
magic number, like the kernel policydb_read() function does?

In other words have:

[New 32 bit magic number] [Compressed policy]



--
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