These interface calls are more suitable here. Also should rename boolean to ftpd_network_connect_db and possibly split mysql and postgresql.
This commit is contained in:
parent
02687a7034
commit
38039abcd1
@ -349,8 +349,8 @@ optional_policy(`
|
||||
')
|
||||
|
||||
tunable_policy(`ftpd_connect_db',`
|
||||
corenet_tcp_connect_mysqld_port(ftpd_t)
|
||||
corenet_tcp_connect_postgresql_port(ftpd_t)
|
||||
mysql_tcp_connect(ftpd_t)
|
||||
postgresql_tcp_connect(ftpd_t)
|
||||
')
|
||||
|
||||
optional_policy(`
|
||||
|
Loading…
Reference in New Issue
Block a user