Re: CVS commit: [ipsec-tools-0_8-branch] src/crypto/dist/ipsec-tools/src/racoon

2011-08-13 Thread Christos Zoulas
In article 20110812054606.71cef17...@cvs.netbsd.org, Timo Teräs source-changes-d@NetBSD.org wrote: +static int +privsep_do_exit(void *ctx, int fd) +{ + kill(getpid(), SIGTERM); + return 0; +} + Why not call exit(0) or even kill(0, SIGTERM)? Are you sure this is right? christos

Re: CVS commit: [ipsec-tools-0_8-branch] src/crypto/dist/ipsec-tools/src/racoon

2011-08-13 Thread Joerg Sonnenberger
On Sat, Aug 13, 2011 at 09:21:43AM +, Christos Zoulas wrote: In article 20110812054606.71cef17...@cvs.netbsd.org, Timo Teräs source-changes-d@NetBSD.org wrote: +static int +privsep_do_exit(void *ctx, int fd) +{ +kill(getpid(), SIGTERM); +return 0; +} + Why not call