summarylogtreecommitdiffstats
path: root/0004-apparmor-fix-apparmor-mediating-locking-non-fs-unix-sockets.patch
diff options
context:
space:
mode:
authorAndrey Alekseev2020-10-19 18:51:25 +0400
committerAndrey Alekseev2020-10-19 18:51:25 +0400
commit2b8a05cfa18394cd0bc9949beb012d78081026e6 (patch)
tree196a20aa63853c4b952e4931e4d3252b78cbcb01 /0004-apparmor-fix-apparmor-mediating-locking-non-fs-unix-sockets.patch
parent1fda9faf92af300bae33881cc664cb2841d1b201 (diff)
downloadaur-2b8a05cfa18394cd0bc9949beb012d78081026e6.tar.gz
some fixes
Diffstat (limited to '0004-apparmor-fix-apparmor-mediating-locking-non-fs-unix-sockets.patch')
-rw-r--r--0004-apparmor-fix-apparmor-mediating-locking-non-fs-unix-sockets.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/0004-apparmor-fix-apparmor-mediating-locking-non-fs-unix-sockets.patch b/0004-apparmor-fix-apparmor-mediating-locking-non-fs-unix-sockets.patch
deleted file mode 100644
index 7713f53b32c0..000000000000
--- a/0004-apparmor-fix-apparmor-mediating-locking-non-fs-unix-sockets.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/security/apparmor/lib.c b/security/apparmor/lib.c
-index 30c246a9d4409f7ef90d5e67f2ec94e6d08c766d..ec24f864ef25c6acabd21d7c52b418128b0c5310 100644
---- a/security/apparmor/lib.c
-+++ b/security/apparmor/lib.c
-@@ -334,7 +334,7 @@ void aa_compute_perms(struct aa_dfa *dfa, unsigned int state,
- /* for v5 perm mapping in the policydb, the other set is used
- * to extend the general perm set
- */
-- perms->allow |= map_other(dfa_other_allow(dfa, state));
-+ perms->allow |= map_other(dfa_other_allow(dfa, state)) | AA_MAY_LOCK;
- perms->audit |= map_other(dfa_other_audit(dfa, state));
- perms->quiet |= map_other(dfa_other_quiet(dfa, state));
- // perms->xindex = dfa_user_xindex(dfa, state);