CVS commit: [netbsd-9] src/tests/lib/libc/sys
Module Name:src Committed By: martin Date: Sat Dec 9 12:43:48 UTC 2023 Modified Files: src/tests/lib/libc/sys [netbsd-9]: Makefile Log Message: Additionally pull up following revision(s) (requested by riastradh in ticket #1769): tests/lib/libc/sys/Makefile: revision 1.75 (via patch) t_setrlimit uses alloca now To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.57.2.1 src/tests/lib/libc/sys/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libc/sys/Makefile diff -u src/tests/lib/libc/sys/Makefile:1.57 src/tests/lib/libc/sys/Makefile:1.57.2.1 --- src/tests/lib/libc/sys/Makefile:1.57 Sun Jun 30 21:20:04 2019 +++ src/tests/lib/libc/sys/Makefile Sat Dec 9 12:43:48 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.57 2019/06/30 21:20:04 mgorny Exp $ +# $NetBSD: Makefile,v 1.57.2.1 2023/12/09 12:43:48 martin Exp $ MKMAN= no @@ -123,4 +123,6 @@ truncate_test.root_owned: WARNS= 4 +COPTS.t_setrlimit.c+= -Wno-error=stack-protector + .include
CVS commit: [netbsd-9] src/tests/lib/libc/sys
Module Name:src Committed By: martin Date: Sat Dec 9 12:43:48 UTC 2023 Modified Files: src/tests/lib/libc/sys [netbsd-9]: Makefile Log Message: Additionally pull up following revision(s) (requested by riastradh in ticket #1769): tests/lib/libc/sys/Makefile: revision 1.75 (via patch) t_setrlimit uses alloca now To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.57.2.1 src/tests/lib/libc/sys/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/tests/lib/libc/sys
Module Name:src Committed By: martin Date: Tue Oct 15 18:47:03 UTC 2019 Modified Files: src/tests/lib/libc/sys [netbsd-9]: t_ptrace_wait.c Log Message: Pull up following revision(s) (requested by kamil in ticket #317): tests/lib/libc/sys/t_ptrace_wait.c: revision 1.133 Merge PT_GET_PROCESS_STATE checks into traceme_raise ATF ptrace tests Assert that PT_GET_PROCESS_STATE for !child and !lwp events returns non-error and zeroed struct ptrace_state. These checks are not really special to traceme_raise, it's just an opportunity to reuse them in an existing tests without writing a dedicated one. This behavior is needed to maintain in 3rd party software (GDB). To generate a diff of this commit: cvs rdiff -u -r1.131.2.4 -r1.131.2.5 src/tests/lib/libc/sys/t_ptrace_wait.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/lib/libc/sys/t_ptrace_wait.c diff -u src/tests/lib/libc/sys/t_ptrace_wait.c:1.131.2.4 src/tests/lib/libc/sys/t_ptrace_wait.c:1.131.2.5 --- src/tests/lib/libc/sys/t_ptrace_wait.c:1.131.2.4 Tue Oct 15 18:43:02 2019 +++ src/tests/lib/libc/sys/t_ptrace_wait.c Tue Oct 15 18:47:03 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: t_ptrace_wait.c,v 1.131.2.4 2019/10/15 18:43:02 martin Exp $ */ +/* $NetBSD: t_ptrace_wait.c,v 1.131.2.5 2019/10/15 18:47:03 martin Exp $ */ /*- * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include -__RCSID("$NetBSD: t_ptrace_wait.c,v 1.131.2.4 2019/10/15 18:43:02 martin Exp $"); +__RCSID("$NetBSD: t_ptrace_wait.c,v 1.131.2.5 2019/10/15 18:47:03 martin Exp $"); #include #include @@ -140,7 +140,10 @@ traceme_raise(int sigval) int status; #endif + ptrace_state_t state, zero_state; + const int slen = sizeof(state); struct ptrace_siginfo info; + memset(&zero_state, 0, sizeof(zero_state)); memset(&info, 0, sizeof(info)); DPRINTF("Before forking process PID=%d\n", getpid()); @@ -170,6 +173,9 @@ traceme_raise(int sigval) switch (sigval) { case SIGKILL: validate_status_signaled(status, sigval, 0); + SYSCALL_REQUIRE( + ptrace(PT_GET_PROCESS_STATE, child, &state, slen) == -1); + break; default: validate_status_stopped(status, sigval); @@ -188,6 +194,11 @@ traceme_raise(int sigval) ATF_REQUIRE_EQ(info.psi_siginfo.si_signo, sigval); ATF_REQUIRE_EQ(info.psi_siginfo.si_code, SI_LWP); + DPRINTF("Assert that PT_GET_PROCESS_STATE returns non-error"); + SYSCALL_REQUIRE( + ptrace(PT_GET_PROCESS_STATE, child, &state, slen) != -1); + ATF_REQUIRE(memcmp(&state, &zero_state, slen) == 0); + DPRINTF("Before resuming the child process where it left off " "and without signal to be sent\n"); SYSCALL_REQUIRE(ptrace(PT_CONTINUE, child, (void *)1, 0) != -1);
CVS commit: [netbsd-9] src/tests/lib/libc/sys
Module Name:src Committed By: martin Date: Tue Oct 15 18:47:03 UTC 2019 Modified Files: src/tests/lib/libc/sys [netbsd-9]: t_ptrace_wait.c Log Message: Pull up following revision(s) (requested by kamil in ticket #317): tests/lib/libc/sys/t_ptrace_wait.c: revision 1.133 Merge PT_GET_PROCESS_STATE checks into traceme_raise ATF ptrace tests Assert that PT_GET_PROCESS_STATE for !child and !lwp events returns non-error and zeroed struct ptrace_state. These checks are not really special to traceme_raise, it's just an opportunity to reuse them in an existing tests without writing a dedicated one. This behavior is needed to maintain in 3rd party software (GDB). To generate a diff of this commit: cvs rdiff -u -r1.131.2.4 -r1.131.2.5 src/tests/lib/libc/sys/t_ptrace_wait.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/tests/lib/libc/sys
Module Name:src Committed By: martin Date: Tue Oct 15 18:43:02 UTC 2019 Modified Files: src/tests/lib/libc/sys [netbsd-9]: t_ptrace_wait.c Log Message: Pull up following revision(s) (requested by kamil in ticket #315): tests/lib/libc/sys/t_ptrace_wait.c: revision 1.132 Add a few static asserts in t_ptrace_wait.c for conditions that must be kept Assert that ptrace_state and siginfo_t's _ptrace_state are synchronized. To generate a diff of this commit: cvs rdiff -u -r1.131.2.3 -r1.131.2.4 src/tests/lib/libc/sys/t_ptrace_wait.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/lib/libc/sys/t_ptrace_wait.c diff -u src/tests/lib/libc/sys/t_ptrace_wait.c:1.131.2.3 src/tests/lib/libc/sys/t_ptrace_wait.c:1.131.2.4 --- src/tests/lib/libc/sys/t_ptrace_wait.c:1.131.2.3 Tue Oct 15 18:40:02 2019 +++ src/tests/lib/libc/sys/t_ptrace_wait.c Tue Oct 15 18:43:02 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: t_ptrace_wait.c,v 1.131.2.3 2019/10/15 18:40:02 martin Exp $ */ +/* $NetBSD: t_ptrace_wait.c,v 1.131.2.4 2019/10/15 18:43:02 martin Exp $ */ /*- * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include -__RCSID("$NetBSD: t_ptrace_wait.c,v 1.131.2.3 2019/10/15 18:40:02 martin Exp $"); +__RCSID("$NetBSD: t_ptrace_wait.c,v 1.131.2.4 2019/10/15 18:43:02 martin Exp $"); #include #include @@ -41,6 +41,7 @@ __RCSID("$NetBSD: t_ptrace_wait.c,v 1.13 #include #include #include +#include #include #include #include @@ -73,6 +74,20 @@ __RCSID("$NetBSD: t_ptrace_wait.c,v 1.13 #include +/* Assumptions in the kernel code that must be kept. */ +static_assert(sizeof(((struct ptrace_state *)0)->pe_report_event) == +sizeof(((siginfo_t *)0)->si_pe_report_event), +"pe_report_event and si_pe_report_event must be of the same size"); +static_assert(sizeof(((struct ptrace_state *)0)->pe_other_pid) == +sizeof(((siginfo_t *)0)->si_pe_other_pid), +"pe_other_pid and si_pe_other_pid must be of the same size"); +static_assert(sizeof(((struct ptrace_state *)0)->pe_lwp) == +sizeof(((siginfo_t *)0)->si_pe_lwp), +"pe_lwp and si_pe_lwp must be of the same size"); +static_assert(sizeof(((struct ptrace_state *)0)->pe_other_pid) == +sizeof(((struct ptrace_state *)0)->pe_lwp), +"pe_other_pid and pe_lwp must be of the same size"); + #include "h_macros.h" #include "t_ptrace_wait.h"
CVS commit: [netbsd-9] src/tests/lib/libc/sys
Module Name:src Committed By: martin Date: Tue Oct 15 18:43:02 UTC 2019 Modified Files: src/tests/lib/libc/sys [netbsd-9]: t_ptrace_wait.c Log Message: Pull up following revision(s) (requested by kamil in ticket #315): tests/lib/libc/sys/t_ptrace_wait.c: revision 1.132 Add a few static asserts in t_ptrace_wait.c for conditions that must be kept Assert that ptrace_state and siginfo_t's _ptrace_state are synchronized. To generate a diff of this commit: cvs rdiff -u -r1.131.2.3 -r1.131.2.4 src/tests/lib/libc/sys/t_ptrace_wait.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/tests/lib/libc/sys
Module Name:src Committed By: martin Date: Tue Oct 15 18:40:02 UTC 2019 Modified Files: src/tests/lib/libc/sys [netbsd-9]: t_ptrace_wait.c Log Message: Pull up following revision(s) (requested by kamil in ticket #314): tests/lib/libc/sys/t_ptrace_wait.c: revision 1.137 Fix race in t_ptrace_wait* LWP tests Increment the done variable under a mutex. This variable was updated non-atomically and sometimes not reaching the expected treshold. To generate a diff of this commit: cvs rdiff -u -r1.131.2.2 -r1.131.2.3 src/tests/lib/libc/sys/t_ptrace_wait.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/tests/lib/libc/sys
Module Name:src Committed By: martin Date: Tue Oct 15 18:40:02 UTC 2019 Modified Files: src/tests/lib/libc/sys [netbsd-9]: t_ptrace_wait.c Log Message: Pull up following revision(s) (requested by kamil in ticket #314): tests/lib/libc/sys/t_ptrace_wait.c: revision 1.137 Fix race in t_ptrace_wait* LWP tests Increment the done variable under a mutex. This variable was updated non-atomically and sometimes not reaching the expected treshold. To generate a diff of this commit: cvs rdiff -u -r1.131.2.2 -r1.131.2.3 src/tests/lib/libc/sys/t_ptrace_wait.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/lib/libc/sys/t_ptrace_wait.c diff -u src/tests/lib/libc/sys/t_ptrace_wait.c:1.131.2.2 src/tests/lib/libc/sys/t_ptrace_wait.c:1.131.2.3 --- src/tests/lib/libc/sys/t_ptrace_wait.c:1.131.2.2 Tue Oct 15 18:34:34 2019 +++ src/tests/lib/libc/sys/t_ptrace_wait.c Tue Oct 15 18:40:02 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: t_ptrace_wait.c,v 1.131.2.2 2019/10/15 18:34:34 martin Exp $ */ +/* $NetBSD: t_ptrace_wait.c,v 1.131.2.3 2019/10/15 18:40:02 martin Exp $ */ /*- * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include -__RCSID("$NetBSD: t_ptrace_wait.c,v 1.131.2.2 2019/10/15 18:34:34 martin Exp $"); +__RCSID("$NetBSD: t_ptrace_wait.c,v 1.131.2.3 2019/10/15 18:40:02 martin Exp $"); #include #include @@ -5432,12 +5432,15 @@ TRACEME_EXEC(traceme_signalignored_exec, #define TRACE_THREADS_NUM 100 static volatile int done; +pthread_mutex_t trace_threads_mtx = PTHREAD_MUTEX_INITIALIZER; static void * trace_threads_cb(void *arg __unused) { + pthread_mutex_lock(&trace_threads_mtx); done++; + pthread_mutex_unlock(&trace_threads_mtx); while (done < TRACE_THREADS_NUM) sched_yield();
CVS commit: [netbsd-9] src/tests/lib/libc/sys
Module Name:src Committed By: martin Date: Tue Oct 15 18:34:34 UTC 2019 Modified Files: src/tests/lib/libc/sys [netbsd-9]: t_ptrace_wait.c Log Message: Pull up following revision(s) (requested by kamil in ticket #312): tests/lib/libc/sys/t_ptrace_wait.c: revision 1.135 Bump the number of threads in LWP t_ptrace_wait*() tests from to 100 This is a torture, but on purpose to catch LWP_CREATED and LWP_EXITED bugs. The threads do nothing other than calling sched_yield() in a loop. MAXLWP is now defined to 2048 on all ports. This change effects the following tests: - trace_thread_nolwpevents - trace_thread_lwpexit - trace_thread_lwpcreate - trace_thread_lwpcreate_and_exit To generate a diff of this commit: cvs rdiff -u -r1.131.2.1 -r1.131.2.2 src/tests/lib/libc/sys/t_ptrace_wait.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [netbsd-9] src/tests/lib/libc/sys
Module Name:src Committed By: martin Date: Tue Oct 15 18:34:34 UTC 2019 Modified Files: src/tests/lib/libc/sys [netbsd-9]: t_ptrace_wait.c Log Message: Pull up following revision(s) (requested by kamil in ticket #312): tests/lib/libc/sys/t_ptrace_wait.c: revision 1.135 Bump the number of threads in LWP t_ptrace_wait*() tests from to 100 This is a torture, but on purpose to catch LWP_CREATED and LWP_EXITED bugs. The threads do nothing other than calling sched_yield() in a loop. MAXLWP is now defined to 2048 on all ports. This change effects the following tests: - trace_thread_nolwpevents - trace_thread_lwpexit - trace_thread_lwpcreate - trace_thread_lwpcreate_and_exit To generate a diff of this commit: cvs rdiff -u -r1.131.2.1 -r1.131.2.2 src/tests/lib/libc/sys/t_ptrace_wait.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/lib/libc/sys/t_ptrace_wait.c diff -u src/tests/lib/libc/sys/t_ptrace_wait.c:1.131.2.1 src/tests/lib/libc/sys/t_ptrace_wait.c:1.131.2.2 --- src/tests/lib/libc/sys/t_ptrace_wait.c:1.131.2.1 Tue Oct 15 18:22:55 2019 +++ src/tests/lib/libc/sys/t_ptrace_wait.c Tue Oct 15 18:34:34 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: t_ptrace_wait.c,v 1.131.2.1 2019/10/15 18:22:55 martin Exp $ */ +/* $NetBSD: t_ptrace_wait.c,v 1.131.2.2 2019/10/15 18:34:34 martin Exp $ */ /*- * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include -__RCSID("$NetBSD: t_ptrace_wait.c,v 1.131.2.1 2019/10/15 18:22:55 martin Exp $"); +__RCSID("$NetBSD: t_ptrace_wait.c,v 1.131.2.2 2019/10/15 18:34:34 martin Exp $"); #include #include @@ -5429,6 +5429,8 @@ TRACEME_EXEC(traceme_signalignored_exec, /// +#define TRACE_THREADS_NUM 100 + static volatile int done; static void * @@ -5437,8 +5439,8 @@ trace_threads_cb(void *arg __unused) done++; - while (done < 3) - continue; + while (done < TRACE_THREADS_NUM) + sched_yield(); return NULL; } @@ -5457,7 +5459,7 @@ trace_threads(bool trace_create, bool tr const int elen = sizeof(event); struct ptrace_siginfo info; - pthread_t t[3]; + pthread_t t[TRACE_THREADS_NUM]; int rv; size_t n; lwpid_t lid;
CVS commit: [netbsd-9] src/tests/lib/libc/sys
Module Name:src Committed By: martin Date: Tue Oct 15 18:22:55 UTC 2019 Modified Files: src/tests/lib/libc/sys [netbsd-9]: t_ptrace_wait.c Log Message: Pull up following revision(s) (requested by kamil in ticket #310): tests/lib/libc/sys/t_ptrace_wait.c: revision 1.134 Remove ATF t_ptrace_wait test suspend1 The tests verifies that a thread can be suspended by a debugger and later resumed by a tracee. This is an unwanted behavior and will be fixed soon. To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.131.2.1 src/tests/lib/libc/sys/t_ptrace_wait.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/lib/libc/sys/t_ptrace_wait.c diff -u src/tests/lib/libc/sys/t_ptrace_wait.c:1.131 src/tests/lib/libc/sys/t_ptrace_wait.c:1.131.2.1 --- src/tests/lib/libc/sys/t_ptrace_wait.c:1.131 Mon Jul 1 02:04:37 2019 +++ src/tests/lib/libc/sys/t_ptrace_wait.c Tue Oct 15 18:22:55 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: t_ptrace_wait.c,v 1.131 2019/07/01 02:04:37 kamil Exp $ */ +/* $NetBSD: t_ptrace_wait.c,v 1.131.2.1 2019/10/15 18:22:55 martin Exp $ */ /*- * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc. @@ -27,7 +27,7 @@ */ #include -__RCSID("$NetBSD: t_ptrace_wait.c,v 1.131 2019/07/01 02:04:37 kamil Exp $"); +__RCSID("$NetBSD: t_ptrace_wait.c,v 1.131.2.1 2019/10/15 18:22:55 martin Exp $"); #include #include @@ -6328,133 +6328,6 @@ lwp_main_stop(void *arg) _lwp_exit(); } -ATF_TC(suspend1); -ATF_TC_HEAD(suspend1, tc) -{ - atf_tc_set_md_var(tc, "descr", - "Verify that a thread can be suspended by a debugger and later " - "resumed by a tracee"); -} - -ATF_TC_BODY(suspend1, tc) -{ - const int exitval = 5; - const int sigval = SIGSTOP; - pid_t child, wpid; -#if defined(TWAIT_HAVE_STATUS) - int status; -#endif - ucontext_t uc; - lwpid_t lid; - static const size_t ssize = 16*1024; - void *stack; - struct ptrace_lwpinfo pl; - struct ptrace_siginfo psi; - volatile int go = 0; - - DPRINTF("Before forking process PID=%d\n", getpid()); - SYSCALL_REQUIRE((child = fork()) != -1); - if (child == 0) { - DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid()); - FORKEE_ASSERT(ptrace(PT_TRACE_ME, 0, NULL, 0) != -1); - - DPRINTF("Before raising %s from child\n", strsignal(sigval)); - FORKEE_ASSERT(raise(sigval) == 0); - - DPRINTF("Before allocating memory for stack in child\n"); - FORKEE_ASSERT((stack = malloc(ssize)) != NULL); - - DPRINTF("Before making context for new lwp in child\n"); - _lwp_makecontext(&uc, lwp_main_stop, NULL, NULL, stack, ssize); - - DPRINTF("Before creating new in child\n"); - FORKEE_ASSERT(_lwp_create(&uc, 0, &lid) == 0); - - while (go == 0) - continue; - - raise(SIGINT); - - FORKEE_ASSERT(_lwp_continue(lid) == 0); - - DPRINTF("Before waiting for lwp %d to exit\n", lid); - FORKEE_ASSERT(_lwp_wait(lid, NULL) == 0); - - DPRINTF("Before verifying that reported %d and running lid %d " - "are the same\n", lid, the_lwp_id); - FORKEE_ASSERT_EQ(lid, the_lwp_id); - - DPRINTF("Before exiting of the child process\n"); - _exit(exitval); - } - DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child); - - DPRINTF("Before calling %s() for the child\n", TWAIT_FNAME); - TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); - - validate_status_stopped(status, sigval); - - DPRINTF("Before resuming the child process where it left off and " - "without signal to be sent\n"); - SYSCALL_REQUIRE(ptrace(PT_CONTINUE, child, (void *)1, 0) != -1); - - DPRINTF("Before calling %s() for the child - expected stopped " - "SIGTRAP\n", TWAIT_FNAME); - TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); - - validate_status_stopped(status, SIGTRAP); - - DPRINTF("Before reading siginfo and lwpid_t\n"); - SYSCALL_REQUIRE(ptrace(PT_GET_SIGINFO, child, &psi, sizeof(psi)) != -1); - - DPRINTF("Before suspending LWP %d\n", psi.psi_lwpid); - SYSCALL_REQUIRE(ptrace(PT_SUSPEND, child, NULL, psi.psi_lwpid) != -1); - -DPRINTF("Write new go to tracee (PID=%d) from tracer (PID=%d)\n", - child, getpid()); - SYSCALL_REQUIRE(ptrace(PT_WRITE_D, child, __UNVOLATILE(&go), 1) != -1); - - DPRINTF("Before resuming the child process where it left off and " - "without signal to be sent\n"); - SYSCALL_REQUIRE(ptrace(PT_CONTINUE, child, (void *)1, 0) != -1); - - DPRINTF("Before calling %s() for the child - expected stopped " - "SIGINT\n", TWAIT_FNAME); - TWAIT_REQUIRE_SUCCESS(wpid = TWAIT_GENERIC(child, &status, 0), child); - - validate_status_stopped(status, SIGINT); - - pl.pl_lwpid = 0; - - SYSCALL_REQUIRE(ptrace(PT_LWPINFO, child, &pl, sizeof(pl)) != -1); - while (pl.pl_lwpid != 0) { - - SYSCALL_REQUIRE(ptrace(PT_LWPINFO, child, &pl, sizeof(pl)) != -1); - switch (pl.pl_lwpid) { - case 1: - ATF_REQUIRE_EQ(pl.pl_event, PL_EVENT_SIGNAL); - break; - case 2: - ATF_REQUIRE_EQ(pl.pl_ev
CVS commit: [netbsd-9] src/tests/lib/libc/sys
Module Name:src Committed By: martin Date: Tue Oct 15 18:22:55 UTC 2019 Modified Files: src/tests/lib/libc/sys [netbsd-9]: t_ptrace_wait.c Log Message: Pull up following revision(s) (requested by kamil in ticket #310): tests/lib/libc/sys/t_ptrace_wait.c: revision 1.134 Remove ATF t_ptrace_wait test suspend1 The tests verifies that a thread can be suspended by a debugger and later resumed by a tracee. This is an unwanted behavior and will be fixed soon. To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.131.2.1 src/tests/lib/libc/sys/t_ptrace_wait.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.