mirror of
https://github.com/SELinuxProject/setools
synced 2025-03-23 11:36:30 +00:00
remove QPOL_POLICY_OPTION_MATCH_SYSTEM defines
This commit is contained in:
parent
495a7973d8
commit
ac1550cc20
@ -85,14 +85,6 @@ extern "C"
|
||||
*/
|
||||
#define QPOL_POLICY_OPTION_NO_RULES 0x00000002
|
||||
|
||||
/**
|
||||
* When loading the policy, attempt to interpret it as the way the
|
||||
* running system would. If the policy is of a version higher than
|
||||
* one supported by the system, then the policy will be downgraded to
|
||||
* the system's maximum value.
|
||||
*/
|
||||
#define QPOL_POLICY_OPTION_MATCH_SYSTEM 0x00000004
|
||||
|
||||
/**
|
||||
* List of capabilities a policy may have. This list represents
|
||||
* features of policy that may differ from version to version or
|
||||
|
@ -161,7 +161,6 @@ def qpol_policy_factory(path):
|
||||
/* qpol_policy */
|
||||
#define QPOL_POLICY_OPTION_NO_NEVERALLOWS 0x00000001
|
||||
#define QPOL_POLICY_OPTION_NO_RULES 0x00000002
|
||||
#define QPOL_POLICY_OPTION_MATCH_SYSTEM 0x00000004
|
||||
/* add maximum and minimum policy versions supported by the statically linked libsepol */
|
||||
%constant int QPOL_POLICY_MAX_VERSION = POLICYDB_VERSION_MAX;
|
||||
%constant int QPOL_POLICY_MIN_VERSION = POLICYDB_VERSION_MIN;
|
||||
|
Loading…
Reference in New Issue
Block a user