git: chroot_kernel() - new syscall to set rootnch/rootvn

看板DFBSD_commit作者時間15年前 (2010/06/27 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 72f12c5b169c9e2ced2572c79bfb7f1bf7fca70c Author: Alex Hornung <ahornung@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
文章代碼(AID): #1C9geLmY (DFBSD_commit)