secpol_get_permission_flags_e

Flags for secpol_get_permission()

Synopsis:

#include <secpol/secpol.h>
enum secpol_get_permission_flags_e {
    SECPOL_PERM_STRICT = 1
};

Data:

SECPOL_PERM_STRICT
If set, secpol_get_permission() will fail and return NULL if there is no policy in use or the specified class or permission does not exist.

If not set, the permission will be allowed for root users when there is no policy and never allowed when there is a policy.

Library:

libsecpol