SYNOPSIS
#include <semanage/boolean_record.h>#include <semanage/booleans_active.h>
#include <semanage/booleans_policy.h>
#include <semanage/booleans_local.h>
This object contains properties associated with a SELinux policy boolean
For details on a specific function, see its manual page.
Record API Overview
- semanage_bool_create(3)-
-
- create a boolean
- create a boolean
- semanage_bool_free(3)-
-
- release resources for this boolean
- release resources for this boolean
- semanage_bool_key_create(3)-
-
- create a key, which can be used to identify a boolean
- create a key, which can be used to identify a boolean
- semanage_bool_key_free(3)-
-
- release resources for this boolean key
- release resources for this boolean key
- semanage_bool_key_extract(3)-
-
- create a key matching this boolean
- create a key matching this boolean
- semanage_bool_clone(3)-
-
- create an identical boolean (deep-copy clone)
- create an identical boolean (deep-copy clone)
- semanage_bool_compare(3)-
-
- compare this boolean to the provided key
- compare this boolean to the provided key
- semanage_bool_compare2(3)-
-
- compare this boolean to another
- compare this boolean to another
Properties API Overview
- semanage_bool_get_name(3)-
-
- return the name of this boolean
- return the name of this boolean
- semanage_bool_set_name(3)-
-
- set the name of this boolean
- set the name of this boolean
- semanage_bool_get_value(3)-
-
- return the value of this boolean
- return the value of this boolean
- semanage_bool_set_value(3)-
-
- set the value of this boolean
- set the value of this boolean
Record Store API Overview
- semanage_bool_modify_local(3)-
-
- add or update a boolean in the local store
- add or update a boolean in the local store
- semanage_bool_set_active(3)-
-
- update a boolean in the currently active policy
- update a boolean in the currently active policy
- semanage_bool_del_local(3)-
-
- delete a boolean from the local store
- delete a boolean from the local store
- semanage_bool_exists(3)-
-
- check if a boolean is defined in the persistent policy
- check if a boolean is defined in the persistent policy
- semanage_bool_exists_local(3)-
-
- check if a boolean is defined in the local store
- check if a boolean is defined in the local store
- semanage_bool_exists_active(3)-
-
- check if a boolean is defined in the currently active policy
- check if a boolean is defined in the currently active policy
- semanage_bool_query(3)-
-
- query a boolean in the persistent policy
- query a boolean in the persistent policy
- semanage_bool_query_local(3)-
-
- query a boolean in the local store
- query a boolean in the local store
- semanage_bool_query_active(3)-
-
- query a boolean in the currently active policy
- query a boolean in the currently active policy
- semanage_bool_count(3)-
-
- count the number of booleans defined in the persistent policy
- count the number of booleans defined in the persistent policy
- semanage_bool_count_local(3)-
-
- count the number of booleans defined in the local store
- count the number of booleans defined in the local store
- semanage_bool_count_active(3)-
-
- count the number of booleans defined in the currently active policy
- count the number of booleans defined in the currently active policy
- semanage_bool_iterate(3)-
-
- execute a callback for each boolean in the persistent policy
- execute a callback for each boolean in the persistent policy
- semanage_bool_iterate_local(3)-
-
- execute a callback for each boolean in the local store
- execute a callback for each boolean in the local store
- semanage_bool_iterate_active(3)-
-
- execute a callback for each boolean in the currently active policy
- execute a callback for each boolean in the currently active policy
- semanage_bool_list(3)-
-
- return an array containing all booleans in the persistent policy
- return an array containing all booleans in the persistent policy
- semanage_bool_list_local(3)-
-
- return an array containing all booleans in the local store
- return an array containing all booleans in the local store
- semanage_bool_list_active(3)-
-
- return an array containing all booleans in the currently active policy
- return an array containing all booleans in the currently active policy