Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/rump/rumpkern check that setuid() works for procs with...
details: https://anonhg.NetBSD.org/src/rev/c46eefa4a228
branches: trunk
changeset: 335688:c46eefa4a228
user: pooka <pooka%NetBSD.org@localhost>
date: Wed Jan 21 15:00:50 2015 +0000
description:
check that setuid() works for procs with >1 lwp
diffstat:
tests/rump/rumpkern/t_lwproc.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r c87c85e0f115 -r c46eefa4a228 tests/rump/rumpkern/t_lwproc.c
--- a/tests/rump/rumpkern/t_lwproc.c Wed Jan 21 14:39:37 2015 +0000
+++ b/tests/rump/rumpkern/t_lwproc.c Wed Jan 21 15:00:50 2015 +0000
@@ -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 @@
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();
Home |
Main Index |
Thread Index |
Old Index