centos man page for selinux_getpolicytype

Query: selinux_getpolicytype

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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)
Related Man Pages
security_get_boolean_pending(3) - debian
selinux_config(5) - debian
security_commit_booleans(3) - centos
security_get_boolean_pending(3) - centos
security_load_booleans(3) - centos
Similar Topics in the Unix Linux Community
Weird 'find' results
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
Controlling user input