sdm660-common: sepolicy: Adress IORap usap_pool denial
W FinalizerDaemon: type=1400 audit(0.0:532): avc: denied { getopt } for path="/dev/socket/usap_pool_primary" scontext=u:rradios0 tcontext=u:r:zygote:s0 tclass=unix_stream_socket permissive=0 Signed-off-by: pix106 <sbordenave@gmail.com>
This commit is contained in:
parent
2e8cdba4e1
commit
b0841be519
5 changed files with 6 additions and 0 deletions
1
sepolicy/private/untrusted_app.te
Normal file
1
sepolicy/private/untrusted_app.te
Normal file
|
@ -0,0 +1 @@
|
||||||
|
allow untrusted_app zygote:unix_stream_socket { getopt };
|
2
sepolicy/vendor/platform_app.te
vendored
2
sepolicy/vendor/platform_app.te
vendored
|
@ -1 +1,3 @@
|
||||||
|
allow platform_app zygote:unix_stream_socket { getopt };
|
||||||
|
|
||||||
get_prop(platform_app, exported_camera_prop)
|
get_prop(platform_app, exported_camera_prop)
|
||||||
|
|
1
sepolicy/vendor/priv_app.te
vendored
1
sepolicy/vendor/priv_app.te
vendored
|
@ -1 +1,2 @@
|
||||||
allow priv_app sysfs_graphics:file { open read };
|
allow priv_app sysfs_graphics:file { open read };
|
||||||
|
allow priv_app zygote:unix_stream_socket { getopt };
|
||||||
|
|
1
sepolicy/vendor/system_app.te
vendored
1
sepolicy/vendor/system_app.te
vendored
|
@ -14,6 +14,7 @@ allow system_app sysfs_micgain:file rw_file_perms;
|
||||||
allow system_app sysfs_earpiecegain:file rw_file_perms;
|
allow system_app sysfs_earpiecegain:file rw_file_perms;
|
||||||
allow system_app sysfs_zram:dir search;
|
allow system_app sysfs_zram:dir search;
|
||||||
allow system_app sysfs_zram:file r_file_perms;
|
allow system_app sysfs_zram:file r_file_perms;
|
||||||
|
allow system_app zygote:unix_stream_socket { getopt };
|
||||||
|
|
||||||
get_prop(system_app, system_prop);
|
get_prop(system_app, system_prop);
|
||||||
set_prop(system_app, system_prop);
|
set_prop(system_app, system_prop);
|
||||||
|
|
1
sepolicy/vendor/timeservice_app.te
vendored
Normal file
1
sepolicy/vendor/timeservice_app.te
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
allow timeservice_app zygote:unix_stream_socket { getopt };
|
Loading…
Reference in a new issue