1/*-
2 * Copyright (c) 2011 James Gritton.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
--- 9 unchanged lines hidden (view full) ---
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/usr.sbin/jail/jailp.h 248854 2013-03-28 21:02:49Z jamie $
27 */
28
29#include <sys/param.h>
30#include <sys/types.h>
31#include <sys/jail.h>
32#include <sys/queue.h>
33#include <sys/time.h>
34
--- 10 unchanged lines hidden (view full) ---
45
46#define PF_VAR 0x01 /* This is a variable, not a true parameter */
47#define PF_APPEND 0x02 /* Append to existing parameter list */
48#define PF_BAD 0x04 /* Unable to resolve parameter value */
49#define PF_INTERNAL 0x08 /* Internal parameter, not passed to kernel */
50#define PF_BOOL 0x10 /* Boolean parameter */
51#define PF_INT 0x20 /* Integer parameter */
52#define PF_CONV 0x40 /* Parameter duplicated in converted form */
53#define PF_REV 0x80 /* Run commands in reverse order on stopping */
54
55#define JF_START 0x0001 /* -c */
56#define JF_SET 0x0002 /* -m */
57#define JF_STOP 0x0004 /* -r */
58#define JF_DEPEND 0x0008 /* Operation required by dependency */
59#define JF_WILD 0x0010 /* Not specified on the command line */
60#define JF_FAILED 0x0020 /* Operation failed */
61#define JF_PARAMS 0x0040 /* Parameters checked and imported */
--- 173 unchanged lines hidden ---
2 * Copyright (c) 2011 James Gritton.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
--- 9 unchanged lines hidden (view full) ---
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/usr.sbin/jail/jailp.h 248854 2013-03-28 21:02:49Z jamie $
27 */
28
29#include <sys/param.h>
30#include <sys/types.h>
31#include <sys/jail.h>
32#include <sys/queue.h>
33#include <sys/time.h>
34
--- 10 unchanged lines hidden (view full) ---
45
46#define PF_VAR 0x01 /* This is a variable, not a true parameter */
47#define PF_APPEND 0x02 /* Append to existing parameter list */
48#define PF_BAD 0x04 /* Unable to resolve parameter value */
49#define PF_INTERNAL 0x08 /* Internal parameter, not passed to kernel */
50#define PF_BOOL 0x10 /* Boolean parameter */
51#define PF_INT 0x20 /* Integer parameter */
52#define PF_CONV 0x40 /* Parameter duplicated in converted form */
53#define PF_REV 0x80 /* Run commands in reverse order on stopping */
54
55#define JF_START 0x0001 /* -c */
56#define JF_SET 0x0002 /* -m */
57#define JF_STOP 0x0004 /* -r */
58#define JF_DEPEND 0x0008 /* Operation required by dependency */
59#define JF_WILD 0x0010 /* Not specified on the command line */
60#define JF_FAILED 0x0020 /* Operation failed */
61#define JF_PARAMS 0x0040 /* Parameters checked and imported */
--- 173 unchanged lines hidden ---