Module Name:    src
Committed By:   pooka
Date:           Wed Mar  9 23:40:44 UTC 2011

Modified Files:
        src/lib/librumphijack: rumphijack.3

Log Message:
document vfs and sysctl knobs to RUMPHIJACK


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/librumphijack/rumphijack.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/librumphijack/rumphijack.3
diff -u src/lib/librumphijack/rumphijack.3:1.9 src/lib/librumphijack/rumphijack.3:1.10
--- src/lib/librumphijack/rumphijack.3:1.9	Tue Mar  8 23:51:23 2011
+++ src/lib/librumphijack/rumphijack.3	Wed Mar  9 23:40:44 2011
@@ -1,4 +1,4 @@
-.\"     $NetBSD: rumphijack.3,v 1.9 2011/03/08 23:51:23 wiz Exp $
+.\"     $NetBSD: rumphijack.3,v 1.10 2011/03/09 23:40:44 pooka Exp $
 .\"
 .\" Copyright (c) 2011 Antti Kantee.  All rights reserved.
 .\"
@@ -23,7 +23,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd March 8, 2011
+.Dd March 9, 2011
 .Dt RUMPHIJACK 3
 .Os
 .Sh NAME
@@ -135,6 +135,44 @@
 specifies that all protocol families except
 .Dv PF_INET
 should be hijacked.
+.It Dq vfs
+The specifier
+.Ar value
+contains a colon-separated list of which vfs-related system calls
+should be hijacked.
+These differ from the pathname-based file system syscalls in that
+there is no pathname to make the selection based on.
+Current possible values are
+.Dq nfssvc ,
+.Dq getvfsstat
+and
+.Dq fhcalls.
+They indicate hijacking
+.Fn nfssvc ,
+.Fn getvfsstat
+and all file handle calls, respectively.
+The file handle calls include
+.Fn fhopen ,
+.Fn fhstat
+and
+.Fn fhstatvfs1 .
+.Pp
+It is also possible to use
+.Dq all
+and
+.Dq no
+in the same fashion as with the socket hijack specifier.
+.It Dq sysctl
+Direct the
+.Fn __sysctl
+backend of the
+.Xr sysctl 3
+facility to the rump kernel.
+Acceptable values are
+.Dq yes
+and
+.Dq no ,
+meaning to call the rump or the host kernel, respectively.
 .El
 .Pp
 If the environment variable is unset, the default value

Reply via email to