1
Author: John Johansen <john.johansen@canonical.com>
3
Subject: add label class to the policydb
5
The label class is used to lookup object permissions based off of label
6
alone when the labeling is not path dependent.
8
Some rules will not generate label entries, some will generate only
9
label entries and some will generate both label and path entries.
10
This is left to the particular rule encoding.
12
Signed-off-by: John Johansen <john.johansen@canonical.com>
14
parser/policydb.h | 3 ++-
15
1 file changed, 2 insertions(+), 1 deletion(-)
17
--- 2.9-test.orig/parser/policydb.h
18
+++ 2.9-test/parser/policydb.h
20
#define AA_CLASS_NS_DOMAIN 8
21
#define AA_CLASS_PTRACE 9
23
-#define AA_CLASS_ENV 16
24
+#define AA_CLASS_LABEL 16
26
+/* defined in libapparmor's apparmor.h #define AA_CLASS_DBUS 32 */
29
#endif /* __AA_POLICYDB_H */
34
AppArmor@lists.ubuntu.com
35
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor