summaryrefslogtreecommitdiff
path: root/include/uapi/linux/xattr.h
diff options
context:
space:
mode:
authorMatthew Garrett <mjg59@google.com>2017-10-14 01:09:25 +0300
committerMimi Zohar <zohar@linux.vnet.ibm.com>2017-11-08 23:16:36 +0300
commit096b85464832d2a7bd7bd6d4db2fafed2ab77244 (patch)
treef32705b9f405782125b07c597924e7b3f4d58ad2 /include/uapi/linux/xattr.h
parentbb02b186d02f90f693bc573c392df843b024f4ef (diff)
downloadlinux-096b85464832d2a7bd7bd6d4db2fafed2ab77244.tar.xz
EVM: Include security.apparmor in EVM measurements
Apparmor will be gaining support for security.apparmor labels, and it would be helpful to include these in EVM validation now so appropriate signatures can be generated even before full support is merged. Signed-off-by: Matthew Garrett <mjg59@google.com> Acked-by: John Johansen <John.johansen@canonical.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
Diffstat (limited to 'include/uapi/linux/xattr.h')
-rw-r--r--include/uapi/linux/xattr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/xattr.h b/include/uapi/linux/xattr.h
index 1590c49cae57..e630b9cd70cb 100644
--- a/include/uapi/linux/xattr.h
+++ b/include/uapi/linux/xattr.h
@@ -65,6 +65,9 @@
#define XATTR_NAME_SMACKTRANSMUTE XATTR_SECURITY_PREFIX XATTR_SMACK_TRANSMUTE
#define XATTR_NAME_SMACKMMAP XATTR_SECURITY_PREFIX XATTR_SMACK_MMAP
+#define XATTR_APPARMOR_SUFFIX "apparmor"
+#define XATTR_NAME_APPARMOR XATTR_SECURITY_PREFIX XATTR_APPARMOR_SUFFIX
+
#define XATTR_CAPS_SUFFIX "capability"
#define XATTR_NAME_CAPS XATTR_SECURITY_PREFIX XATTR_CAPS_SUFFIX