@@ -32,16 +32,21 @@ require {
32
32
# ============= audisp_t ==============
33
33
34
34
# !!!! WARNING: 'unlabeled_t' is a base type.
35
- # !!!! The file '/usr/sbin/sedispatch ' is mislabeled on your system.
36
- # !!!! Fix with $ restorecon -R -v /usr/sbin/sedispatch
37
- allow audisp_t unlabeled_t:file execute_no_trans;
35
+ # !!!! The file '/etc/ld.so.cache ' is mislabeled on your system.
36
+ # !!!! Fix with $ restorecon -R -v /etc/ld.so.cache
37
+ allow audisp_t unlabeled_t:file { execute execute_no_trans getattr open } ;
38
38
39
39
# ============= httpd_t ==============
40
40
allow httpd_t faillog_t:file { open read };
41
41
42
42
# !!!! This avc is allowed in the current policy
43
43
allow httpd_t http_cache_port_t:tcp_socket name_connect;
44
+ allow httpd_t httpd_config_t:file write;
45
+ allow httpd_t httpd_initrc_exec_t:sock_file write;
44
46
allow httpd_t httpd_log_t:file write;
47
+ allow httpd_t httpd_sys_rw_content_t:fifo_file { getattr ioctl open read write };
48
+ allow httpd_t httpd_var_run_t:fifo_file { getattr ioctl open read write };
49
+ allow httpd_t httpd_var_run_t:file { execute execute_no_trans };
45
50
46
51
# !!!! The file '/opt/app_protect/pipe/app_protect_plugin_socket' is mislabeled on your system.
47
52
# !!!! Fix with $ restorecon -R -v /opt/app_protect/pipe/app_protect_plugin_socket
@@ -62,8 +67,8 @@ allow httpd_t self:passwd passwd;
62
67
allow httpd_t systemd_logind_t:dbus send_msg;
63
68
64
69
# !!!! This avc is allowed in the current policy
65
- allow httpd_t unreserved_port_t:tcp_socket name_connect;
66
- allow httpd_t usr_t:dir create;
70
+ allow httpd_t unreserved_port_t:tcp_socket { name_bind name_connect } ;
71
+ allow httpd_t usr_t:dir { create rmdir } ;
67
72
68
73
# !!!! WARNING: 'usr_t' is a base type.
69
74
allow httpd_t usr_t:file { create rename setattr unlink write };
0 commit comments