summaryrefslogtreecommitdiffstats
path: root/security/apparmor/include/apparmor.h
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2017-06-09 14:22:14 -0700
committerJohn Johansen <john.johansen@canonical.com>2017-06-10 17:11:41 -0700
commitb2d09ae449cedc6f276ac485c013d22a97d36992 (patch)
tree3984bf515f092325a3baad20d50a3814daff9f5a /security/apparmor/include/apparmor.h
parentca916e8e2d88e97134a313eb3100ce9c3d8fd3f2 (diff)
downloadlinux-b2d09ae449cedc6f276ac485c013d22a97d36992.tar.gz
linux-b2d09ae449cedc6f276ac485c013d22a97d36992.tar.bz2
linux-b2d09ae449cedc6f276ac485c013d22a97d36992.zip
apparmor: move ptrace checks to using labels
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/apparmor.h')
-rw-r--r--security/apparmor/include/apparmor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/include/apparmor.h b/security/apparmor/include/apparmor.h
index c4a900488e76..aaf893f4e4f5 100644
--- a/security/apparmor/include/apparmor.h
+++ b/security/apparmor/include/apparmor.h
@@ -27,6 +27,7 @@
#define AA_CLASS_NET 4
#define AA_CLASS_RLIMITS 5
#define AA_CLASS_DOMAIN 6
+#define AA_CLASS_PTRACE 9
#define AA_CLASS_LABEL 16
#define AA_CLASS_LAST AA_CLASS_LABEL