Merge "uncrypt: allow reading /proc/bootconfig"
This commit is contained in:
commit
17a5e930cb
1 changed files with 6 additions and 2 deletions
|
@ -32,8 +32,12 @@ allow uncrypt userdata_block_device:blk_file w_file_perms;
|
|||
|
||||
r_dir_file(uncrypt, rootfs)
|
||||
|
||||
# uncrypt reads /proc/cmdline
|
||||
allow uncrypt proc_cmdline:file r_file_perms;
|
||||
# Access to bootconfig is needed when calling ReadDefaultFstab.
|
||||
allow uncrypt {
|
||||
proc_bootconfig
|
||||
proc_cmdline
|
||||
|
||||
}:file r_file_perms;
|
||||
|
||||
# Read files in /sys
|
||||
r_dir_file(uncrypt, sysfs_dt_firmware_android)
|
||||
|
|
Loading…
Reference in a new issue