John Johansen
637f688dc3
apparmor: switch from profiles to using labels on contexts
...
Begin the actual switch to using domain labels by storing them on
the context and converting the label to a singular profile where
possible.
Signed-off-by: John Johansen <john.johansen@canonical.com>
2017-06-10 17:11:38 -07:00
John Johansen
2d679f3cb0
apparmor: switch from file_perms to aa_perms
...
Signed-off-by: John Johansen <john.johansen@canonical.com>
2017-06-10 17:11:30 -07:00
John Johansen
aa9aeea8d4
apparmor: add gerneric permissions struct and support fns
...
Signed-off-by: John Johansen <john.johansen@canonical.com>
2017-06-10 17:11:30 -07:00
John Johansen
e53cfe6c7c
apparmor: rework perm mapping to a slightly broader set
...
Signed-off-by: John Johansen <john.johansen@canonical.com>
2017-06-09 05:59:22 -07:00
John Johansen
fc7e0b26b8
apparmor: move permissions into their own file to be more easily shared
...
Signed-off-by: John Johansen <john.johansen@canonical.com>
2017-06-08 12:51:53 -07:00