~apparmor-dev/apparmor/aa-2.8.95

« back to all changes in this revision

Viewing changes to debian/patches/label-class.patch

  • Committer: Seth Arnold
  • Date: 2014-03-20 03:36:23 UTC
  • Revision ID: seth.arnold@canonical.com-20140320033623-2yv826tzeqqfo1s4
Modified patches to remove numbers, they complicated quilt handling too
much.

  - add-chromium-browser.patch
  - add-debian-integration-to-lighttpd.patch
  - ubuntu-manpage-updates.patch
  - libapparmor-layout-deb.patch
  - libapparmor-mention-dbus-method-in-getcon-man.patch
  - etc-writable.patch
  - aa-utils_are_bilingual.patch
  - convert-to-rules.patch
  - list-fns.patch
  - parse-mode.patch
  - add-decimal-interp.patch
  - policy_mediates.patch
  - fix-failpath.patch
  - feature_file.patch
  - fix-network.patch
  - aare-to-class.patch
  - add-mediation-unix.patch
  - parser_version.patch
  - caching.patch
  - label-class.patch
  - fix-lexer-debug.patch
  - use-diff-encode.patch
  - fix-serialize.patch
  - fix-ppc-endian-ftbfs.patch
  - opt_arg.patch
  - tests-cond-dbus.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Author: John Johansen <john.johansen@canonical.com>
 
2
Forwarded: Yes
 
3
Subject: add label class to the policydb
 
4
 
 
5
The label class is used to lookup object permissions based off of label
 
6
alone when the labeling is not path dependent.
 
7
 
 
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.
 
11
 
 
12
Signed-off-by: John Johansen <john.johansen@canonical.com>
 
13
---
 
14
 parser/policydb.h |    3 ++-
 
15
 1 file changed, 2 insertions(+), 1 deletion(-)
 
16
 
 
17
--- 2.9-test.orig/parser/policydb.h
 
18
+++ 2.9-test/parser/policydb.h
 
19
@@ -32,8 +32,9 @@
 
20
 #define AA_CLASS_NS_DOMAIN     8
 
21
 #define AA_CLASS_PTRACE                9
 
22
 
 
23
-#define AA_CLASS_ENV           16
 
24
+#define AA_CLASS_LABEL         16
 
25
 
 
26
+/* defined in libapparmor's apparmor.h #define AA_CLASS_DBUS 32 */
 
27
 #define AA_CLASS_X             33
 
28
 
 
29
 #endif /* __AA_POLICYDB_H */
 
30
 
 
31
 
 
32
-- 
 
33
AppArmor mailing list
 
34
AppArmor@lists.ubuntu.com
 
35
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
 
36