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

This commit is contained in:
pooka 2015-01-21 15:00:50 +00:00
parent 6af7f52b7f
commit d08959252d
1 changed files with 2 additions and 1 deletions

View File

@ -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();