Skip to content

Commit 1c30fa7

Browse files
committed
bd-agent permissions
1 parent 741f8ab commit 1c30fa7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

templates/nginx-plus-module-appprotect.te.j2

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module nginx-plus-module-appprotect 1.0;
33
require {
44
type faillog_t;
55
type httpd_t;
6+
type httpd_initrc_exec_t;
67
type httpd_log_t;
78
type http_cache_port_t;
89
type httpd_config_t;
@@ -21,7 +22,7 @@ require {
2122
class capability { audit_write net_admin };
2223
class dbus send_msg;
2324
class dir { add_name create remove_name write };
24-
class fifo_file write;
25+
class fifo_file { getattr ioctl open read write };
2526
class file { create execute getattr read rename open setattr unlink write};
2627
class netlink_selinux_socket { create bind };
2728
class netlink_audit_socket { create nlmsg_relay read write };
@@ -38,6 +39,8 @@ allow httpd_t httpd_config_t:file write;
3839
allow httpd_t http_cache_port_t:tcp_socket name_connect;
3940
allow httpd_t httpd_var_run_t:file execute;
4041

42+
allow httpd_t httpd_initrc_exec_t:fifo_file { getattr ioctl open read write };
43+
4144
allow httpd_t lastlog_t:file { open read write };
4245

4346
allow httpd_t faillog_t:file { write read open };

0 commit comments

Comments
 (0)