summaryrefslogtreecommitdiffstats
path: root/security/apparmor/Makefile
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2013-08-14 11:27:36 -0700
committerJohn Johansen <john.johansen@canonical.com>2013-08-14 11:42:08 -0700
commitf8eb8a1324e81927b2c64823b2fc38386efd3fef (patch)
tree78ef80523807aeb5b084b29f8b698601c71292b2 /security/apparmor/Makefile
parent84f1f787421cd83bb7dfb34d584586f6a5fe7baa (diff)
downloadop-kernel-dev-f8eb8a1324e81927b2c64823b2fc38386efd3fef.zip
op-kernel-dev-f8eb8a1324e81927b2c64823b2fc38386efd3fef.tar.gz
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/Makefile')
-rw-r--r--security/apparmor/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/Makefile b/security/apparmor/Makefile
index 0831e04..d693df8 100644
--- a/security/apparmor/Makefile
+++ b/security/apparmor/Makefile
@@ -5,6 +5,7 @@ obj-$(CONFIG_SECURITY_APPARMOR) += apparmor.o
apparmor-y := apparmorfs.o audit.o capability.o context.o ipc.o lib.o match.o \
path.o domain.o policy.o policy_unpack.o procattr.o lsm.o \
resource.o sid.o file.o
+apparmor-$(CONFIG_SECURITY_APPARMOR_HASH) += crypto.o
clean-files := capability_names.h rlim_names.h
OpenPOWER on IntegriCloud