This repository has been archived by the owner on Jul 2, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to the daemontools policy module
Module clean up Signed-off-by: Dominick Grift <dominick.grift@gmail.com>
- Loading branch information
1 parent
f8c9422
commit b0b07ad
Showing
3 changed files
with
99 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,41 @@ | ||
# | ||
# /service | ||
# | ||
/service -d gen_context(system_u:object_r:svc_svc_t,s0) | ||
/service/.* gen_context(system_u:object_r:svc_svc_t,s0) | ||
|
||
/service -d gen_context(system_u:object_r:svc_svc_t,s0) | ||
/service/.* gen_context(system_u:object_r:svc_svc_t,s0) | ||
|
||
# | ||
# /usr | ||
# | ||
|
||
/usr/bin/envdir -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/usr/bin/envdir -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/usr/bin/envuidgid -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/usr/bin/fghack -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/usr/bin/fghack -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/usr/bin/multilog -- gen_context(system_u:object_r:svc_multilog_exec_t,s0) | ||
/usr/bin/pgrphack -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/usr/bin/setlock -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/usr/bin/setlock -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/usr/bin/setuidgid -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/usr/bin/softlimit -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/usr/bin/svc -- gen_context(system_u:object_r:svc_start_exec_t,s0) | ||
/usr/bin/svok -- gen_context(system_u:object_r:svc_start_exec_t,s0) | ||
/usr/bin/svscan -- gen_context(system_u:object_r:svc_start_exec_t,s0) | ||
/usr/bin/svc -- gen_context(system_u:object_r:svc_start_exec_t,s0) | ||
/usr/bin/svok -- gen_context(system_u:object_r:svc_start_exec_t,s0) | ||
/usr/bin/svscan -- gen_context(system_u:object_r:svc_start_exec_t,s0) | ||
/usr/bin/svscanboot -- gen_context(system_u:object_r:svc_start_exec_t,s0) | ||
/usr/bin/supervise -- gen_context(system_u:object_r:svc_start_exec_t,s0) | ||
|
||
# | ||
# /var | ||
# | ||
|
||
/var/axfrdns(/.*)? gen_context(system_u:object_r:svc_svc_t,s0) | ||
/var/axfrdns/run -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/var/axfrdns(/.*)? gen_context(system_u:object_r:svc_svc_t,s0) | ||
/var/axfrdns/run -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/var/axfrdns/log/run -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/var/axfrdns/env(/.*)? gen_context(system_u:object_r:svc_conf_t,s0) | ||
/var/axfrdns/env(/.*)? gen_context(system_u:object_r:svc_conf_t,s0) | ||
|
||
/var/dnscache(/.*)? gen_context(system_u:object_r:svc_svc_t,s0) | ||
/var/dnscache/env(/.*)? gen_context(system_u:object_r:svc_conf_t,s0) | ||
/var/dnscache(/.*)? gen_context(system_u:object_r:svc_svc_t,s0) | ||
/var/dnscache/env(/.*)? gen_context(system_u:object_r:svc_conf_t,s0) | ||
/var/dnscache/run -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/var/dnscache/log/run -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
|
||
/var/qmail/supervise(/.*)? gen_context(system_u:object_r:svc_svc_t,s0) | ||
/var/qmail/supervise/.*/run -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/var/qmail/supervise/.*/log/run -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/var/qmail/supervise/.*/run -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/var/qmail/supervise/.*/log/run -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
|
||
/var/service/.* gen_context(system_u:object_r:svc_svc_t,s0) | ||
/var/service/.* gen_context(system_u:object_r:svc_svc_t,s0) | ||
/var/service/.*/env(/.*)? gen_context(system_u:object_r:svc_conf_t,s0) | ||
/var/service/.*/log/main(/.*)? gen_context(system_u:object_r:svc_log_t,s0) | ||
/var/service/.*/log/run gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/var/service/.*/run.* gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/var/service/.*/log/run gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/var/service/.*/run.* gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
|
||
/var/tinydns(/.*)? gen_context(system_u:object_r:svc_svc_t,s0) | ||
/var/tinydns/run -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/var/tinydns(/.*)? gen_context(system_u:object_r:svc_svc_t,s0) | ||
/var/tinydns/run -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/var/tinydns/log/run -- gen_context(system_u:object_r:svc_run_exec_t,s0) | ||
/var/tinydns/env(/.*)? gen_context(system_u:object_r:svc_conf_t,s0) | ||
/var/tinydns/env(/.*)? gen_context(system_u:object_r:svc_conf_t,s0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.