xref: /freebsd-src/tools/regression/security/proc_to_proc/scenario.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1*274f7445SRobert Watson /*-
2*274f7445SRobert Watson  * Copyright (c) 2001 Robert N. M. Watson
3*274f7445SRobert Watson  * All rights reserved.
4*274f7445SRobert Watson  *
5*274f7445SRobert Watson  * Redistribution and use in source and binary forms, with or without
6*274f7445SRobert Watson  * modification, are permitted provided that the following conditions
7*274f7445SRobert Watson  * are met:
8*274f7445SRobert Watson  * 1. Redistributions of source code must retain the above copyright
9*274f7445SRobert Watson  *    notice, this list of conditions and the following disclaimer.
10*274f7445SRobert Watson  * 2. Redistributions in binary form must reproduce the above copyright
11*274f7445SRobert Watson  *    notice, this list of conditions and the following disclaimer in the
12*274f7445SRobert Watson  *    documentation and/or other materials provided with the distribution.
13*274f7445SRobert Watson  *
14*274f7445SRobert Watson  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15*274f7445SRobert Watson  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16*274f7445SRobert Watson  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17*274f7445SRobert Watson  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18*274f7445SRobert Watson  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19*274f7445SRobert Watson  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20*274f7445SRobert Watson  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21*274f7445SRobert Watson  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22*274f7445SRobert Watson  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23*274f7445SRobert Watson  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24*274f7445SRobert Watson  * SUCH DAMAGE.
25*274f7445SRobert Watson  */
26*274f7445SRobert Watson #ifndef _SCENARIO_H
27*274f7445SRobert Watson #define _SCENARIO_H
28*274f7445SRobert Watson 
29*274f7445SRobert Watson int	setugid __P((int flag));
30*274f7445SRobert Watson int	enact_scenarios __P((void));
31*274f7445SRobert Watson 
32*274f7445SRobert Watson #endif /* !_SCENARIO_H */
33