/freebsd-10.1-release/lib/libjail/ |
H A D | Makefile | 3 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 D | zfs | 19 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 D | hostname | 42 # 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 D | jail | 6 # 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 D | Makefile | 10 jail \
|
/freebsd-10.1-release/sys/cddl/compat/opensolaris/sys/ |
H A D | zone.h | 34 #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 D | Makefile | 5 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 D | jailparse.y | 53 %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 D | Makefile | 3 SCRIPTS= auto adduser checksum config docsinstall entropy hostname jail \
|
/freebsd-10.1-release/share/doc/papers/jail/ |
H A D | Makefile | 4 DOC= jail
|
/freebsd-10.1-release/tools/regression/netinet/udpconnectjail/ |
H A D | udpconnectjail.c | 30 #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 D | machine.h | 70 int jail; /* show jail ID */ member in struct:process_select
|
H A D | top.c | 41 #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 D | rc.shutdown | 84 if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then 86 if [ `/sbin/sysctl -n security.jail.vnet` -ne 1 ]; then
|
H A D | rc | 80 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 D | opensolaris_misc.c | 31 #include <sys/jail.h>
|
/freebsd-10.1-release/bin/pkill/tests/ |
H A D | pgrep-j_test.sh | 28 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 D | pkill-j_test.sh | 28 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 D | test_matches.sh | 66 # 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 D | Makefile.inc | 147 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 D | 09.t | 17 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 D | sandbox.c | 36 #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 D | vimage-fwd.sh | 188 # 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 D | jexec.c | 31 #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 D | service.sh | 64 if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then 91 if [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ]; then
|