centos man page for selinux_boolean_sub

Query: selinux_boolean_sub

OS: centos

Section: 3

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

selinux_boolean_sub(3)					     SELinux API documentation					    selinux_boolean_sub(3)

NAME
selinux_boolean_sub -
SYNOPSIS
#include <selinux/selinux.h> char *selinux_boolean_sub(const char *boolean_name);
DESCRIPTION
selinux_boolean_sub() searches the /etc/selinux/{POLICYTYPE}/booleans.subs_dist file for a maching boolean_name record. If the record exists the boolean substitution name is returned. If not selinux_boolean_sub() returns the original boolean_name.
RETURN VALUE
selinux_boolean_sub() returns the boolean_name or the substituted name on success. The returned value must be freed with free(3). selinux_boolean_sub() returns NULL on error.
SEE ALSO
security_get_boolean_names(3) dwalsh@redhat.com 11 June 2012 selinux_boolean_sub(3)
Related Man Pages
booleans(5) - centos
security_commit_booleans(3) - debian
booleans(5) - debian
security_get_boolean_active(3) - centos
security_set_boolean(3) - centos
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
CentOS7 restoring file capabilities
Docker learning Phase-I