Nick Kralevich | caf42d6 | 2018-10-04 10:57:29 -0700 | [diff] [blame] | 1 | type system_server_startup, domain, coredomain; |
Jeff Vander Stoep | 41a2abf | 2019-01-23 15:07:40 -0800 | [diff] [blame^] | 2 | type system_server_startup_tmpfs, file_type; |
Nick Kralevich | caf42d6 | 2018-10-04 10:57:29 -0700 | [diff] [blame] | 3 | |
| 4 | tmpfs_domain(system_server_startup) |
| 5 | |
| 6 | # Create JIT memory |
| 7 | allow system_server_startup self:process execmem; |
| 8 | allow system_server_startup system_server_startup_tmpfs:file { execute read write open map }; |
| 9 | |
| 10 | # Allow system_server_startup to run setcon() and enter the |
| 11 | # system_server domain |
| 12 | allow system_server_startup self:process setcurrent; |
| 13 | allow system_server_startup system_server:process dyntransition; |