security_get_boolean_names - Online Linux Manual PageSection : 3
Updated : 15 November 2004
Source : dwalsh@redhat.com
Note : SELinux API Documentation
NAMEsecurity_set_boolean, security_commit_booleans, security_get_boolean_names, security_get_boolean_active, security_get_boolean_pending − routines for manipulating SELinux boolean values
SYNOPSIS#include <selinux/selinux.h> int security_get_boolean_names(char ***names, int *len); int security_get_boolean_pending(const char *name); int security_get_boolean_active(const char *name); int security_set_boolean(const char *name, int value); int security_set_boolean_list(size_t boolcnt, SELboolean *boollist, int permanent); int security_commit_booleans(void);
DESCRIPTIONThe 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 then commit them all at once. security_get_boolean_names() provides a list of boolean names, currently supported by the loaded policy. security_get_boolean_pending() returns the pending value for boolean or −1 on failure. security_get_boolean_active() returns the active value for boolean or −1 on failure. security_set_boolean() sets the pending value for boolean security_set_boolean_list() saves a list of booleans in a single transaction. Note that the int permanent flag is deprecated and should be set to zero. security_commit_booleans() commits all pending values for the booleans.
RETURN VALUEWhere not otherwise stated, functions described in this manual page return zero on success or −1 on error.
AUTHORThis manual page was written by Dan Walsh <dwalsh@redhat.com>.
SEE ALSOselinux(8), getsebool(8), booleans(8), togglesebool(8) 0
Johanes Gumabo
Data Size : 6,343 byte
man-security_get_boolean_active.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 236,118
Visitor ID : :
Visitor IP : 3.144.242.149 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.