Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified scripts/selinux/nginx_agent.pp
Binary file not shown.
7 changes: 6 additions & 1 deletion scripts/selinux/nginx_agent.te
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ require {
type fixed_disk_device_t;
type nvme_device_t;
type udev_var_run_t;
type cgroup_t;
}

allow nginx_agent_t bin_t:file { execute execute_no_trans };
Expand Down Expand Up @@ -147,4 +148,8 @@ allow nginx_agent_t self:udp_socket { connect create getattr setopt };
allow nginx_agent_t fixed_disk_device_t:blk_file getattr;
allow nginx_agent_t nvme_device_t:blk_file getattr;
allow nginx_agent_t udev_var_run_t:dir search;
allow nginx_agent_t udev_var_run_t:file { getattr open read };
allow nginx_agent_t udev_var_run_t:file { getattr open read };

#============= nginx_agent_t ==============
allow nginx_agent_t cgroup_t:dir search;
allow nginx_agent_t cgroup_t:file { open read };
Loading