msm8974-common: sepolicy: Resolve hal_sensors_default denials
* avc: denied { read } for name="name" dev="sysfs" ino=26468i scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 * avc: denied { read } for name="iio:device1" dev="tmpfs" ino=7276 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:iio_device:s0 tclass=chr_file permissive=0 * avc: denied { open } for name="iio:device0" dev="tmpfs" ino=7275 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:iio_device:s0 tclass=chr_file permissive=0 * avc: denied { search } for name="/" dev="mmcblk0p12" ino=2 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:efs_file:s0 tclass=dir permissive=0 * avc: denied { read } for name="gyro_cal_data" dev="mmcblk0p12" ino=41 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:efs_file:s0 tclass=file permissive=0 * avc: denied { read } for name="shtc1_sensor" dev="tmpfs" ino=8378 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:sensors_device:s0 tclass=chr_file permissive=1 * avc: denied { open } for name="shtc1_sensor" dev="tmpfs" ino=8378 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:sensors_device:s0 tclass=chr_file permissive=1 Change-Id: Iad7e41e5e250eb1511d5838bd42b2b07843d220b
This commit is contained in:
parent
071111d64d
commit
4b1a3c2134
@ -1,14 +1,21 @@
|
||||
r_dir_file(hal_sensors_default, efs_file)
|
||||
|
||||
allow hal_sensors_default {
|
||||
sysfs_batteryinfo
|
||||
sysfs_graphics
|
||||
sysfs_leds
|
||||
}:dir search;
|
||||
iio_device
|
||||
sensors_device
|
||||
}:chr_file r_file_perms;
|
||||
|
||||
allow hal_sensors_default {
|
||||
sysfs_iio
|
||||
sysfs_input
|
||||
}:dir r_dir_perms;
|
||||
|
||||
allow hal_sensors_default {
|
||||
sysfs_batteryinfo
|
||||
sysfs_graphics
|
||||
sysfs_leds
|
||||
}:dir search;
|
||||
|
||||
allow hal_sensors_default {
|
||||
sysfs_batteryinfo
|
||||
sysfs_graphics
|
||||
|
Loading…
Reference in New Issue
Block a user