Searched refs:jail (Results 1 - 25 of 168) sorted by relevance

1234567

/freebsd-10.1-release/lib/libjail/
H A DMakefile3 LIB= jail
6 SRCS= jail.c jail_getid.c
7 INCS= jail.h
9 MAN= jail.3
11 MLINKS+=jail.3 jail_getid.3
12 MLINKS+=jail.3 jail_getname.3
13 MLINKS+=jail.3 jail_getv.3
14 MLINKS+=jail.3 jail_setv.3
15 MLINKS+=jail.3 jailparam.3
16 MLINKS+=jail
[all...]
/freebsd-10.1-release/etc/rc.d/
H A Dzfs19 if [ `$SYSCTL_N security.jail.mount_allowed` -eq 1 ]; then
35 if [ `$SYSCTL_N security.jail.jailed` -eq 1 ]; then
44 if [ `$SYSCTL_N security.jail.mount_allowed` -eq 1 ]; then
57 if [ `$SYSCTL_N security.jail.jailed` -eq 1 ]; then
H A Dhostname42 # If we are not inside a jail, set the host name if it is not already set.
43 # If we are inside a jail, set the host name even if it is already set,
46 if [ `$SYSCTL_N security.jail.jailed` -eq 1 ]; then
47 if [ `$SYSCTL_N security.jail.set_hostname_allowed` -eq 0 ]; then
53 # If we're not in a jail and rc.conf doesn't specify a
H A Djail6 # PROVIDE: jail
13 name="jail"
23 : ${jail_conf:=/etc/jail.conf}
24 : ${jail_program:=/usr/sbin/jail}
31 # extact_var jail name param num defval
102 warn "parse_options: you must specify a jail"
105 eval _jconf=\"\${jail_${_j}_conf:-/etc/jail.${_j}.conf}\"
118 "(no jail.conf, no hostname, or no path). " \
129 _conf=/var/run/jail.${_j}.conf
136 warn "$_conf is created and used for jail
[all...]
/freebsd-10.1-release/share/doc/papers/
H A DMakefile10 jail \
/freebsd-10.1-release/sys/cddl/compat/opensolaris/sys/
H A Dzone.h34 #include <sys/jail.h>
46 * Attach the given dataset to the given jail.
51 * Detach the given dataset to the given jail.
/freebsd-10.1-release/usr.sbin/jail/
H A DMakefile5 PROG= jail
6 MAN= jail.8 jail.conf.5
7 SRCS= jail.c command.c config.c state.c jailp.h jaillex.l jailparse.y y.tab.h
H A Djailparse.y53 %type <j> jail
62 * A config file is a series of jails (containing parameters) and jail-less
63 * parameters which realy belong to a global pseudo-jail.
67 | conf jail
82 jail : STR '{' param_l '}' label
/freebsd-10.1-release/usr.sbin/bsdinstall/scripts/
H A DMakefile3 SCRIPTS= auto adduser checksum config docsinstall entropy hostname jail \
/freebsd-10.1-release/share/doc/papers/jail/
H A DMakefile4 DOC= jail
/freebsd-10.1-release/tools/regression/netinet/udpconnectjail/
H A Dudpconnectjail.c30 #include <sys/jail.h>
45 * A bug in the jail(8) code prevented processes in jail from properly
79 struct jail thejail;
92 * First run the system call test outside of a jail.
94 test("not in jail", &sin);
97 * Now re-run in a jail.
105 thejail.hostname = "jail";
110 if (jail(&thejail) < 0)
111 errx(-1, "jail
[all...]
/freebsd-10.1-release/contrib/top/
H A Dmachine.h70 int jail; /* show jail ID */ member in struct:process_select
H A Dtop.c41 #include <sys/jail.h>
43 #include <jail.h>
268 ps.jail = No;
417 ps.jail = !ps.jail;
420 case 'J': /* display only jail's processes */
423 fprintf(stderr, "%s: unknown jail\n", optarg);
426 ps.jail = 1;
441 " [-J jail] [-U username] [number]\n",
1093 ps.jail
[all...]
/freebsd-10.1-release/etc/
H A Drc.shutdown84 if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then
86 if [ `/sbin/sysctl -n security.jail.vnet` -ne 1 ]; then
H A Drc80 if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then
85 if [ `/sbin/sysctl -n security.jail.vnet` -ne 1 ]; then
/freebsd-10.1-release/sys/cddl/compat/opensolaris/kern/
H A Dopensolaris_misc.c31 #include <sys/jail.h>
/freebsd-10.1-release/bin/pkill/tests/
H A Dpgrep-j_test.sh28 jail -c path=/ name=${base}_1_1 ip4.addr=127.0.0.1 \
31 jail -c path=/ name=${base}_1_2 ip4.addr=127.0.0.1 \
56 jail -c path=/ name=${base}_2_1 ip4.addr=127.0.0.1 \
59 jail -c path=/ name=${base}_2_2 ip4.addr=127.0.0.1 \
83 jail -c path=/ name=${base}_3_2 ip4.addr=127.0.0.1 \
H A Dpkill-j_test.sh28 jail -c path=/ name=${base}_1_1 ip4.addr=127.0.0.1 \
31 jail -c path=/ name=${base}_1_2 ip4.addr=127.0.0.1 \
58 jail -c path=/ name=${base}_2_1 ip4.addr=127.0.0.1 \
61 jail -c path=/ name=${base}_2_2 ip4.addr=127.0.0.1 \
87 jail -c path=/ name=${base}_3_2 ip4.addr=127.0.0.1 \
/freebsd-10.1-release/tools/regression/mac/mac_bsdextended/
H A Dtest_matches.sh66 # Subject Match on jail
69 rm -f $playground/test-jail
70 jailid=`jail -i / localhost 127.0.0.1 /usr/sbin/daemon -f /bin/sh -c "(sleep 3; touch $playground/test-jail) &"`
73 if [ ! -f $playground/test-jail ] ; then echo good ; fi
76 rm -f $playground/test-jail
77 jailid=`jail -i / localhost 127.0.0.1 /usr/sbin/daemon -f /bin/sh -c "(sleep 3; touch $playground/test-jail) &"`
79 if [ -f $playground/test-jail ] ; then echo good ; fi
/freebsd-10.1-release/lib/libc/sys/
H A DMakefile.inc147 jail.2 \
332 MLINKS+=jail.2 jail_attach.2 \
333 jail.2 jail_get.2 \
334 jail.2 jail_remove.2 \
335 jail.2 jail_set.2
/freebsd-10.1-release/tools/regression/pjdfstest/tests/chflags/
H A D09.t17 old=`sysctl -n security.jail.chflags_allowed`
18 sysctl security.jail.chflags_allowed=1 >/dev/null
64 sysctl security.jail.chflags_allowed=${old} >/dev/null
/freebsd-10.1-release/contrib/openbsm/bin/auditdistd/
H A Dsandbox.c36 #include <sys/jail.h>
68 struct jail jailst;
134 pjdlog_error("Unable to allocate memory for jail host name.");
141 if (jail(&jailst) >= 0) {
146 "Unable to jail to directory %s", pw->pw_dir);
225 capsicum ? "capsicum+" : "", jailed ? "jail" : "chroot");
/freebsd-10.1-release/tools/regression/ipfw/fwd/
H A Dvimage-fwd.sh188 # Start left (sender) jail.
189 ljid=`jail -i -c -n lef$$ host.hostname=left.example.net vnet persist`
191 # Start middle (ipfw) jail.
192 mjid=`jail -i -c -n mid$$ host.hostname=center.example.net vnet persist`
194 # Start right (non-local ip redirects go to here) jail.
195 rjid=`jail -i -c -n right$$ host.hostname=right.example.net vnet persist`
201 # jail: left middle right
349 jail -r ${rjid}
350 jail -r ${mjid}
351 jail
[all...]
/freebsd-10.1-release/usr.sbin/jexec/
H A Djexec.c31 #include <sys/jail.h>
40 #include <jail.h>
138 "usage: jexec [-u username | -U username] jail command ...");
/freebsd-10.1-release/usr.sbin/service/
H A Dservice.sh64 if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then
91 if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then

Completed in 275 milliseconds

1234567