This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
forked from LineageOS/android_device_sony_huashan
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sepolicy: Clean sepolicies rules defined in qcom/sepolicy-legacy
* Also perform minor codestyle improvements Change-Id: I264c3979d9a4fb97b6950ef299648b921de9f319
- Loading branch information
Showing
36 changed files
with
12 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
#============= audioserver ============== | ||
allow audioserver debugfs_asoc:dir { open read search }; | ||
allow audioserver hal_power_hwservice:hwservice_manager find; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
# /dev/block partitions | ||
type bootloader_block_device, dev_type; | ||
type ltalabel_block_device, dev_type; | ||
type modem_block_device, dev_type; | ||
type trim_area_partition_device, dev_type; | ||
|
||
# /dev devices | ||
type diag_device, dev_type; | ||
type fm_device, dev_type; | ||
type qmuxd_socket, dev_type; | ||
type shared_log_device, dev_type; | ||
type smd_device, dev_type; | ||
type wlan_device, dev_type; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,23 @@ | ||
#============= init ============== | ||
allow init camera_data_file:file getattr; | ||
allow init fm_device:chr_file write; | ||
allow init proc_filesystems:file getattr; | ||
allow init sysfs_batteryinfo:file { open setattr write }; | ||
allow init sysfs_block_iosched:file write; | ||
allow init sysfs_bluetooth_control:file setattr; | ||
allow init sysfs_camera_torch:file setattr; | ||
allow init sysfs_cpu_boost:file { open setattr write }; | ||
allow init sysfs_devices_system_cpu:file write; | ||
allow init sysfs_disk_polling:file { setattr write }; | ||
allow init sysfs_fm_dl:file setattr; | ||
allow init sysfs_fm:file setattr; | ||
allow init sysfs_glove_mode:file { open setattr write }; | ||
allow init sysfs_leds:file setattr; | ||
allow init sysfs_memory_ksm:file { open write }; | ||
allow init sysfs_mhl:file setattr; | ||
allow init sysfs_power_control:file { open write }; | ||
allow init sysfs_proximity_sensor:file setattr; | ||
allow init sysfs_sensors:file setattr; | ||
allow init sysfs_surfaceflinger:file setattr; | ||
allow init sysfs_graphics:file setattr; | ||
allow init sysfs_thermal:file { open setattr write }; | ||
allow init sysfs_thermal_control:file { open write }; | ||
allow init sysfs_usb:file write; | ||
allow init sysfs_wcnss_ssr:file { open setattr write }; | ||
allow init sysfs_wlan_fwpath:file setattr; | ||
allow init tmpfs:lnk_file create; | ||
allow init wlan_device:chr_file write; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,3 @@ | ||
type netmgrd, domain; | ||
type netmgrd_exec, exec_type, file_type; | ||
|
||
init_daemon_domain(netmgrd) | ||
|
||
qmux_socket(netmgrd) | ||
|
||
set_prop(netmgrd, net_radio_prop) | ||
|
||
wakelock_use(netmgrd) | ||
|
||
#============= netmgrd ============== | ||
allow netmgrd diag_device:chr_file rw_file_perms; | ||
allow netmgrd netmgrd:capability { fsetid net_admin net_raw setgid setpcap setuid sys_module }; | ||
allow netmgrd netmgrd:netlink_route_socket { create_socket_perms_no_ioctl nlmsg_read nlmsg_write }; | ||
allow netmgrd netmgrd:netlink_socket create_socket_perms_no_ioctl; | ||
allow netmgrd proc_net:file w_file_perms; | ||
allow netmgrd self:udp_socket create_socket_perms; | ||
allow netmgrd shell_exec:file rx_file_perms; | ||
allow netmgrd system_file:file x_file_perms; | ||
allow netmgrd toolbox_exec:file rx_file_perms; | ||
allowxperm netmgrd self:udp_socket ioctl priv_sock_ioctls; | ||
r_dir_file(netmgrd, net_data_file) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
#============= platform_app ============== | ||
allow platform_app nfc_service:service_manager find; | ||
allow platform_app sysfs_thermal:file { getattr open read }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
# property service keys | ||
type camera_prop, property_type; | ||
type fm_prop, property_type; | ||
type updatemiscta_prop, property_type; | ||
type vendor_bluetooth_prop, property_type; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
# property service keys | ||
camera.0. u:object_r:camera_prop:s0 | ||
camera.1. u:object_r:camera_prop:s0 | ||
hw.fm. u:object_r:fm_prop:s0 | ||
persist.tareset.notfirstboot u:object_r:updatemiscta_prop:s0 | ||
vendor.bluetooth. u:object_r:bluetooth_prop:s0 | ||
vendor.wc_transport. u:object_r:vendor_bluetooth_prop:s0 |
Oops, something went wrong.