mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
universal7885: sepolicy: Allow kernel to read sysfs_virtual nodes
`avc: denied { read } for name="hall_detect" dev="sysfs" ino=29566 scontext=u:r:kernel:s0 tcontext=u:object_r:sysfs_virtual:s0 tclass=file permissive=0`
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
Change-Id: I8fb01d8c4ce8b48fbf58a0688b04dc79664d2964
This commit is contained in:
parent
0b3a75c212
commit
aed3c1f464
1 changed files with 2 additions and 1 deletions
3
sepolicy/vendor/kernel.te
vendored
3
sepolicy/vendor/kernel.te
vendored
|
|
@ -7,5 +7,6 @@ allow kernel device:chr_file { getattr setattr unlink create };
|
|||
allow kernel device:dir create_dir_perms;
|
||||
allow kernel self:capability { sys_rawio mknod };
|
||||
|
||||
allow kernel sysfs_virtual:dir search;
|
||||
allow kernel block_device:dir search;
|
||||
|
||||
r_dir_file(kernel, sysfs_virtual)
|
||||
|
|
|
|||
Loading…
Reference in a new issue