common: sepolicy: legacy: allow qti_init_shell to read boot_reason
[ 15.742123] type=1400 audit(4539769.653:274): avc: denied { read } for comm="cat" name="boot_reason" dev="proc" ino=14760 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:proc_boot_reason:s0 tclass=file permissive=0 Signed-off-by: Jprimero15 <jprimero155@gmail.com> Change-Id: I0014b14ae63a11123b827be4e3bcab16cfdb7484 Signed-off-by: Jprimero15 <jprimero15@aospa.co>
This commit is contained in:
parent
540f8fe0bf
commit
83ca0e2869
|
@ -255,6 +255,9 @@ allow qti_init_shell sysfs_usbpd_device:file setattr;
|
|||
|
||||
allow qti_init_shell sysfs_fm:file rw_file_perms;
|
||||
|
||||
# To read /proc/sys/kernel/boot_reason
|
||||
allow qti_init_shell proc_boot_reason:file r_file_perms;
|
||||
|
||||
# To read /proc/meminfo
|
||||
allow qti_init_shell proc_meminfo:file r_file_perms;
|
||||
|
||||
|
|
Loading…
Reference in New Issue