linux-stable/security/apparmor/include
John Johansen 545de8fe0f apparmor: fix parameters so that the permission test is bypassed at boot
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 we are at it move the more complicated check to last.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
2017-04-07 08:58:36 +10:00
..
apparmor.h apparmor: move lib definitions into separate lib include 2017-01-16 00:42:13 -08:00
apparmorfs.h apparmor: add per policy ns .load, .replace, .remove interface files 2017-01-16 01:18:44 -08:00
audit.h apparmor: change aad apparmor_audit_data macro to a fn macro 2017-01-16 01:18:47 -08:00
capability.h apparmor: fix capability to not use the current task, during reporting 2013-10-29 21:33:37 -07:00
context.h apparmor: rename context abreviation cxt to the more standard ctx 2017-01-16 01:18:45 -08:00
crypto.h apparmor: allow introspecting the loaded policy pre internal transform 2017-01-16 01:18:42 -08:00
domain.h apparmor: convert change_profile to use fqname later to give better control 2017-01-16 01:18:49 -08:00
file.h apparmor: change aad apparmor_audit_data macro to a fn macro 2017-01-16 01:18:47 -08:00
ipc.h apparmor: fix capability to not use the current task, during reporting 2013-10-29 21:33:37 -07:00
lib.h apparmor: fix parameters so that the permission test is bypassed at boot 2017-04-07 08:58:36 +10:00
match.h apparmor: fix restricted endian type warnings for dfa unpack 2017-01-16 01:18:54 -08:00
path.h apparmor: add per cpu work buffers to avoid allocating buffers at every hook 2017-01-16 01:18:53 -08:00
policy.h Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2017-02-21 12:49:56 -08:00
policy_ns.h apparmor: add special .null file used to "close" fds at exec 2017-01-16 01:18:35 -08:00
policy_unpack.h apparmor: audit policy ns specified in policy load 2017-01-16 01:18:43 -08:00
procattr.h apparmor: remove "permipc" command 2013-04-28 00:36:32 -07:00
resource.h AppArmor: export known rlimit names/value mappings in securityfs 2012-02-27 11:38:19 -08:00
secid.h apparmor: rename sid to secid 2017-01-16 00:42:17 -08:00