1typeattribute lmkd coredomain; 2 3init_daemon_domain(lmkd) 4 5# Set sys.lmk.* properties. 6set_prop(lmkd, system_lmk_prop) 7 8# Set lmkd.* properties. 9set_prop(lmkd, lmkd_prop) 10 11allow lmkd fs_bpf:dir search; 12allow lmkd fs_bpf:file read; 13allow lmkd bpfloader:bpf map_read; 14 15neverallow { domain -init -lmkd -vendor_init } lmkd_prop:property_service set; 16