-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
37 additions
and
1 deletion.
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
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Last Modified: Wed Feb 14 17:45:54 2024 | ||
#include <tunables/global> | ||
|
||
# Author: Marc Deslauriers <[email protected]> | ||
|
||
|
||
profile apache2 /usr/{bin,sbin}/apache2 flags=(attach_disconnected) { | ||
#include <abstractions/base> | ||
#include <abstractions/nameservice> | ||
#include <apache2.d> | ||
#include <local/usr.sbin.apache2> | ||
|
||
capability chown, | ||
capability dac_override, | ||
capability dac_read_search, | ||
capability kill, | ||
capability net_bind_service, | ||
capability setgid, | ||
capability setuid, | ||
capability sys_admin, | ||
capability sys_tty_config, | ||
|
||
signal send peer=@{profile_name}//*, | ||
signal send set=term peer=unconfined, | ||
signal send set=usr1 peer=unconfined, | ||
|
||
/ rw, | ||
/** mrwlkix, | ||
|
||
} |