OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13918f2
)
Revert "SElinux: Adjust the selinux policy to allow access to the root directory"
author
sbwml
<984419930@qq.com>
Wed, 20 Nov 2019 18:34:35 +0000
(
02:34
+0800)
committer
sbwml
<984419930@qq.com>
Wed, 20 Nov 2019 18:34:35 +0000
(
02:34
+0800)
This reverts commit
c1f56aefc62b8322f6280fdb03e347f5bee17241
.
security/selinux/avc.c
patch
|
blob
|
history
diff --git
a/security/selinux/avc.c
b/security/selinux/avc.c
index
ff7c393
..
52f3c55
100644
(file)
--- a/
security/selinux/avc.c
+++ b/
security/selinux/avc.c
@@
-985,6
+985,7
@@
static noinline int avc_denied(u32 ssid, u32 tsid,
return -EACCES;
if (selinux_enforcing && !(avd->flags & AVD_FLAGS_PERMISSIVE))
+ return -EACCES;
avc_update_node(AVC_CALLBACK_GRANT, requested, driver, xperm, ssid,
tsid, tclass, avd->seqno, NULL, flags);