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
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