Skip to content

Commit 5b7e581

Browse files
committed
more te
1 parent bdf4adf commit 5b7e581

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

files/my-appprotect.te

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,16 @@ require {
3232
#============= audisp_t ==============
3333

3434
#!!!! WARNING: 'unlabeled_t' is a base type.
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 };
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;
3838

3939
#============= httpd_t ==============
4040
allow httpd_t faillog_t:file { open read };
4141

4242
#!!!! This avc is allowed in the current policy
4343
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;
4644
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 };
5045

5146
#!!!! The file '/opt/app_protect/pipe/app_protect_plugin_socket' is mislabeled on your system.
5247
#!!!! Fix with $ restorecon -R -v /opt/app_protect/pipe/app_protect_plugin_socket
@@ -67,8 +62,8 @@ allow httpd_t self:passwd passwd;
6762
allow httpd_t systemd_logind_t:dbus send_msg;
6863

6964
#!!!! This avc is allowed in the current policy
70-
allow httpd_t unreserved_port_t:tcp_socket { name_bind name_connect };
71-
allow httpd_t usr_t:dir { create rmdir };
65+
allow httpd_t unreserved_port_t:tcp_socket name_connect;
66+
allow httpd_t usr_t:dir create;
7267

7368
#!!!! WARNING: 'usr_t' is a base type.
7469
allow httpd_t usr_t:file { create rename setattr unlink write };

0 commit comments

Comments
 (0)