diff options
author | mike <mike@FreeBSD.org> | 2003-04-09 02:55:18 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2003-04-09 02:55:18 +0000 |
commit | 75859ca578ff1bc109e1263e5c52d225315515e0 (patch) | |
tree | c6122edf636b885d1df318cda6d94636af3212f8 /sys/ia64/ia32 | |
parent | 979ed3a82ea34d46466c4d6f755b15b85df66f15 (diff) | |
download | FreeBSD-src-75859ca578ff1bc109e1263e5c52d225315515e0.zip FreeBSD-src-75859ca578ff1bc109e1263e5c52d225315515e0.tar.gz |
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
Diffstat (limited to 'sys/ia64/ia32')
-rw-r--r-- | sys/ia64/ia32/syscalls.master | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/ia64/ia32/syscalls.master b/sys/ia64/ia32/syscalls.master index 48ce6cf..e462377 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); } |