Home
last modified time | relevance | path

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

/freebsd/sys/compat/linux/
H A Dlinux_mib.c274 int jsys; in linux_prison_create() local
276 if (vfs_copyopt(opts, "linux", &jsys, sizeof(jsys)) == 0 && in linux_prison_create()
277 jsys == JAIL_SYS_INHERIT) in linux_prison_create()
292 int error, jsys, len, oss_version; in linux_prison_check() local
295 error = vfs_copyopt(opts, "linux", &jsys, sizeof(jsys)); in linux_prison_check()
299 if (jsys != JAIL_SYS_NEW && jsys != JAIL_SYS_INHERIT) in linux_prison_check()
344 int error, gotversion, jsys, len, oss_version; in linux_prison_set() local
347 error = vfs_copyopt(opts, "linux", &jsys, sizeof(jsys)); in linux_prison_set()
349 jsys = -1; in linux_prison_set()
354 jsys = JAIL_SYS_NEW; in linux_prison_set()
[all …]
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_vfsops.c2372 int jsys; in zfs_jailparam_create() local
2374 if (vfs_copyopt(opts, "zfs", &jsys, sizeof (jsys)) == 0 && in zfs_jailparam_create()
2375 jsys == JAIL_SYS_INHERIT) in zfs_jailparam_create()
2391 int jsys, error; in zfs_jailparam_get() local
2394 jsys = (ppr == pr) ? JAIL_SYS_NEW : JAIL_SYS_INHERIT; in zfs_jailparam_get()
2395 error = vfs_setopt(opts, "zfs", &jsys, sizeof (jsys)); in zfs_jailparam_get()
2398 if (jsys == JAIL_SYS_NEW) { in zfs_jailparam_get()
2427 int error, jsys, mount_snapshot; in zfs_jailparam_set() local
2430 error = vfs_copyopt(opts, "zfs", &jsys, sizeof (jsys)); in zfs_jailparam_set()
2432 jsys = -1; in zfs_jailparam_set()
[all …]
/freebsd/sys/kern/
H A Dsysv_shm.c1164 int error, jsys; in shm_prison_check() local
1170 error = vfs_copyopt(opts, "sysvshm", &jsys, sizeof(jsys)); in shm_prison_check()
1174 switch (jsys) { in shm_prison_check()
1200 int jsys, descend; in shm_prison_set() local
1207 if (vfs_copyopt(opts, "sysvshm", &jsys, sizeof(jsys)) == ENOENT) in shm_prison_set()
1208 jsys = vfs_flagopt(opts, "allow.sysvipc", NULL, 0) in shm_prison_set()
1213 if (jsys == JAIL_SYS_DISABLE) { in shm_prison_set()
1237 } else if (jsys != -1) { in shm_prison_set()
1238 if (jsys == JAIL_SYS_NEW) in shm_prison_set()
1287 int error, jsys; in shm_prison_get() local
[all …]
H A Dsysv_msg.c1536 int error, jsys; in msg_prison_check() local
1542 error = vfs_copyopt(opts, "sysvmsg", &jsys, sizeof(jsys)); in msg_prison_check()
1546 switch (jsys) { in msg_prison_check()
1572 int jsys, descend; in msg_prison_set() local
1578 if (vfs_copyopt(opts, "sysvmsg", &jsys, sizeof(jsys)) == ENOENT) in msg_prison_set()
1579 jsys = vfs_flagopt(opts, "allow.sysvipc", NULL, 0) in msg_prison_set()
1584 if (jsys == JAIL_SYS_DISABLE) { in msg_prison_set()
1608 } else if (jsys != -1) { in msg_prison_set()
1609 if (jsys == JAIL_SYS_NEW) in msg_prison_set()
1658 int error, jsys; in msg_prison_get() local
[all …]
H A Dsysv_sem.c1615 int error, jsys; in sem_prison_check() local
1621 error = vfs_copyopt(opts, "sysvsem", &jsys, sizeof(jsys)); in sem_prison_check()
1625 switch (jsys) { in sem_prison_check()
1651 int jsys, descend; in sem_prison_set() local
1657 if (vfs_copyopt(opts, "sysvsem", &jsys, sizeof(jsys)) == ENOENT) in sem_prison_set()
1658 jsys = vfs_flagopt(opts, "allow.sysvipc", NULL, 0) in sem_prison_set()
1663 if (jsys == JAIL_SYS_DISABLE) { in sem_prison_set()
1687 } else if (jsys != -1) { in sem_prison_set()
1688 if (jsys == JAIL_SYS_NEW) in sem_prison_set()
1737 int error, jsys; in sem_prison_get() local
[all …]
H A Dkern_jail.c998 int deadid, jid, jsys, len, level; in kern_jail_set() local
1105 error = vfs_copyopt(opts, jsf->name, &jsys, sizeof(jsys)); in kern_jail_set()
1110 switch (jsys) { in kern_jail_set()