Wings runs, have not tested if it can read/write

This commit is contained in:
Chance Callahan 2022-10-06 12:26:16 -04:00
parent 8928103cae
commit 2b0a02facf
2 changed files with 4 additions and 2 deletions

View File

@ -1,2 +1,4 @@
/usr/local/bin/wings -- gen_context(system_u:object_r:wings_exec_t,s0)
/etc/pterodactyl(/.*)? -- gen_context(system_u:object_r:wings_etc_t,s0)
/etc/pterodactyl(/.*)? -- gen_context(system_u:object_r:wings_etc_t,s0)
/var/lib/pterodactyl/volumes(/.*)? -- gen_context(system_u:object_r:container_file_t,s0)
/var/lib/pterodactyl/mounts(/.*)? -- gen_context(system_u:object_r:container_file_t,s0)

View File

@ -18,7 +18,7 @@ permissive wings_t;
#
allow wings_t self:fifo_file rw_fifo_file_perms;
allow wings_t self:unix_stream_socket create_stream_socket_perms;
allow wings_exec_t:file execmod;
allow wings_t wings_exec_t:file execmod;
domain_use_interactive_fds(wings_t)