diff options
author | 2013-08-14 11:27:36 -0700 | |
---|---|---|
committer | 2013-08-14 11:42:08 -0700 | |
commit | f8eb8a1324e81927b2c64823b2fc38386efd3fef (patch) | |
tree | 78ef80523807aeb5b084b29f8b698601c71292b2 /security/apparmor/include/policy.h | |
parent | apparmor: export set of capabilities supported by the apparmor module (diff) | |
download | linux-f8eb8a1324e81927b2c64823b2fc38386efd3fef.tar.gz linux-f8eb8a1324e81927b2c64823b2fc38386efd3fef.tar.bz2 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/policy.h')
-rw-r--r-- | security/apparmor/include/policy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/include/policy.h b/security/apparmor/include/policy.h index 59b36372ae40..f2d4b6348cbc 100644 --- a/security/apparmor/include/policy.h +++ b/security/apparmor/include/policy.h @@ -219,6 +219,7 @@ struct aa_profile { struct aa_caps caps; struct aa_rlimit rlimits; + unsigned char *hash; char *dirname; struct dentry *dents[AAFS_PROF_SIZEOF]; }; |