device_google_bluejay/vendor/file_contexts
Leo Liou ca6ca14a45 bluejay: add sepolicy for ufs_firmware_update process
Allow the script to access the specified partition and sysfs.

Bug: 273305212
Test: full build and test ffu flow
Change-Id: I6f86606ebf0da631d1d2c1a433a9d200d6cac51c
Signed-off-by: Leo Liou <leoliou@google.com>
2023-03-31 13:25:05 +08:00

5 lines
245 B
Text

# Binaries
/vendor/bin/ufs_firmware_update\.sh u:object_r:ufs_firmware_update_exec:s0
# Devices
/dev/block/platform/14700000\.ufs/by-name/fips u:object_r:fips_block_device:s0