Remove out of date "hack" from stunnel. The underlying problem needing

a require was fixed back in 2011, so using corenet_tcp_bind_stunnel_port
would be an option now, but stunnel_t already has
corenet_tcp_bind_all_ports, so this access is redundant.

Signed-off-by: Daniel Burgener <Daniel.Burgener@Microsoft.com>
This commit is contained in:
Daniel Burgener 2020-05-02 15:46:40 -04:00
parent 4f846ea99d
commit a01820155f
1 changed files with 0 additions and 6 deletions

View File

@ -100,9 +100,3 @@ optional_policy(`
udev_read_db(stunnel_t)
')
# hack since this port has no interfaces since it doesnt
# have net_contexts
gen_require(`
type stunnel_port_t;
')
allow stunnel_t stunnel_port_t:tcp_socket name_bind;