aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/error_notify
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-07-18 15:46:17 +0200
committerMartin Willi <martin@revosec.ch>2013-07-18 16:00:31 +0200
commitb4b3959b2233f881078f866f50d3296cca235438 (patch)
tree7a85e32e9b411526a846ef004f6db15cadcb8ea1 /src/libcharon/plugins/error_notify
parent1897dd730fa5462edbd22601bdb1231fbaab3fa6 (diff)
downloadstrongswan-b4b3959b2233f881078f866f50d3296cca235438.tar.bz2
strongswan-b4b3959b2233f881078f866f50d3296cca235438.tar.xz
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.
Diffstat (limited to 'src/libcharon/plugins/error_notify')
-rw-r--r--src/libcharon/plugins/error_notify/error_notify_plugin.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/libcharon/plugins/error_notify/error_notify_plugin.c b/src/libcharon/plugins/error_notify/error_notify_plugin.c
index ef0ce7bc6..40ace6014 100644
--- a/src/libcharon/plugins/error_notify/error_notify_plugin.c
+++ b/src/libcharon/plugins/error_notify/error_notify_plugin.c
@@ -92,12 +92,6 @@ plugin_t *error_notify_plugin_create()
{
private_error_notify_plugin_t *this;
- if (!lib->caps->check(lib->caps, CAP_CHOWN))
- { /* required to chown(2) notify socket */
- DBG1(DBG_CFG, "error-notify plugin requires CAP_CHOWN capability");
- return NULL;
- }
-
INIT(this,
.public = {
.plugin = {