Source-Changes-HG archive

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

[src/trunk]: src/lib/librumphijack document vfs and sysctl knobs to RUMPHIJACK



details:   https://anonhg.NetBSD.org/src/rev/c69d29a3338a
branches:  trunk
changeset: 763082:c69d29a3338a
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Mar 09 23:40:44 2011 +0000

description:
document vfs and sysctl knobs to RUMPHIJACK

diffstat:

 lib/librumphijack/rumphijack.3 |  42 ++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 40 insertions(+), 2 deletions(-)

diffs (63 lines):

diff -r ee7f19b10820 -r c69d29a3338a lib/librumphijack/rumphijack.3
--- a/lib/librumphijack/rumphijack.3    Wed Mar 09 23:26:19 2011 +0000
+++ b/lib/librumphijack/rumphijack.3    Wed Mar 09 23:40:44 2011 +0000
@@ -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



Home | Main Index | Thread Index | Old Index