]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
UBUNTU: SAUCE: apparmor: fix parameters so that the permission test is bypassed at...
authorJohn Johansen <john.johansen@canonical.com>
Fri, 31 Mar 2017 12:05:08 +0000 (05:05 -0700)
committerTim Gardner <tim.gardner@canonical.com>
Mon, 3 Apr 2017 14:14:28 +0000 (15:14 +0100)
commitae901f55ce207eecb5118752124e6faad3b52ddd
tree02c6619e7295a46ff23d7cce617e22c31c6ff1e9
parent28a992639146e15d18acf60f3161950c56c2f48b
UBUNTU: SAUCE: apparmor: fix parameters so that the permission test is bypassed at boot

Boot parameters are written before apparmor is ready to answer the
whether the user is policy_view_capable(). Setting the parameters at
boot results in an oops and failure to boot.

but if the user is in control of boot they obviously are

BugLink: http://bugs.launchpad.net/bugs/1678048
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
security/apparmor/include/lib.h
security/apparmor/lsm.c