DragonFly BSD
DragonFly commits List (threaded) for 2010-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Jun 2010 18:06:14 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]