Skip to content

Commit

Permalink
Merge pull request #5568 from vpodzime/master-selinux_cfbs_shell
Browse files Browse the repository at this point in the history
Allow cfbs to execute commands in a shell
  • Loading branch information
vpodzime authored Jul 9, 2024
2 parents 98374bb + 818708a commit 3297066
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions misc/selinux/cfengine-enterprise.te.all
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,10 @@ allow cfengine_cfbs_t cfengine_reactor_t:fifo_file { getattr ioctl read write };

allow cfengine_cfbs_t bin_t:file { map execute };

# cfbs runs some commands in a shell
allow cfengine_cfbs_t shell_exec_t:file map;
allow cfengine_cfbs_t shell_exec_t:file { execute execute_no_trans };

allow cfengine_cfbs_t cert_t:dir search;
allow cfengine_cfbs_t cert_t:file { getattr open read };
allow cfengine_cfbs_t cert_t:lnk_file read;
Expand Down

0 comments on commit 3297066

Please sign in to comment.