seapp_contexts boolean support

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

 



I was thinking of adding support to enable seboolean control over seapp_contexts. We have had to make a weird change to seapp_contexts for CTS and it would be nice if that only got pulled in and used when the CTS boolean is enabled.

I was thinking is could work like this:

seapp_contexts would have an additional option, sebool, you could set this to the name of the seboolean, such as CTS.

When the code that parses the seapp_contexts file (selinux_android_setcontext) could check the sebool flag first, and if it matches, apply the existing rules to it, else, throw it away as a possible match.

Would anyone find this useful, and if so I can code it up tomorrow after I submit the Settings app patches to Garrett.

--
Respectfully,

William C Roberts



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

  Powered by Linux