Searched refs:prison (Results 1 - 19 of 19) sorted by relevance
/freebsd-10.3-release/sys/sys/ |
H A D | jail.h | 143 * This structure describes a prison. It is pointed to by all struct 154 struct prison { struct 155 TAILQ_ENTRY(prison) pr_list; /* (a) all prisons */ 156 int pr_id; /* (c) prison id */ 160 LIST_HEAD(, prison) pr_children; /* (a) list of child jails */ 161 LIST_ENTRY(prison) pr_sibling; /* (a) next in parent's list */ 162 struct prison *pr_parent; /* (c) containing jail */ 250 * Lock/unlock a prison. 256 prison_lock(struct prison *pr) 263 prison_unlock(struct prison *p [all...] |
H A D | cpuset.h | 116 struct prison; 123 int cpuset_create_root(struct prison *, struct cpuset **);
|
H A D | ucred.h | 58 struct prison *cr_prison; /* jail(2) */
|
/freebsd-10.3-release/lib/libkvm/ |
H A D | kvm_vnet.c | 63 struct prison prison; local 179 if (kvm_read(kd, (uintptr_t)cred.cr_prison, &prison, sizeof(prison)) != 180 sizeof(prison)) { 181 _kvm_err(kd, kd->program, "%s: prison", __func__); 184 if (prison.pr_vnet == NULL) { 188 if (kvm_read(kd, (uintptr_t)prison.pr_vnet, &vnet, sizeof(vnet)) != 200 kd->vnet_current = (uintptr_t)prison.pr_vnet;
|
H A D | kvm_proc.c | 60 #define _WANT_PRISON /* make jail.h give us 'struct prison' */ 128 struct prison pr; 175 "can't read prison at %p",
|
/freebsd-10.3-release/sys/compat/linux/ |
H A D | linux_mib.c | 162 * Find a prison with Linux info. 163 * Return the Linux info and the (locked) prison. 166 linux_find_prison(struct prison *spr, struct prison **prp) 168 struct prison *pr; 189 * Ensure a prison has its own Linux info. If lprp is non-null, point it to 190 * the Linux info and lock the prison. 193 linux_alloc_prison(struct prison *pr, struct linux_prison **lprp) 195 struct prison *ppr; 199 /* If this prison alread [all...] |
/freebsd-10.3-release/sys/kern/ |
H A D | kern_jail.c | 80 MALLOC_DEFINE(M_PRISON, "prison", "Prison structures"); 83 /* Keep struct prison prison0 and some code in kern_jail_set() readable. */ 99 struct prison prison0 = { 126 static int do_jail_attach(struct thread *td, struct prison *pr); 128 static void prison_deref(struct prison *pr, int flags); 129 static char *prison_path(struct prison *pr1, struct prison *pr2); 130 static void prison_remove_one(struct prison *pr); 132 static void prison_racct_attach(struct prison *pr); 133 static void prison_racct_modify(struct prison *p [all...] |
H A D | kern_mib.c | 264 struct prison *pr, *cpr; 314 (void *)(offsetof(struct prison, pr_hostname)), MAXHOSTNAMELEN, 318 (void *)(offsetof(struct prison, pr_domainname)), MAXHOSTNAMELEN, 322 (void *)(offsetof(struct prison, pr_hostuuid)), HOSTUUIDLEN, 335 struct prison *pr, *cpr; 387 struct prison *pr, *cpr; 425 * creation, so we always return the copy from the current prison data. 430 struct prison *pr; 444 * creation, so we always return the value from the current prison data. 449 struct prison *p [all...] |
H A D | kern_racct.c | 585 struct prison *pr; 861 struct prison *pr; 1037 struct prison *oldpr, *newpr, *pr;
|
H A D | kern_cpuset.c | 446 /* Find `set' for prison with given id. */ 447 struct prison *pr; 774 cpuset_create_root(struct prison *pr, struct cpuset **setp)
|
H A D | uipc_mqueue.c | 658 struct prison *pr; 837 /* Only match names within the same prison root directory */ 1428 * Only show names within the same prison root directory 1429 * (or not associated with a prison, e.g. "." and ".."). 1567 * Set a destructor task with the prison's root 1572 struct prison *pr = obj; 1604 * See if this prison root is obsolete, and clean up associated queues if it is 1611 const struct prison *pr;
|
H A D | vfs_lookup.c | 472 struct prison *pr;
|
H A D | kern_rctl.c | 1036 struct prison *pr;
|
H A D | kern_descrip.c | 2869 struct prison *pr;
|
/freebsd-10.3-release/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_zone.c | 63 struct prison *pr; 69 /* Allocate memory before we grab prison's mutex. */ 115 struct prison *pr; 158 struct prison *pr;
|
/freebsd-10.3-release/sys/netinet6/ |
H A D | in6_ifattach.c | 115 struct prison *pr; 625 struct prison *pr;
|
H A D | icmp6.c | 674 struct prison *pr; 1250 struct prison *pr;
|
/freebsd-10.3-release/sys/security/audit/ |
H A D | audit.c | 215 struct prison *pr;
|
/freebsd-10.3-release/sys/net/ |
H A D | if.c | 1096 * Move an ifnet to or from another child prison/vnet, specified by the jail id. 1101 struct prison *pr; 1104 /* Try to find the prison within our visibility. */ 1113 /* Do not try to move the iface from and to the same prison. */ 1119 /* Make sure the named iface does not exists in the dst. prison/vnet. */ 1142 struct prison *pr; 1146 /* Try to find the prison within our visibility. */ 1155 /* Make sure the named iface exists in the source prison/vnet. */ 1164 /* Do not try to move the iface from and to the same prison. */
|
Completed in 288 milliseconds