mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
7ed21fcb70
Change-Id: If81bc788428fdbbcd2c16d80f76316082e2c607f
59 lines
1.2 KiB
Text
59 lines
1.2 KiB
Text
# This really is necessary for init.qcom.rc to manually restorecon the
|
|
# /data/data/com.android.providers.telephony/(databases|shared_prefs)
|
|
# symlinks. Without the manual restorecon, we would have to allow rild
|
|
# to read any system_data_file:lnk_file.
|
|
selinux_check_context(init)
|
|
|
|
allow init {
|
|
sysfs_iio
|
|
sysfs_sec_tsp
|
|
sysfs_sensors
|
|
}:lnk_file read;
|
|
|
|
allow init {
|
|
sysfs_audio
|
|
sysfs_batteryinfo
|
|
sysfs_bluetooth_writable
|
|
sysfs_camera
|
|
sysfs_graphics
|
|
sysfs_hal_pwr
|
|
sysfs_iio
|
|
sysfs_input
|
|
sysfs_kgsl
|
|
sysfs_leds
|
|
sysfs_mdnie
|
|
sysfs_msmuart_file
|
|
sysfs_sec_bamdmux
|
|
sysfs_sec_barcode_emul
|
|
sysfs_sec_epen
|
|
sysfs_sec_ir
|
|
sysfs_sec_key
|
|
sysfs_sec_led
|
|
sysfs_sec_switch
|
|
sysfs_sec_thermistor
|
|
sysfs_sec_touchkey
|
|
sysfs_sec_tsp
|
|
sysfs_sensors
|
|
sysfs_socinfo
|
|
sysfs_usb_otg
|
|
sysfs_wifi_writeable
|
|
}:file setattr;
|
|
|
|
allow init {
|
|
sysfs_cpu_boost
|
|
sysfs_devices_system_cpu
|
|
sysfs_lowmemorykiller
|
|
sysfs_mmc_host
|
|
sysfs_msm_perf
|
|
sysfs_msm_power
|
|
sysfs_net
|
|
sysfs_sec_key
|
|
sysfs_thermal
|
|
}:file w_file_perms;
|
|
|
|
allow init {
|
|
wcnss_device
|
|
}:chr_file w_file_perms;
|
|
|
|
allow init sysfs:file setattr;
|
|
allow init sysfs_devfreq:file setattr;
|