platform_system_sepolicy/prebuilts/api/34.0/private/lmkd.te
Alex Buynytskyy 9c6c988bad UpsideDownCake/34 is now REL
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I15bf3817a8a6867d52f7963a04a69e543a9801e9
Merged-In: I15bf3817a8a6867d52f7963a04a69e543a9801e9
2023-04-21 19:36:02 +00:00

18 lines
446 B
Text

typeattribute lmkd coredomain;
typeattribute lmkd bpfdomain;
init_daemon_domain(lmkd)
# Set sys.lmk.* properties.
set_prop(lmkd, system_lmk_prop)
# Set lmkd.* properties.
set_prop(lmkd, lmkd_prop)
# Get persist.device_config.lmk_native.* properties.
get_prop(lmkd, device_config_lmkd_native_prop)
allow lmkd fs_bpf:file read;
allow lmkd bpfloader:bpf map_read;
neverallow { domain -init -lmkd -vendor_init } lmkd_prop:property_service set;