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>
This commit is contained in:
William Hua 2017-01-15 16:49:28 -08:00 • committed by John Johansen
commit e025be0f26
5 changed files with 245 additions and 0 deletions