diff options
author | Alexander Martinz <amartinz@shiftphones.com> | 2022-12-20 08:06:44 +0100 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2023-06-13 00:20:25 +0800 |
commit | 3a38c7c3d20d6ffb48ec8437976cb2d07bf7d79e (patch) | |
tree | b58544900968a223141d2b397b885fb093fe8f94 | |
parent | f57323ecc2f18535194097893a4eadef12209873 (diff) |
sepolicy_vndr: sdm845: label metadata partition
If a sdm845 device launched with dynamic partitions, it has a
metadata partition as well.
[ 110.888321] audit: type=1400 audit(3941230.073:20): avc: denied { read } for pid=597 comm="fastbootd" name="sda8" dev="tmpfs" ino=14643 scontext=u:r:fastbootd:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=0
[ 110.908854] fastbootd: [libfs_mgr]Failed to open '/dev/block/by-name/metadata': Permission denied
Change-Id: I7897c0fec9b490c23111ff7cd08111757628fdf5
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
-rw-r--r-- | legacy/vendor/sdm845/file_contexts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/vendor/sdm845/file_contexts b/legacy/vendor/sdm845/file_contexts index 60284668..0872f70f 100644 --- a/legacy/vendor/sdm845/file_contexts +++ b/legacy/vendor/sdm845/file_contexts @@ -29,6 +29,7 @@ # UFS Devices /dev/block/platform/soc/1d84000.ufshc/by-name/system u:object_r:system_block_device:s0 +/dev/block/platform/soc/1d84000.ufshc/by-name/metadata u:object_r:metadata_block_device:s0 /dev/block/platform/soc/1d84000.ufshc/by-name/userdata u:object_r:userdata_block_device:s0 /dev/block/platform/soc/1d84000.ufshc/by-name/boot u:object_r:boot_block_device:s0 /dev/block/platform/soc/1d84000.ufshc/by-name/logdump u:object_r:logdump_partition:s0 |