]> git.pld-linux.org Git - packages/kernel.git/blobdiff - kernel-apparmor.patch
- fetch 4.12
[packages/kernel.git] / kernel-apparmor.patch
index ff789d3bceb034681f2af6a1d4cddfd99a488bd6..539e655ae1d15a12908054b0a063d5f190867f5f 100644 (file)
@@ -326,7 +326,7 @@ index 709eacd23909..e3017129a404 100644
 +      return aa_revalidate_sk(OP_SHUTDOWN, sk);
 +}
 +
- static struct security_hook_list apparmor_hooks[] = {
+ static struct security_hook_list apparmor_hooks[] __lsm_ro_after_init = {
        LSM_HOOK_INIT(ptrace_access_check, apparmor_ptrace_access_check),
        LSM_HOOK_INIT(ptrace_traceme, apparmor_ptrace_traceme),
 @@ -616,6 +715,19 @@ static struct security_hook_list apparmor_hooks[] = {
This page took 0.042332 seconds and 4 git commands to generate.