Valdis.Kletnieks@xxxxxx wrote:
On Wed, 24 Sep 2008 09:18:16 +0900, KaiGai Kohei said:
James Morris wrote:
Is there a programmatic way to determine the type of SELinux policy
configured on a system? (e.g. "targeted")
I've looked in the SELinux userspace and SETools repositories but not
found a library call to do this.
I also want to know the way to obtain the list of policy types,
because it is necessary to make a specfile which provides policy
modules.
There be dragons here. :)
Keep in mind that the list of available policies on the machine that you
create an RPM spec file and do the 'rpmbuild' may differ from the actual
install environment. So keep straight your Requires: and Build-Requires: ;)
Don't worry. I actually maintain the specfile of sepostgresql package
that provides its security policy modules. :)
--
OSS Platform Development Division, NEC
KaiGai Kohei <kaigai@xxxxxxxxxxxxx>
--
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.