@@ -15,6 +15,7 @@ require {
1515 attribute exec_type;
1616 attribute non_security_file_type;
1717 attribute non_auth_file_type;
18+ type autofs_t;
1819 type bin_t;
1920 type cert_t;
2021 type devlog_t;
@@ -393,6 +394,9 @@ allow cfengine_hub_t sssd_var_lib_t:sock_file write;
393394allow cfengine_hub_t sysctl_net_t:dir search;
394395allow cfengine_hub_t sysfs_t:dir read;
395396allow cfengine_hub_t sysfs_t:file { getattr open read };
397+ allow cfengine_hub_t sysfs_t:lnk_file read;
398+ allow cfengine_hub_t autofs_t:dir getattr;
399+ allow cfengine_hub_t cfengine_httpd_exec_t:file getattr;
396400allow cfengine_hub_t syslogd_var_run_t:dir search;
397401allow cfengine_hub_t systemd_systemctl_exec_t:file getattr;
398402allow cfengine_hub_t tmp_t:sock_file write;
@@ -575,7 +579,7 @@ allow cfengine_httpd_t smtp_port_t:tcp_socket name_connect;
575579allow cfengine_httpd_t ldap_port_t:tcp_socket name_connect;
576580
577581# allow PHP-FPM to use hugepages for opcache
578- allow cfengine_httpd_t hugetlbfs_t:file map;
582+ allow cfengine_httpd_t hugetlbfs_t:file { map read write } ;
579583
580584# allow PHP-FPM to lock opcache files in tmpfs
581585allow cfengine_httpd_t tmpfs_t:file lock;
@@ -744,6 +748,7 @@ allow cfengine_reactor_t postfix_spool_t:dir { add_name remove_name search write
744748allow cfengine_reactor_t postfix_spool_t:file { create getattr open read rename setattr write };
745749allow cfengine_reactor_t sendmail_exec_t:file map;
746750allow cfengine_reactor_t sendmail_exec_t:file { execute execute_no_trans open read };
751+ allow cfengine_reactor_t smtp_port_t:tcp_socket name_connect;
747752
748753
749754#============= cfengine_action_script_t ==============
0 commit comments