Re: How to find SELinux policy type?

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

KaiGai Kohei wrote:
> 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.
> 
> Thanks
There is no list of policy types since anyone can make up a new policy
type.  The convention used within system-config-selinux is to list the
directory names under /etc/selinux/.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkjaOhkACgkQrlYvE4MpobMFiACfbt6gs0dVCDTRgMH2DqgbAmUJ
l7YAoNBOUnViBZkEMnOdemkcJclbMXEw
=pjX3
-----END PGP SIGNATURE-----

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