Alex Klyubin | f5446eb | 2017-03-23 14:27:32 -0700 | [diff] [blame] | 1 | typeattribute lmkd coredomain; |
| 2 | |
dcashman | cc39f63 | 2016-07-22 13:13:11 -0700 | [diff] [blame] | 3 | init_daemon_domain(lmkd) |
Inseob Kim | 55e5c9b | 2020-03-04 17:20:35 +0900 | [diff] [blame] | 4 | |
| 5 | # Set sys.lmk.* properties. |
| 6 | set_prop(lmkd, system_lmk_prop) |
Suren Baghdasaryan | b221e66 | 2020-05-05 12:41:02 -0700 | [diff] [blame] | 7 | |
| 8 | # Set lmkd.* properties. |
| 9 | set_prop(lmkd, lmkd_prop) |
| 10 | |
Suren Baghdasaryan | ea2941b | 2021-05-27 18:22:41 -0700 | [diff] [blame^] | 11 | allow lmkd fs_bpf:dir search; |
| 12 | allow lmkd fs_bpf:file read; |
| 13 | allow lmkd bpfloader:bpf map_read; |
| 14 | |
Inseob Kim | 85acf6e | 2021-03-10 10:42:23 +0900 | [diff] [blame] | 15 | neverallow { domain -init -lmkd -vendor_init } lmkd_prop:property_service set; |