universal7885: Go back track slsi sepolicy

- Also cleanup rebundant rules, duplicate rules
This commit is contained in:
roynatech2544 2023-11-26 16:21:24 +09:00
commit e732699c27
No known key found for this signature in database
GPG key ID: 389DAC92CAECBBCC
77 changed files with 131 additions and 1402 deletions

View file

@ -1,7 +1,3 @@
# file_contexts
### DATA
/data/zram(/.*)? u:object_r:zram_data_file:s0
# FMRadio
/system/bin/vendor\.eureka\.hardware\.fmradio-service u:object_r:hal_fmradio_default_exec:s0

View file

@ -9,7 +9,6 @@ binder_use(hal_fmradio_default);
allow hal_fmradio_default sysfs_fmradio_tune:file rw_file_perms;
allow hal_fmradio_default sysfs_fmradio_tune:dir search;
allow hal_fmradio_default sysfs_virtual:dir search;
allow hal_fmradio_default fm_radio_device:chr_file { read write open ioctl };
allow hal_fmradio_default hal_audio_route_service:service_manager find;

View file

@ -1,3 +1,2 @@
allow hal_samsung_battery_default { sysfs_battery sysfs_battery_writable }:dir search;
allow hal_samsung_battery_default sysfs_battery_writable:file rw_file_perms;
allow hal_samsung_battery_default sysfs_battery:file r_file_perms;
r_file_recursive(hal_samsung_battery_default, sysfs_battery)
rw_file_recursive(hal_samsung_battery_default, sysfs_battery_writable)

View file

@ -1,3 +1,2 @@
allow hal_samsung_camera_flashlight_default sysfs_flashlight:file rw_file_perms;
allow hal_samsung_camera_flashlight_default sysfs_flashlight:dir search;
allow hal_samsung_camera_flashlight_default sysfs_virtual:dir search;
allow hal_samsung_camera_flashlight_default sysfs_camera:file rw_file_perms;
allow hal_samsung_camera_flashlight_default sysfs_camera:dir search;

View file

@ -1,33 +0,0 @@
### BLUETOOTH
sys.bluetooth.tty u:object_r:exported_bluetooth_prop:s0
### BUILD
#ro.build.PDA u:object_r:exported2_default_prop:s0
### CAMERA
system.camera.CC. u:object_r:exported_camera_prop:s0
service.camera. u:object_r:exported_camera_prop:s0
sys.cameramode. u:object_r:exported_camera_prop:s0
ro.camera.req.fmq.size u:object_r:exported_camera_prop:s0
ro.camera.res.fmq.size u:object_r:exported_camera_prop:s0
### GFX
#ro.gfx.driver.1 u:object_r:exported3_default_prop:s0 exact string
### MDC
mdc. u:object_r:exported_config_prop:s0
### OMC
persist.sys.omc_support u:object_r:exported_config_prop:s0
persist.sys.omc_etcpath u:object_r:exported_config_prop:s0
ro.omc. u:object_r:exported_config_prop:s0
ro.csc. u:object_r:exported_config_prop:s0
### RADIO
ril.NwNmId u:object_r:telephony_config_prop:s0
ril.NwNmId2 u:object_r:telephony_config_prop:s0
ro.boot.cpboot u:object_r:telephony_config_prop:s0
ro.simbased.changetype u:object_r:exported_config_prop:s0
### RFKILL
ro.rfkilldisabled u:object_r:rfkilldisabled_prop:s0