Skip to content

Commit

Permalink
Merge pull request #5655 from craigcomstock/ENT-12446-3/master
Browse files Browse the repository at this point in the history
SELinux: Allow cf-serverd to set its own limits
  • Loading branch information
craigcomstock authored Dec 9, 2024
2 parents 84aba25 + c05f25b commit 871e87e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions misc/selinux/cfengine-enterprise.te.all
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ allow cfengine_serverd_t unreserved_port_t:tcp_socket name_connect;
allow cfengine_serverd_t cfengine_var_lib_t:sock_file { getattr write };
allow cfengine_serverd_t cfengine_hub_t:unix_stream_socket connectto;

# allow cf-serverd to set its own limits, e.g. def.control_server_maxconnections
allow cfengine_serverd_t self:capability sys_resource;

# TODO: this should not be needed
allow cfengine_serverd_t ssh_port_t:tcp_socket name_connect;
allow cfengine_serverd_t proc_xen_t:dir search;
Expand Down

0 comments on commit 871e87e

Please sign in to comment.