sm7250-common: sepolicy: Address getopt denials

This commit is contained in:
Joey Huab 2022-02-14 04:00:52 +09:00 committed by mikairyuu
parent e66bcdbc0c
commit 46bde50f28
3 changed files with 5 additions and 0 deletions

1
sepolicy/vendor/priv_app.te vendored Normal file
View File

@ -0,0 +1 @@
allow priv_app zygote:unix_stream_socket getopt;

View File

@ -4,3 +4,6 @@ allow system_app vendor_sysfs_battery_supply:file { open };
allow system_app vendor_sysfs_battery_supply:file { getattr };
r_dir_file(system_app, vendor_sysfs_battery_supply)
allow system_app zygote:unix_stream_socket getopt;
allow system_app proc_pagetypeinfo:file r_file_perms;

1
sepolicy/vendor/untrusted_app.te vendored Normal file
View File

@ -0,0 +1 @@
allow untrusted_app zygote:unix_stream_socket getopt;