xref: /freebsd/contrib/netbsd-tests/kernel/t_ptrace_wait3.c (revision d370fd1cd8fc69e87dc63f4f4a82e5a8b4956c93)
1*cdebaff8SEnji Cooper /*	$NetBSD: t_ptrace_wait3.c,v 1.1 2016/11/07 21:09:03 kamil Exp $	*/
2*cdebaff8SEnji Cooper 
3*cdebaff8SEnji Cooper /*-
4*cdebaff8SEnji Cooper  * Copyright (c) 2016 The NetBSD Foundation, Inc.
5*cdebaff8SEnji Cooper  * All rights reserved.
6*cdebaff8SEnji Cooper  *
7*cdebaff8SEnji Cooper  * Redistribution and use in source and binary forms, with or without
8*cdebaff8SEnji Cooper  * modification, are permitted provided that the following conditions
9*cdebaff8SEnji Cooper  * are met:
10*cdebaff8SEnji Cooper  * 1. Redistributions of source code must retain the above copyright
11*cdebaff8SEnji Cooper  *    notice, this list of conditions and the following disclaimer.
12*cdebaff8SEnji Cooper  * 2. Redistributions in binary form must reproduce the above copyright
13*cdebaff8SEnji Cooper  *    notice, this list of conditions and the following disclaimer in the
14*cdebaff8SEnji Cooper  *    documentation and/or other materials provided with the distribution.
15*cdebaff8SEnji Cooper  *
16*cdebaff8SEnji Cooper  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
17*cdebaff8SEnji Cooper  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
18*cdebaff8SEnji Cooper  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19*cdebaff8SEnji Cooper  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
20*cdebaff8SEnji Cooper  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21*cdebaff8SEnji Cooper  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22*cdebaff8SEnji Cooper  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23*cdebaff8SEnji Cooper  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24*cdebaff8SEnji Cooper  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25*cdebaff8SEnji Cooper  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26*cdebaff8SEnji Cooper  * POSSIBILITY OF SUCH DAMAGE.
27*cdebaff8SEnji Cooper  */
28*cdebaff8SEnji Cooper 
29*cdebaff8SEnji Cooper #define TWAIT_WAIT3
30*cdebaff8SEnji Cooper #include "t_ptrace_wait.c"
31