From e45fb76b6040dc28889877bd35bd0dabc0e2d272 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 14 Oct 2011 15:13:00 +0200 Subject: [PATCH] pluto: Fixed usage of prctl. --- src/pluto/plutomain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pluto/plutomain.c b/src/pluto/plutomain.c index d5085f5d8..20c9a07a5 100644 --- a/src/pluto/plutomain.c +++ b/src/pluto/plutomain.c @@ -711,7 +711,7 @@ int main(int argc, char **argv) whack_attribute_initialize(); /* drop unneeded capabilities and change UID/GID */ - prctl(PR_SET_KEEPCAPS, 1); + prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); #ifdef IPSEC_GROUP {