Home
last modified time | relevance | path

Searched refs:JAIL_CREATE (Results 1 – 6 of 6) sorted by relevance

/freebsd/lib/libc/tests/sys/
H A Dcpuset_test.c253 if (jail_set(iov, 2, JAIL_CREATE | JAIL_ATTACH) < 0) in do_jail()
474 if ((jid = jail_set(iov, 2, JAIL_CREATE | JAIL_ATTACH)) < 0) in jail_attach_disjoint_newjail()
/freebsd/usr.sbin/jail/
H A Djail.c713 j->jid = jailparam_set_note(j, setparams, ns, JAIL_CREATE); in create_jail()
923 (flags & (JAIL_CREATE | JAIL_UPDATE)) == JAIL_CREATE in jailparam_set_note()
/freebsd/tools/tools/vimage/
H A Dvimage.c253 if (jail_setv(JAIL_CREATE, in main()
/freebsd/sys/sys/
H A Djail.h98 #define JAIL_CREATE 0x01 /* Create jail if it doesn't exist */ macro
/freebsd/sys/kern/
H A Dkern_jail.c516 error = kern_jail_set(td, &opt, JAIL_CREATE | JAIL_ATTACH); in kern_jail()
1019 if ((flags & JAIL_CREATE) && mypr->pr_childmax == 0) in kern_jail_set()
1045 cuflags = flags & (JAIL_CREATE | JAIL_UPDATE); in kern_jail_set()
1129 if ((flags & (JAIL_CREATE | JAIL_ATTACH)) == JAIL_CREATE in kern_jail_set()
1412 if (cuflags == JAIL_CREATE && jid == 0 && name != NULL) { in kern_jail_set()
1452 if (cuflags == JAIL_CREATE && pr != NULL) { in kern_jail_set()
1528 if (cuflags == JAIL_CREATE || pr != NULL) { in kern_jail_set()
/freebsd/libexec/flua/libjail/
H A Dlua_jail.c698 lua_pushinteger(L, JAIL_CREATE); in luaopen_jail()