Skip to content

Commit

Permalink
Issue OwlCyberDefense#134 - Let toor_t start/stop/restart/status syst…
Browse files Browse the repository at this point in the history
…emd services
  • Loading branch information
mpalmi committed Aug 28, 2015
1 parent 0166907 commit 8ed420e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions CONFIG_REPOS
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ rhel = /opt/rhel-7-x86_64/rhel-x86_64-server-7/Packages/
# WARNING: The CLIP team is no longer testing or supporting RHEL 5 builds from this tree.
# It might work, but probably will not.
#buildgroups = /mnt/repos/buildgroups
opt = /home/mpalmiotto/opt/
Original file line number Diff line number Diff line change
Expand Up @@ -462,3 +462,12 @@ ifndef(`distro_redhat',`
')
')

ifdef(`init_systemd',`
optional_policy(`
systemd_start_unit_services(toor_t)
systemd_start_power_unit_services(toor_t)
systemd_stop_unit_services(toor_t)
systemd_status_unit_services(toor_t)
logging_send_audit_msgs(toor_t)
')
')
Original file line number Diff line number Diff line change
Expand Up @@ -328,3 +328,5 @@ ifdef(`distro_ubuntu',`
unconfined_domain(update_modules_t)
')
')

kernel_search_key(insmod_t)

0 comments on commit 8ed420e

Please sign in to comment.