These interface calls are more suitable here. Might want to implement boolean spamd_network_connect_db.
This commit is contained in:
parent
54590acde7
commit
86225e1f16
@ -508,9 +508,7 @@ optional_policy(`
|
||||
')
|
||||
|
||||
optional_policy(`
|
||||
corenet_tcp_connect_mysqld_port(spamd_t)
|
||||
corenet_sendrecv_mysqld_client_packets(spamd_t)
|
||||
|
||||
mysql_tcp_connect(spamd_t)
|
||||
mysql_search_db(spamd_t)
|
||||
mysql_stream_connect(spamd_t)
|
||||
')
|
||||
@ -520,9 +518,7 @@ optional_policy(`
|
||||
')
|
||||
|
||||
optional_policy(`
|
||||
corenet_tcp_connect_postgresql_port(spamd_t)
|
||||
corenet_sendrecv_postgresql_client_packets(spamd_t)
|
||||
|
||||
postgresql_tcp_connect(spamd_t)
|
||||
postgresql_stream_connect(spamd_t)
|
||||
')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user