summaryrefslogtreecommitdiffstats
path: root/security/apparmor/include/apparmorfs.h
diff options
context:
space:
mode:
authorJohn Johansen2013-08-14 20:27:36 +0200
committerJohn Johansen2013-08-14 20:42:08 +0200
commitf8eb8a1324e81927b2c64823b2fc38386efd3fef (patch)
tree78ef80523807aeb5b084b29f8b698601c71292b2 /security/apparmor/include/apparmorfs.h
parentapparmor: export set of capabilities supported by the apparmor module (diff)
downloadkernel-qcow2-linux-f8eb8a1324e81927b2c64823b2fc38386efd3fef.tar.gz
kernel-qcow2-linux-f8eb8a1324e81927b2c64823b2fc38386efd3fef.tar.xz
kernel-qcow2-linux-f8eb8a1324e81927b2c64823b2fc38386efd3fef.zip
apparmor: add the ability to report a sha1 hash of loaded policy
Provide userspace the ability to introspect a sha1 hash value for each profile currently loaded. Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Seth Arnold <seth.arnold@canonical.com>
Diffstat (limited to 'security/apparmor/include/apparmorfs.h')
-rw-r--r--security/apparmor/include/apparmorfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/include/apparmorfs.h b/security/apparmor/include/apparmorfs.h
index f91712cf1b30..414e56878dd0 100644
--- a/security/apparmor/include/apparmorfs.h
+++ b/security/apparmor/include/apparmorfs.h
@@ -82,6 +82,7 @@ enum aafs_prof_type {
AAFS_PROF_NAME,
AAFS_PROF_MODE,
AAFS_PROF_ATTACH,
+ AAFS_PROF_HASH,
AAFS_PROF_SIZEOF,
};