From fd7a8150fbfa35eca5fa77c068493cc6315a4eb2 Mon Sep 17 00:00:00 2001 From: Mike Barcroft Date: Wed, 9 Apr 2003 02:55:18 +0000 Subject: o In struct prison, add an allprison linked list of prisons (protected by allprison_mtx), a unique prison/jail identifier field, two path fields (pr_path for reporting and pr_root vnode instance) to store the chroot() point of each jail. o Add jail_attach(2) to allow a process to bind to an existing jail. o Add change_root() to perform the chroot operation on a specified vnode. o Generalize change_dir() to accept a vnode, and move namei() calls to callers of change_dir(). o Add a new sysctl (security.jail.list) which is a group of struct xprison instances that represent a snapshot of active jails. Reviewed by: rwatson, tjr --- sys/ia64/ia32/syscalls.master | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/ia64/ia32') diff --git a/sys/ia64/ia32/syscalls.master b/sys/ia64/ia32/syscalls.master index 48ce6cf76de2..e46237744c98 100644 --- a/sys/ia64/ia32/syscalls.master +++ b/sys/ia64/ia32/syscalls.master @@ -607,4 +607,5 @@ 433 STD BSD { int thr_kill(thr_id_t id, int sig); } 434 MSTD BSD { int _umtx_lock(struct umtx *umtx); } 435 MSTD BSD { int _umtx_unlock(struct umtx *umtx); } +436 MSTD BSD { int jail_attach(int jid); } -- cgit v1.2.3