logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

selinux_boolean_sub - Search the translated name for a boolean_name record

Description

selinux_boolean_sub()  searches  the  /etc/selinux/{POLICYTYPE}/booleans.subs_dist  file  for  a matching
       boolean_name record.   If  the  record  exists  the  boolean  substitution  name  is  returned.   If  not
       selinux_boolean_sub() returns the original boolean_name.

Name

       selinux_boolean_sub - Search the translated name for a boolean_name record

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)

Synopsis

#include<selinux/selinux.h>char*selinux_boolean_sub(constchar*boolean_name);

See Also