selinux_getpolicytype man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

selinux_getpolicytype(3)   SELinux API documentation  selinux_getpolicytype(3)

NAME
       selinux_getpolicytype  -	 get the type of SELinux policy running on the
       system

SYNOPSIS
       #include <selinux/selinux.h>

       int selinux_getpolicytype(char **policytype);

DESCRIPTION
       selinux_getpolicytype() Reads the contents of  the  /etc/selinux/config
       file  to	 determine  the	 SELinux  policy  used on the system, and sets
       policytype accordinly.

RETURN VALUE
       On success, zero is returned.  On failure, -1 is returned.

SEE ALSO
       selinux(8)

dwalsh@redhat.com		  24 Sep 2008	      selinux_getpolicytype(3)
[top]

List of man pages available for Mageia

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net