summaryrefslogtreecommitdiffstats
path: root/security/apparmor/policy_unpack.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2013-02-18 16:09:34 -0800
committerJohn Johansen <john.johansen@canonical.com>2013-04-28 00:37:04 -0700
commit180a6f5965a49535a7704c07691a6d1209904971 (patch)
tree4b42a5409ff148e338c9eb77e66ede55b8bbf633 /security/apparmor/policy_unpack.c
parent8e4ff109d0d2194d98e9e16325bb4102f6463b43 (diff)
downloadop-kernel-dev-180a6f5965a49535a7704c07691a6d1209904971.zip
op-kernel-dev-180a6f5965a49535a7704c07691a6d1209904971.tar.gz
apparmor: move perm defines into policy_unpack
Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Steve Beattie <sbeattie@ubuntu.com>
Diffstat (limited to 'security/apparmor/policy_unpack.c')
-rw-r--r--security/apparmor/policy_unpack.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/apparmor/policy_unpack.c b/security/apparmor/policy_unpack.c
index 329b1fd..ca48a7d8 100644
--- a/security/apparmor/policy_unpack.c
+++ b/security/apparmor/policy_unpack.c
@@ -290,6 +290,9 @@ static int unpack_strdup(struct aa_ext *e, char **string, const char *name)
return res;
}
+#define DFA_VALID_PERM_MASK 0xffffffff
+#define DFA_VALID_PERM2_MASK 0xffffffff
+
/**
* verify_accept - verify the accept tables of a dfa
* @dfa: dfa to verify accept tables of (NOT NULL)
OpenPOWER on IntegriCloud