security_get_boolean_pending man page on CentOS

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

security_get_boolean_names(SELinux API Documentatsecurity_get_boolean_names(3)

NAME
       security_load_booleans, security_set_boolean, security_commit_booleans,
       security_get_boolean_names,     security_get_boolean_active,	 secu‐
       rity_get_boolean_pending	 -  routines  for manipulating SELinux boolean
       values

SYNOPSIS
       #include <selinux/selinux.h>

       extern int security_load_booleans(char *path);

       extern int security_get_boolean_names(char ***names, int *len);

       extern int security_get_boolean_pending(const char *name);

       extern int security_get_boolean_active(const char *name);

       extern int security_set_boolean(const char *name, int value);

       extern int security_commit_booleans(void);

DESCRIPTION
       The SELinux policy can include conditional rules that  are  enabled  or
       disabled	 based	on  the	 current  values  of a set of policy booleans.
       These policy booleans allow runtime modification of the security policy
       without having to load a new policy.

       The  SELinux API allows for a transaction based update.	So you can set
       several boolean values and the commit them all at once.

       security_load_booleans

       Load policy boolean settings. Path may be NULL, in which case the bool‐
       eans are loaded from the active policy boolean configuration file.

       security_get_boolean_names

       Returns a list of boolean names, currently supported by the loaded pol‐
       icy.

       security_set_boolean

       Sets the pending value for boolean

       security_get_boolean_pending

       Return pending value for boolean

       security_get_boolean_active

       Return active value for boolean

       security_commit_booleans

       Commit all pending values for the booleans.

AUTHOR
       This manual page was written by Dan Walsh <dwalsh@redhat.com>.

SEE ALSO
       selinux(8), getsebool(8), booleans(8), togglesebool(8)

dwalsh@redhat.com	       15 November 2004	 security_get_boolean_names(3)
[top]

List of man pages available for CentOS

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