apparmor: support querying extended trusted helper extra data
authorWilliam Hua <william.hua@canonical.com>
Mon, 16 Jan 2017 00:49:28 +0000 (16:49 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 09:18:51 +0000 (01:18 -0800)
commite025be0f26d5597b0a2bdfa65145a0171e77b614
tree0f9300ae3893d6af776466d12fe22a739d01d75d
parent12eb87d50bfe234c3f964e9fb47bbd0135010c13
apparmor: support querying extended trusted helper extra data

Allow a profile to carry extra data that can be queried via userspace.
This provides a means to store extra data in a profile that a trusted
helper can extract and use from live policy.

Signed-off-by: William Hua <william.hua@canonical.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/apparmorfs.c
security/apparmor/include/policy.h
security/apparmor/lsm.c
security/apparmor/policy.c
security/apparmor/policy_unpack.c