semanage_bool_set_active
update an existing SELinux boolean in the currently active policy
- Provided by: libsemanage-dev (Version: 3.3-1build2)
- Source: libsemanage
- Report a bug
update an existing SELinux boolean in the currently active policy
#include <semanage/booleans_active.h>
extern int semanage_bool_set_active (
semanage_handle_t *handle,
const semanage_bool_key_t *key,
const semanage_bool_t *data);
In case of failure, -1 is returned, and the semanage error callback is invoked, describing the error. Otherwise 0 is returned.
semanage_handle_create(3), semanage_begin_transaction(3), semanage_connect(3), semanage_commit(3).