提交 180a6f59 编写于 作者: J John Johansen

apparmor: move perm defines into policy_unpack

Signed-off-by: NJohn Johansen <john.johansen@canonical.com>
Acked-by: NSteve Beattie <sbeattie@ubuntu.com>
上级 8e4ff109
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
#define DFA_NOMATCH 0 #define DFA_NOMATCH 0
#define DFA_START 1 #define DFA_START 1
#define DFA_VALID_PERM_MASK 0xffffffff
#define DFA_VALID_PERM2_MASK 0xffffffff
/** /**
* The format used for transition tables is based on the GNU flex table * The format used for transition tables is based on the GNU flex table
......
...@@ -290,6 +290,9 @@ static int unpack_strdup(struct aa_ext *e, char **string, const char *name) ...@@ -290,6 +290,9 @@ static int unpack_strdup(struct aa_ext *e, char **string, const char *name)
return res; return res;
} }
#define DFA_VALID_PERM_MASK 0xffffffff
#define DFA_VALID_PERM2_MASK 0xffffffff
/** /**
* verify_accept - verify the accept tables of a dfa * verify_accept - verify the accept tables of a dfa
* @dfa: dfa to verify accept tables of (NOT NULL) * @dfa: dfa to verify accept tables of (NOT NULL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册