From: Tobias Brunner Date: Fri, 14 Oct 2011 13:13:00 +0000 (+0200) Subject: pluto: Fixed usage of prctl. X-Git-Tag: 4.6.0~126 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e45fb76b6040dc28889877bd35bd0dabc0e2d272;p=thirdparty%2Fstrongswan.git pluto: Fixed usage of prctl. --- diff --git a/src/pluto/plutomain.c b/src/pluto/plutomain.c index d5085f5d82..20c9a07a59 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 {