Merge "storage: allow mkfs/fsck for vendor partitons" into main
This commit is contained in:
commit
d9667c65f6
2 changed files with 13 additions and 0 deletions
|
@ -1 +1,9 @@
|
||||||
|
# fix mkfs
|
||||||
allow e2fs userdata_exp_block_device:blk_file rw_file_perms;
|
allow e2fs userdata_exp_block_device:blk_file rw_file_perms;
|
||||||
|
allow e2fs efs_block_device:blk_file rw_file_perms;
|
||||||
|
allow e2fs modem_userdata_block_device:blk_file rw_file_perms;
|
||||||
|
allowxperm e2fs { persist_block_device efs_block_device modem_userdata_block_device }:blk_file ioctl {
|
||||||
|
BLKSECDISCARD BLKDISCARD BLKPBSZGET BLKDISCARDZEROES BLKROGET
|
||||||
|
};
|
||||||
|
allow e2fs sysfs_scsi_devices_0000:dir r_dir_perms;
|
||||||
|
allow e2fs sysfs_scsi_devices_0000:file r_file_perms;
|
||||||
|
|
|
@ -1 +1,6 @@
|
||||||
|
# fix fsck
|
||||||
allow fsck userdata_exp_block_device:blk_file rw_file_perms;
|
allow fsck userdata_exp_block_device:blk_file rw_file_perms;
|
||||||
|
allow fsck efs_block_device:blk_file rw_file_perms;
|
||||||
|
allow fsck modem_userdata_block_device:blk_file rw_file_perms;
|
||||||
|
allow fsck sysfs_scsi_devices_0000:dir r_dir_perms;
|
||||||
|
allow fsck sysfs_scsi_devices_0000:file r_file_perms;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue