platform_system_sepolicy/prebuilts/api/33.0/private/mtectrl.te
Yurii Zubrytskyi 04a85a1ba0 platform/system/sepolicy - SEPolicy Prebuilts for Tiramisu
Ignore-AOSP-First: T finalization
Bug: 225745567
Test: Build
Change-Id: I49fb91c7a60fb1e871bdf3553d978bb16c476fd7
Merged-In: I49fb91c7a60fb1e871bdf3553d978bb16c476fd7
2022-05-04 09:46:16 -07:00

10 lines
403 B
Text

# mtectrl is a tool to request MTE (Memory Tagging Extensions) from the bootloader.
type mtectrl, domain, coredomain;
type mtectrl_exec, system_file_type, exec_type, file_type;
init_daemon_domain(mtectrl)
# mtectrl communicates the request to the bootloader via the misc partition.
allow mtectrl misc_block_device:blk_file w_file_perms;
allow mtectrl block_device:dir r_dir_perms;
read_fstab(mtectrl)