[PATCH 5/6] apparmor: fix parameters so that the permission test is bypassed at boot

2017-04-06 Thread John Johansen
Boot parameters are written before apparmor is ready to answer whether the user is policy_view_capable(). Setting the parameters at boot results in an oops and failure to boot. Setting the parameters at boot is obviously allowed so skip the permission check when apparmor is not initialized. While

[PATCH 5/6] apparmor: fix parameters so that the permission test is bypassed at boot

2017-04-06 Thread John Johansen
Boot parameters are written before apparmor is ready to answer whether the user is policy_view_capable(). Setting the parameters at boot results in an oops and failure to boot. Setting the parameters at boot is obviously allowed so skip the permission check when apparmor is not initialized. While