apparmor: convert change_profile to use fqname later to give better control
authorJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 08:43:06 +0000 (00:43 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 16 Jan 2017 09:18:49 +0000 (01:18 -0800)
commitaa9a39ad8f60cc73e1bd2f18f0693bba6be8b067
treebc45548c142995e83d9bbe81147286e2216dac3d
parentc3e1e584ad3853b3f13ea4bd0aabd43e6c9b9fda
apparmor: convert change_profile to use fqname later to give better control

Moving the use of fqname to later allows learning profiles to be based
on the fqname request instead of just the hname. It also allows cleaning
up some of the name parsing and lookup by allowing the use of
the fqlookupn_profile() lib fn.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/apparmorfs.c
security/apparmor/domain.c
security/apparmor/include/domain.h
security/apparmor/lsm.c
security/apparmor/procattr.c