-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
55 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
module nginx 1.0; | ||
|
||
require { | ||
type httpd_t; | ||
type unconfined_service_t; | ||
type reserved_port_t; | ||
type httpd_tmp_t; | ||
type init_t; | ||
type antivirus_t; | ||
class dir { remove_name rmdir }; | ||
class sem { destroy unix_read unix_write }; | ||
class process2 nnp_transition; | ||
class udp_socket name_bind; | ||
} | ||
|
||
allow httpd_t antivirus_t:process2 nnp_transition; | ||
allow httpd_t reserved_port_t:udp_socket name_bind; | ||
allow httpd_t unconfined_service_t:sem { unix_read unix_write }; | ||
|
||
allow init_t httpd_t:sem destroy; | ||
allow init_t httpd_tmp_t:dir { remove_name rmdir }; | ||
allow init_t unconfined_service_t:sem destroy; |
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