Skip to content
Snippets Groups Projects
Commit 1625dba9 authored by Lucas Duffey's avatar Lucas Duffey Committed by Nick Kralevich
Browse files

remove setuid SELinux capability for racoon.


In the master external/ipsec-tools/{main.c, racoon.rc},
racoon doesn't call setuid, and doesn't have the setuid capability.

Bug: 35642293
Signed-off-by: default avatarLucas Duffey <lucas.duffey@invapid.org>
parent 1c4014ab
No related branches found
No related tags found
No related merge requests found
...@@ -15,7 +15,7 @@ allow racoon kernel:system module_request; ...@@ -15,7 +15,7 @@ allow racoon kernel:system module_request;
allow racoon self:key_socket create_socket_perms_no_ioctl; allow racoon self:key_socket create_socket_perms_no_ioctl;
allow racoon self:tun_socket create_socket_perms_no_ioctl; allow racoon self:tun_socket create_socket_perms_no_ioctl;
allow racoon self:capability { net_admin net_bind_service net_raw setuid }; allow racoon self:capability { net_admin net_bind_service net_raw };
# XXX: should we give ip-up-vpn its own label (currently racoon domain) # XXX: should we give ip-up-vpn its own label (currently racoon domain)
allow racoon system_file:file rx_file_perms; allow racoon system_file:file rx_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment