xref: /freebsd-src/tests/sys/kern/execve/good_aout.c (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1*bbf12e6fSEnji Cooper /*	$NetBSD: goodaout.c,v 1.8 2003/07/26 19:38:49 salo Exp $	*/
2*bbf12e6fSEnji Cooper 
3*bbf12e6fSEnji Cooper /*-
4*bbf12e6fSEnji Cooper  * Copyright (c) 1993 Christopher G. Demetriou
5*bbf12e6fSEnji Cooper  * All rights reserved.
6*bbf12e6fSEnji Cooper  *
7*bbf12e6fSEnji Cooper  * Redistribution and use in source and binary forms, with or without
8*bbf12e6fSEnji Cooper  * modification, are permitted provided that the following conditions
9*bbf12e6fSEnji Cooper  * are met:
10*bbf12e6fSEnji Cooper  * 1. Redistributions of source code must retain the above copyright
11*bbf12e6fSEnji Cooper  *    notice, this list of conditions and the following disclaimer.
12*bbf12e6fSEnji Cooper  * 2. Redistributions in binary form must reproduce the above copyright
13*bbf12e6fSEnji Cooper  *    notice, this list of conditions and the following disclaimer in the
14*bbf12e6fSEnji Cooper  *    documentation and/or other materials provided with the distribution.
15*bbf12e6fSEnji Cooper  * 3. All advertising materials mentioning features or use of this software
16*bbf12e6fSEnji Cooper  *    must display the following acknowledgement:
17*bbf12e6fSEnji Cooper  *          This product includes software developed for the
18*bbf12e6fSEnji Cooper  *          NetBSD Project.  See http://www.NetBSD.org/ for
19*bbf12e6fSEnji Cooper  *          information about NetBSD.
20*bbf12e6fSEnji Cooper  * 4. The name of the author may not be used to endorse or promote products
21*bbf12e6fSEnji Cooper  *    derived from this software without specific prior written permission.
22*bbf12e6fSEnji Cooper  *
23*bbf12e6fSEnji Cooper  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
24*bbf12e6fSEnji Cooper  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
25*bbf12e6fSEnji Cooper  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26*bbf12e6fSEnji Cooper  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
27*bbf12e6fSEnji Cooper  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28*bbf12e6fSEnji Cooper  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29*bbf12e6fSEnji Cooper  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30*bbf12e6fSEnji Cooper  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31*bbf12e6fSEnji Cooper  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
32*bbf12e6fSEnji Cooper  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33*bbf12e6fSEnji Cooper  */
34*bbf12e6fSEnji Cooper 
35*bbf12e6fSEnji Cooper #include <stdio.h>
36*bbf12e6fSEnji Cooper #include <stdlib.h>
37*bbf12e6fSEnji Cooper 
38*bbf12e6fSEnji Cooper int
main(void)39*bbf12e6fSEnji Cooper main(void)
40*bbf12e6fSEnji Cooper {
41*bbf12e6fSEnji Cooper 	printf("succeeded\n");
42*bbf12e6fSEnji Cooper 	exit(0);
43*bbf12e6fSEnji Cooper }
44