android_kernel_samsung_a7y1.../security/apparmor
John Johansen 98e984f0da apparmor: fix module parameters can be changed after policy is locked
commit 58acf9d911c8831156634a44d0b022d683e1e50c upstream.

the policy_lock parameter is a one way switch that prevents policy
from being further modified. Unfortunately some of the module parameters
can effectively modify policy by turning off enforcement.

split policy_admin_capable into a view check and a full admin check,
and update the admin check to test the policy_lock parameter.

Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 12:31:21 +02:00
..
include apparmor: fix module parameters can be changed after policy is locked 2020-04-07 12:31:21 +02:00
apparmorfs.c apparmor: fix update the mtime of the profile file on replacement 2020-04-07 12:31:19 +02:00
audit.c apparmor: fix uninitialized lsm_audit member 2020-04-07 12:31:17 +02:00
capability.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
context.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
crypto.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
domain.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
file.c apparmor: fix uninitialized lsm_audit member 2020-04-07 12:31:17 +02:00
ipc.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lib.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
lsm.c apparmor: fix module parameters can be changed after policy is locked 2020-04-07 12:31:21 +02:00
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
match.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
path.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
policy_unpack.c apparmor: enforce nullbyte at end of tag string 2020-04-06 19:16:20 +02:00
policy.c apparmor: fix module parameters can be changed after policy is locked 2020-04-07 12:31:21 +02:00
procattr.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
resource.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sid.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30