selinux_getpolicytype(3) - phpMan

Command: man perldoc info search(apropos)  


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  accordingly.  Free  policytype
       with free(3).

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

SEE ALSO
       selinux(8)



dwalsh AT redhat.com                          24 Sep 2008                   selinux_getpolicytype(3)

Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-04-27 14:06 @18.217.220.114 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0!Valid CSS!