Merge "Add proc_cmdline read permission to read_fstab"
This commit is contained in:
commit
bc3f8b3486
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ r_dir_file(gsid, sysfs_fs_f2fs)
|
|||
# Needed to read fstab, which is used to validate that system verity does not
|
||||
# use check_once_at_most for sdcard installs. (Note: proc_cmdline is needed
|
||||
# to get the A/B slot suffix).
|
||||
allow gsid proc_cmdline:file r_file_perms;
|
||||
read_fstab(gsid)
|
||||
allow gsid sysfs_dt_firmware_android:dir r_dir_perms;
|
||||
allow gsid sysfs_dt_firmware_android:file r_file_perms;
|
||||
|
||||
|
|
|
@ -1023,7 +1023,7 @@ define(`vendor_public_prop', `define_prop($1, vendor, public)')
|
|||
define(`read_fstab', `
|
||||
allow $1 { metadata_file gsi_metadata_file_type }:dir search;
|
||||
allow $1 gsi_public_metadata_file:file r_file_perms;
|
||||
allow $1 proc_bootconfig:file r_file_perms;
|
||||
allow $1 { proc_bootconfig proc_cmdline }:file r_file_perms;
|
||||
')
|
||||
|
||||
######################################
|
||||
|
|
Loading…
Reference in a new issue