]> git.ipfire.org Git - thirdparty/strongswan.git/commit
stream-service: move CAP_CHOWN check from plugins to service constructor
authorMartin Willi <martin@revosec.ch>
Thu, 18 Jul 2013 13:46:17 +0000 (15:46 +0200)
committerMartin Willi <martin@revosec.ch>
Thu, 18 Jul 2013 14:00:31 +0000 (16:00 +0200)
commitb4b3959b2233f881078f866f50d3296cca235438
tree7a85e32e9b411526a846ef004f6db15cadcb8ea1
parent1897dd730fa5462edbd22601bdb1231fbaab3fa6
stream-service: move CAP_CHOWN check from plugins to service constructor

A plugin service can be a TCP socket now, so it does not make much sense
to strictly check for CAP_CHOWN.
src/libcharon/plugins/duplicheck/duplicheck_plugin.c
src/libcharon/plugins/error_notify/error_notify_plugin.c
src/libcharon/plugins/load_tester/load_tester_plugin.c
src/libcharon/plugins/lookip/lookip_plugin.c
src/libcharon/plugins/stroke/stroke_plugin.c
src/libcharon/plugins/whitelist/whitelist_plugin.c
src/libstrongswan/networking/streams/stream_service.c