diff options
author | Aayush Gupta <aayushgupta219@gmail.com> | 2020-10-20 13:23:41 +0530 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2021-10-19 15:09:38 +0200 |
commit | a49c51f15a38d27f2bf027329cc0d73e33214427 (patch) | |
tree | 797703a06b8392d2e74172a82e259e78bcf944d2 /sepolicy/init.te | |
parent | e4be22980b5ff9d8405e5bd659c8f91ed8bef4d8 (diff) |
msm8996-common: Address init denials regarding socket_device
[ 9.346918] type=1400 audit(71454275.960:7): avc: denied { create } for comm="init" name="dpmwrapper" scontext=u:r:init:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=0
Ref:
[0]: https://source.codeaurora.org/quic/la/device/qcom/sepolicy/commit/?h=LA.UM.9.2.1.r1-03800-sdm660.0&id=79488292273efa5ab89bc405a5f6ae4dec5d011d
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I262b06821c0625978b3685d0666bd2cf599fbf98
Diffstat (limited to 'sepolicy/init.te')
-rw-r--r-- | sepolicy/init.te | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sepolicy/init.te b/sepolicy/init.te index 68dd5a7..ef5a03f 100644 --- a/sepolicy/init.te +++ b/sepolicy/init.te @@ -4,3 +4,4 @@ allow init sysfs_fingerprint:file { open read setattr write }; allow init hidl_base_hwservice:hwservice_manager add; allow init sysfs_graphics:lnk_file read; allow init adsprpcd_file:filesystem { mount relabelfrom relabelto }; +allow init socket_device:sock_file { unlink setattr create }; |