]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf2696341f39ca87e65c4fde2650dbc841205a217
treebc45548c142995e83d9bbe81147286e2216dac3d
parent89d6fcb50fac0f0861dd6b50294128f32c56fc4e
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