git: chroot_kernel() - new syscall to set rootnch/rootvn
Alex Hornung
alexh at crater.dragonflybsd.org
Sat Jun 26 18:07:10 PDT 2010
commit 72f12c5b169c9e2ced2572c79bfb7f1bf7fca70c
Author: Alex Hornung <ahornung at gmail.com>
Date: Sat Jun 26 22:34:28 2010 +0100
chroot_kernel() - new syscall to set rootnch/rootvn
* This new syscall can be used to override the default rootnch and
rootvnode which are used for path lookups outside of a process context
(i.e. in kernel-only context)
Summary of changes:
include/unistd.h | 1 +
sys/kern/init_sysent.c | 1 +
sys/kern/syscalls.c | 1 +
sys/kern/syscalls.master | 1 +
sys/kern/vfs_syscalls.c | 42 ++++++++++++++++++++++++++++++++++++++++++
sys/sys/syscall-hide.h | 1 +
sys/sys/syscall.h | 3 ++-
sys/sys/syscall.mk | 3 ++-
sys/sys/sysproto.h | 7 +++++++
sys/sys/sysunion.h | 1 +
10 files changed, 59 insertions(+), 2 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/72f12c5b169c9e2ced2572c79bfb7f1bf7fca70c
--
DragonFly BSD source repository
More information about the Commits
mailing list