Skip to content
Snippets Groups Projects
Commit 4ae8fe9b authored by Hridya Valsaraju's avatar Hridya Valsaraju
Browse files

Define 'super_block_device' type

Bug: 78793464
Test: fastboot getvar partition-size:super

'super_block_device' corresponds to the super partition
required for flashing dynamic partitions.

Change-Id: I323634b6797ead7c5face117a7028bf9ab947aea
parent 50ca0a0d
Branches
No related tags found
No related merge requests found
...@@ -114,6 +114,7 @@ ...@@ -114,6 +114,7 @@
statsdw_socket statsdw_socket
statscompanion_service statscompanion_service
storaged_data_file storaged_data_file
super_block_device
sysfs_fs_ext4_features sysfs_fs_ext4_features
system_boot_reason_prop system_boot_reason_prop
system_lmk_prop system_lmk_prop
......
...@@ -101,6 +101,7 @@ ...@@ -101,6 +101,7 @@
statsdw statsdw
statsdw_socket statsdw_socket
storaged_data_file storaged_data_file
super_block_device
system_boot_reason_prop system_boot_reason_prop
system_lmk_prop system_lmk_prop
system_suspend_hwservice system_suspend_hwservice
......
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
mnt_product_file mnt_product_file
overlayfs_file overlayfs_file
recovery_socket recovery_socket
super_block_device
system_lmk_prop system_lmk_prop
system_suspend_hwservice system_suspend_hwservice
time_prop time_prop
......
...@@ -104,3 +104,6 @@ type metadata_block_device, dev_type; ...@@ -104,3 +104,6 @@ type metadata_block_device, dev_type;
# The 'misc' partition used by recovery and A/B. # The 'misc' partition used by recovery and A/B.
type misc_block_device, dev_type; type misc_block_device, dev_type;
# 'super' partition to be used for logical partitioning.
type super_block_device, dev_type;
...@@ -38,6 +38,7 @@ recovery_only(` ...@@ -38,6 +38,7 @@ recovery_only(`
allow fastbootd dm_device:chr_file rw_file_perms; allow fastbootd dm_device:chr_file rw_file_perms;
allow fastbootd dm_device:blk_file rw_file_perms; allow fastbootd dm_device:blk_file rw_file_perms;
allow fastbootd super_block_device:blk_file rw_file_perms;
allow fastbootd system_block_device:blk_file rw_file_perms; allow fastbootd system_block_device:blk_file rw_file_perms;
allow fastbootd boot_block_device:blk_file rw_file_perms; allow fastbootd boot_block_device:blk_file rw_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment