mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 20:15:32 -04:00
universal7885: sepolicy: Adapt for universal7885 and address denials
* Everything's working fine now * todo: Cleanup unnecessary rules and vendor init Change-Id: I4faea56383b5851bbd486f45d103e0bb94ebdd24 Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
This commit is contained in:
parent
1db34af1a0
commit
1875a501a1
42 changed files with 242 additions and 111 deletions
5
sepolicy/vendor/init.te
vendored
5
sepolicy/vendor/init.te
vendored
|
|
@ -26,12 +26,9 @@ allow init sysfs_lcd:file setattr;
|
|||
allow init sysfs_mdnie:file setattr;
|
||||
allow init sysfs_modem:file w_file_perms;
|
||||
allow init sysfs_battery_writable:file setattr;
|
||||
allow init sysfs_mmc_host_writable:file setattr;
|
||||
allow init sysfs_scsi_host_writable:file setattr;
|
||||
allow init sysfs_power_writable:file setattr;
|
||||
allow init sysfs_bt_writable:file setattr;
|
||||
allow init sysfs_graphics:file create_file_perms;
|
||||
allow init sysfs_touchscreen_writable:file setattr;
|
||||
|
||||
allow init system_server:binder { transfer call };
|
||||
allow init device:chr_file ioctl;
|
||||
|
|
@ -48,5 +45,7 @@ allow init proc_swapiness:file write;
|
|||
allow init proc_extra:file setattr;
|
||||
allow init proc_reset_reason:file setattr;
|
||||
allow init proc_swapiness:file open;
|
||||
allow init self:netlink_generic_socket { bind create getattr read setopt write };
|
||||
allow init mnt_vendor_file:dir mounton;
|
||||
|
||||
unix_socket_connect(init, property, rild)
|
||||
|
|
|
|||
Loading…
Reference in a new issue