xref: /freebsd/tools/regression/security/proc_to_proc/scenario.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1274f7445SRobert Watson /*-
2274f7445SRobert Watson  * Copyright (c) 2001 Robert N. M. Watson
3274f7445SRobert Watson  * All rights reserved.
4274f7445SRobert Watson  *
5274f7445SRobert Watson  * Redistribution and use in source and binary forms, with or without
6274f7445SRobert Watson  * modification, are permitted provided that the following conditions
7274f7445SRobert Watson  * are met:
8274f7445SRobert Watson  * 1. Redistributions of source code must retain the above copyright
9274f7445SRobert Watson  *    notice, this list of conditions and the following disclaimer.
10274f7445SRobert Watson  * 2. Redistributions in binary form must reproduce the above copyright
11274f7445SRobert Watson  *    notice, this list of conditions and the following disclaimer in the
12274f7445SRobert Watson  *    documentation and/or other materials provided with the distribution.
13274f7445SRobert Watson  *
14274f7445SRobert Watson  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15274f7445SRobert Watson  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16274f7445SRobert Watson  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17274f7445SRobert Watson  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18274f7445SRobert Watson  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19274f7445SRobert Watson  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20274f7445SRobert Watson  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21274f7445SRobert Watson  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22274f7445SRobert Watson  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23274f7445SRobert Watson  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24274f7445SRobert Watson  * SUCH DAMAGE.
25274f7445SRobert Watson  */
26274f7445SRobert Watson #ifndef _SCENARIO_H
27274f7445SRobert Watson #define _SCENARIO_H
28274f7445SRobert Watson 
29274f7445SRobert Watson int	setugid __P((int flag));
30274f7445SRobert Watson int	enact_scenarios __P((void));
31274f7445SRobert Watson 
32274f7445SRobert Watson #endif /* !_SCENARIO_H */
33