system without libsepol
Is it reasonable to expect a system without libsepol to be able to load policy? I know the code can do it right now, but does anyone do it? I'd like to remove and try to rework some of that code so it is cleaner and more obvious. Anyone see a problem with requiring libspol be installed if libselinux was build with shared library expectations?
-Eric
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 5 lines · Eric Paris
Is it reasonable to expect a system without libsepol to be able to load policy? I know the code can do it right now, but does anyone do it? I'd like to remove and try to rework some of that code so it is cleaner and more obvious. Anyone see a problem with requiring libspol be installed if libselinux was build with shared library expectations?
SE Android doesn't have libsepol on the device at all (primarily because of licensing). We only build it for the build host and use it to compile the policy for the device. However, we also have our own custom policy loading logic for SE Android due to other differences, so it likely doesn't matter what you do to the upstream libselinux logic.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.