Commit Graph

17 Commits

Author SHA1 Message Date
christos
8c13db6ad0 add the headers you need 2012-11-04 22:47:21 +00:00
pooka
0a80f65755 support CTLTYPE_BOOL 2010-08-06 15:26:16 +00:00
pooka
c7528563f1 If compiled with RUMP_ACTION, access rump kernel instead of host
kernel.  This is an easy way to browse & modify the sysctl tree
offered by a rump kernel instance.
2010-08-06 15:04:13 +00:00
pooka
04c1597880 Add raw mode, which skips ASCII'ification and can be used if reading
structures from the kernel into debug program memory is desired.
2010-04-11 15:08:17 +00:00
pooka
c8360f5cc9 Instead of totally giving up, dump CTLTYPE_STRUCT as hex, much
like sysctl -x (but not fancy like -dosequis).
2010-04-11 08:30:17 +00:00
pooka
5866121c7c more lp64 it's-a-sign! fixes 2009-11-05 13:28:18 +00:00
njoly
4c9ac951c7 Fix a crash while trying to read nodes on amd64, reported in PR/41494,
by not doing any transfert when offset exceed the actual data length.

From and ok by pooka@.
2009-05-28 10:07:06 +00:00
lukem
3cafe960ea fix -Wsign-compare issues 2009-01-18 10:10:47 +00:00
christos
fc978808f9 fix more A0 2008-09-12 14:40:46 +00:00
pooka
21913eabe5 Rototill.
Ok, ok, a few more words about it: stop holding puffs_cc as a holy
value and passing it around to almost every possible place (popquiz:
which kernel variable does this remind you of?).  Instead, pass
the natural choice, puffs_usermount, and fetch puffs_cc via
puffs_cc_getcc() only in routines which actually need it.  This
not only simplifies code, but (thanks to the introduction of
puffs_cc_getcc()) enables constructs which weren't previously sanely
possible, say layering as a curious example.

There's still a little to do on this front, but this was the major
fs interface blast.
2007-11-30 19:02:28 +00:00
pooka
6a3d9a187d Remove "puffs_cid" from the puffs interface following l-removal
from the kernel vfs interfaces.  puffs_cc_getcaller(pcc) can be
used now should the same information be desired.
2007-11-27 11:31:17 +00:00
pooka
4462e9454f use puffs_daemon() instead of daemon() 2007-11-16 18:39:01 +00:00
pooka
ec865a5b29 Actually, daemonize the file servers before mounting. I might require
at some point that the local protocol handler does not change after
the file system has been mounted.
2007-11-05 17:54:31 +00:00
pooka
4b0f2948e2 Pull the daemonizing code out of the library mainloop into the file
servers.  Calling daemon() (i.e. fork()ing) inside a library can
cause nice surprises for e.g. threaded programs.  As discussed with
Greg Oster & others.
2007-11-05 17:48:17 +00:00
pooka
62234858c3 * use more sensible perms
* use mounter uid/gid as file owners
* sprinkle static
2007-08-10 08:13:11 +00:00
pooka
e0876492cd __RCSID police 2007-08-09 22:03:20 +00:00
pooka
ba4e596bc9 move sysctlfs from examples to base 2007-08-09 22:01:25 +00:00