summaryrefslogtreecommitdiffstats
path: root/security/apparmor/include/match.h
diff options
context:
space:
mode:
authorJohn Johansen2016-06-02 11:37:02 +0200
committerJohn Johansen2016-07-12 17:43:10 +0200
commit15756178c6a65b261a080e21af4766f59cafc112 (patch)
tree98fabd29ae0f62c2f3b99ae0e57ba5d253e4bf82 /security/apparmor/include/match.h
parentapparmor: allow SYS_CAP_RESOURCE to be sufficient to prlimit another task (diff)
downloadkernel-qcow2-linux-15756178c6a65b261a080e21af4766f59cafc112.tar.gz
kernel-qcow2-linux-15756178c6a65b261a080e21af4766f59cafc112.tar.xz
kernel-qcow2-linux-15756178c6a65b261a080e21af4766f59cafc112.zip
apparmor: add missing id bounds check on dfa verification
Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/include/match.h')
-rw-r--r--security/apparmor/include/match.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/include/match.h b/security/apparmor/include/match.h
index 001c43aa0406..a1c04fe86790 100644
--- a/security/apparmor/include/match.h
+++ b/security/apparmor/include/match.h
@@ -62,6 +62,7 @@ struct table_set_header {
#define YYTD_ID_ACCEPT2 6
#define YYTD_ID_NXT 7
#define YYTD_ID_TSIZE 8
+#define YYTD_ID_MAX 8
#define YYTD_DATA8 1
#define YYTD_DATA16 2