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.
WIP: sepolicy: Workaround for Android 11 support
Change-Id: Ie71efafebea2b9e428bc77285818ac255daac994
- Loading branch information
Showing
20 changed files
with
61 additions
and
181 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 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,119 +0,0 @@ | ||
get_prop(flags_health_check, alarm_boot_prop) | ||
get_prop(flags_health_check, alarm_handled_prop) | ||
get_prop(flags_health_check, alarm_instance_prop) | ||
get_prop(flags_health_check, apexd_prop) | ||
get_prop(flags_health_check, bg_boot_complete_prop) | ||
get_prop(flags_health_check, bg_daemon_prop) | ||
get_prop(flags_health_check, bluetooth_prop) | ||
get_prop(flags_health_check, boot_animation_prop) | ||
get_prop(flags_health_check, boot_mode_prop) | ||
get_prop(flags_health_check, bootloader_boot_reason_prop) | ||
get_prop(flags_health_check, boottime_prop) | ||
get_prop(flags_health_check, bpf_progs_loaded_prop) | ||
get_prop(flags_health_check, bservice_prop) | ||
get_prop(flags_health_check, camera_prop) | ||
get_prop(flags_health_check, coresight_prop) | ||
get_prop(flags_health_check, crash_prop) | ||
get_prop(flags_health_check, ctl_adbd_prop) | ||
get_prop(flags_health_check, ctl_bootanim_prop) | ||
get_prop(flags_health_check, ctl_bugreport_prop) | ||
get_prop(flags_health_check, ctl_console_prop) | ||
get_prop(flags_health_check, ctl_default_prop) | ||
get_prop(flags_health_check, ctl_dumpstate_prop) | ||
get_prop(flags_health_check, ctl_fuse_prop) | ||
get_prop(flags_health_check, ctl_gsid_prop) | ||
get_prop(flags_health_check, ctl_hbtp_prop) | ||
get_prop(flags_health_check, ctl_interface_restart_prop) | ||
get_prop(flags_health_check, ctl_interface_start_prop) | ||
get_prop(flags_health_check, ctl_interface_stop_prop) | ||
get_prop(flags_health_check, ctl_LKCore_prop) | ||
get_prop(flags_health_check, ctl_mdnsd_prop) | ||
get_prop(flags_health_check, ctl_netmgrd_prop) | ||
get_prop(flags_health_check, ctl_port-bridge_prop) | ||
get_prop(flags_health_check, ctl_qmuxd_prop) | ||
get_prop(flags_health_check, ctl_restart_prop) | ||
get_prop(flags_health_check, ctl_rildaemon_prop) | ||
get_prop(flags_health_check, ctl_sigstop_prop) | ||
get_prop(flags_health_check, ctl_start_prop) | ||
get_prop(flags_health_check, ctl_stop_prop) | ||
get_prop(flags_health_check, ctl_thermal-engine_prop) | ||
get_prop(flags_health_check, ctl_vendor_imsrcsservice_prop) | ||
get_prop(flags_health_check, ctl_vendor_wigigsvc_prop) | ||
get_prop(flags_health_check, device_logging_prop) | ||
get_prop(flags_health_check, diag_mdlog_prop) | ||
get_prop(flags_health_check, dolby_prop) | ||
get_prop(flags_health_check, dumpstate_options_prop) | ||
get_prop(flags_health_check, dynamic_system_prop) | ||
get_prop(flags_health_check, firstboot_prop) | ||
get_prop(flags_health_check, fm_prop) | ||
get_prop(flags_health_check, freq_prop) | ||
get_prop(flags_health_check, fst_prop) | ||
get_prop(flags_health_check, gamed_prop) | ||
get_prop(flags_health_check, graphics_vulkan_prop) | ||
get_prop(flags_health_check, gsid_prop) | ||
get_prop(flags_health_check, heapprofd_enabled_prop) | ||
get_prop(flags_health_check, hwservicemanager_prop) | ||
get_prop(flags_health_check, hwui_prop) | ||
get_prop(flags_health_check, ipacm_prop) | ||
get_prop(flags_health_check, ipacm-diag_prop) | ||
get_prop(flags_health_check, ipacm) | ||
get_prop(flags_health_check, last_boot_reason_prop) | ||
get_prop(flags_health_check, llkd_prop) | ||
get_prop(flags_health_check, location_prop) | ||
get_prop(flags_health_check, logpersistd_logging_prop) | ||
get_prop(flags_health_check, lowpan_prop) | ||
get_prop(flags_health_check, lpdumpd_prop) | ||
get_prop(flags_health_check, mdm_helper_prop) | ||
get_prop(flags_health_check, mmc_prop) | ||
get_prop(flags_health_check, mmi_prop) | ||
get_prop(flags_health_check, mpdecision_prop) | ||
get_prop(flags_health_check, msm_irqbalance_prop) | ||
get_prop(flags_health_check, msm_irqbl_sdm630_prop) | ||
get_prop(flags_health_check, net_dns_prop) | ||
get_prop(flags_health_check, netd_prop) | ||
get_prop(flags_health_check, netd_stable_secret_prop) | ||
get_prop(flags_health_check, nfc_nq_prop) | ||
get_prop(flags_health_check, nnapi_ext_deny_product_prop) | ||
get_prop(flags_health_check, opengles_prop) | ||
get_prop(flags_health_check, overlay_prop) | ||
get_prop(flags_health_check, per_mgr_state_prop) | ||
get_prop(flags_health_check, perfd_prop) | ||
get_prop(flags_health_check, persistent_properties_ready_prop) | ||
get_prop(flags_health_check, postprocessing_prop) | ||
get_prop(flags_health_check, ppd_prop) | ||
get_prop(flags_health_check, qcom_ims_prop) | ||
get_prop(flags_health_check, qdma_prop) | ||
get_prop(flags_health_check, qemu_gles_prop) | ||
get_prop(flags_health_check, qti_prop) | ||
get_prop(flags_health_check, reschedule_service_prop) | ||
get_prop(flags_health_check, rmnet_mux_prop) | ||
get_prop(flags_health_check, safemode_prop) | ||
get_prop(flags_health_check, scr_enabled_prop) | ||
get_prop(flags_health_check, sdm_idle_time_prop) | ||
get_prop(flags_health_check, sensors_prop) | ||
get_prop(flags_health_check, serialno_prop) | ||
get_prop(flags_health_check, spcomlib_prop) | ||
get_prop(flags_health_check, sys_usb_configfs_prop) | ||
get_prop(flags_health_check, sys_usb_controller_prop) | ||
get_prop(flags_health_check, sys_usb_tethering_prop) | ||
get_prop(flags_health_check, system_boot_reason_prop) | ||
get_prop(flags_health_check, system_lmk_prop) | ||
get_prop(flags_health_check, system_trace_prop) | ||
get_prop(flags_health_check, test_boot_reason_prop) | ||
get_prop(flags_health_check, theme_prop) | ||
get_prop(flags_health_check, time_prop) | ||
get_prop(flags_health_check, traced_enabled_prop) | ||
get_prop(flags_health_check, traced_lazy_prop) | ||
get_prop(flags_health_check, uicc_prop) | ||
get_prop(flags_health_check, updatemiscta_prop) | ||
get_prop(flags_health_check, usf_prop) | ||
get_prop(flags_health_check, vendor_mpctl_prop) | ||
get_prop(flags_health_check, vendor_rild_libpath_prop) | ||
get_prop(flags_health_check, vendor_system_prop) | ||
get_prop(flags_health_check, vendor_wifi_prop) | ||
get_prop(flags_health_check, vendor_wifi_version) | ||
get_prop(flags_health_check, vm_bms_prop) | ||
get_prop(flags_health_check, wifi_prop) | ||
get_prop(flags_health_check, wififtmd_prop) | ||
get_prop(flags_health_check, wigig_prop) | ||
get_prop(flags_health_check, xlat_prop) | ||
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,16 +1,16 @@ | ||
vndbinder_use(hal_gnss_default) | ||
|
||
#============= hal_gnss_default ============== | ||
allow hal_gnss_default diag_device:chr_file { open read write }; | ||
allow hal_gnss_default qmuxd:unix_stream_socket connectto; | ||
allow hal_gnss_default qmuxd_socket:dir { add_name search write }; | ||
allow hal_gnss_default qmuxd_socket:sock_file { create setattr write }; | ||
#allow hal_gnss_default diag_device:chr_file { open read write }; | ||
#allow hal_gnss_default qmuxd:unix_stream_socket connectto; | ||
#allow hal_gnss_default qmuxd_socket:dir { add_name search write }; | ||
#allow hal_gnss_default qmuxd_socket:sock_file { create setattr write }; | ||
allow hal_gnss_default self:netlink_socket { bind create read write }; | ||
allow hal_gnss_default self:socket rw_socket_perms_no_ioctl; | ||
allow hal_gnss_default self:socket { create ioctl }; | ||
allow hal_gnss_default sysfs_sensors:file { getattr open read }; | ||
#allow hal_gnss_default sysfs_sensors:file { getattr open read }; | ||
allow hal_gnss_default sysfs_system_soc:file { getattr open read }; | ||
allow hal_gnss_default system_data_file:dir { add_name create write }; | ||
allow hal_gnss_default system_data_file:file { create getattr open read write }; | ||
allowxperm hal_gnss_default self:socket ioctl msm_sock_ipc_ioctls; | ||
#allowxperm hal_gnss_default self:socket ioctl msm_sock_ipc_ioctls; | ||
dontaudit hal_gnss_default self:udp_socket create; |
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 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 +0,0 @@ | ||
get_prop(mediacodec, camera_prop) | ||
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,3 +1,3 @@ | ||
#============= netmgrd ============== | ||
allow netmgrd diag_device:chr_file rw_file_perms; | ||
r_dir_file(netmgrd, net_data_file) | ||
#allow netmgrd diag_device:chr_file rw_file_perms; | ||
#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,4 +1,4 @@ | ||
# property service keys | ||
camera.0. u:object_r:camera_prop:s0 | ||
camera.1. u:object_r:camera_prop:s0 | ||
#camera.0. u:object_r:camera_prop:s0 | ||
#camera.1. u:object_r:camera_prop:s0 | ||
persist.tareset.notfirstboot u:object_r:updatemiscta_prop:s0 |
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,5 @@ | ||
#============= qmuxd ============== | ||
allow qmuxd diag_device:chr_file rw_file_perms; | ||
allow qmuxd qmuxd_socket:dir w_dir_perms; | ||
allow qmuxd qmuxd_socket:sock_file create_file_perms; | ||
allow qmuxd radio_device:chr_file rw_file_perms; | ||
#allow qmuxd diag_device:chr_file rw_file_perms; | ||
#allow qmuxd qmuxd_socket:dir w_dir_perms; | ||
#allow qmuxd qmuxd_socket:sock_file create_file_perms; | ||
#allow qmuxd radio_device:chr_file rw_file_perms; |
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,4 +1,4 @@ | ||
qmux_socket(radio) | ||
#qmux_socket(radio) | ||
|
||
#============= radio ============== | ||
allow radio 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,3 +1,3 @@ | ||
#============= rild ============== | ||
allow rild diag_device:chr_file rw_file_perms; | ||
#allow rild diag_device:chr_file rw_file_perms; | ||
allow rild proc_cmdline: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,4 +1,4 @@ | ||
#============= rmt_storage ============== | ||
allow rmt_storage modem_block_device:blk_file rw_file_perms; | ||
allow rmt_storage shared_log_device:chr_file rw_file_perms; | ||
r_dir_file(rmt_storage, sysfs_rmtfs) | ||
#allow rmt_storage modem_block_device:blk_file rw_file_perms; | ||
#allow rmt_storage shared_log_device:chr_file rw_file_perms; | ||
#r_dir_file(rmt_storage, sysfs_rmtfs) |
Oops, something went wrong.