Module Name:    src
Committed By:   pooka
Date:           Wed Jan 21 15:00:50 UTC 2015

Modified Files:
        src/tests/rump/rumpkern: t_lwproc.c

Log Message:
check that setuid() works for procs with >1 lwp


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/rump/rumpkern/t_lwproc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/rump/rumpkern/t_lwproc.c
diff -u src/tests/rump/rumpkern/t_lwproc.c:1.5 src/tests/rump/rumpkern/t_lwproc.c:1.6
--- src/tests/rump/rumpkern/t_lwproc.c:1.5	Sun Jan  2 12:58:17 2011
+++ src/tests/rump/rumpkern/t_lwproc.c	Wed Jan 21 15:00:50 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_lwproc.c,v 1.5 2011/01/02 12:58:17 pooka Exp $	*/
+/*	$NetBSD: t_lwproc.c,v 1.6 2015/01/21 15:00:50 pooka Exp $	*/
 
 /*
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -88,6 +88,7 @@ ATF_TC_BODY(proccreds, tc)
 	rump_init();
 	RZ(rump_pub_lwproc_rfork(RUMP_RFCFDG));
 	l1 = rump_pub_lwproc_curlwp();
+	RZ(rump_pub_lwproc_newlwp());
 
 	RZ(rump_pub_lwproc_rfork(RUMP_RFCFDG));
 	l2 = rump_pub_lwproc_curlwp();

Reply via email to