Home | History | Annotate | Download | only in mount_sysctlfs
History log of /src/usr.sbin/puffs/mount_sysctlfs/sysctlfs.c
RevisionDateAuthorComments
 1.21  02-Apr-2023  ryo add missing '\n'
 1.20  23-Nov-2016  christos nothing is executable.
 1.19  23-Nov-2016  christos - protect against node not found SEGV
- fix reversed logic; if we find it in the cache we return it, otherwise
we create it.
 1.18  12-Nov-2015  christos branches: 1.18.2;
Add usage function, various cosmetics; no functional change.
 1.17  04-Nov-2012  christos add the headers you need
 1.16  06-Aug-2010  pooka branches: 1.16.6; 1.16.12;
support CTLTYPE_BOOL
 1.15  06-Aug-2010  pooka 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.
 1.14  11-Apr-2010  pooka Add raw mode, which skips ASCII'ification and can be used if reading
structures from the kernel into debug program memory is desired.
 1.13  11-Apr-2010  pooka Instead of totally giving up, dump CTLTYPE_STRUCT as hex, much
like sysctl -x (but not fancy like -dosequis).
 1.12  05-Nov-2009  pooka more lp64 it's-a-sign! fixes
 1.11  28-May-2009  njoly 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@.
 1.10  18-Jan-2009  lukem fix -Wsign-compare issues
 1.9  12-Sep-2008  christos branches: 1.9.4; 1.9.6;
fix more A0
 1.8  30-Nov-2007  pooka branches: 1.8.8;
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.
 1.7  27-Nov-2007  pooka 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.
 1.6  16-Nov-2007  pooka use puffs_daemon() instead of daemon()
 1.5  05-Nov-2007  pooka 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.
 1.4  05-Nov-2007  pooka 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.
 1.3  10-Aug-2007  pooka branches: 1.3.2;
* use more sensible perms
* use mounter uid/gid as file owners
* sprinkle static
 1.2  09-Aug-2007  pooka __RCSID police
 1.1  09-Aug-2007  pooka move sysctlfs from examples to base
 1.3.2.2  09-Jan-2008  matt sync with HEAD
 1.3.2.1  06-Nov-2007  matt sync with HEAD
 1.8.8.1  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.9.6.1  30-May-2009  snj branches: 1.9.6.1.2;
Pull up following revision(s) (requested by njoly in ticket #783):
usr.sbin/puffs/mount_sysctlfs/sysctlfs.c: revision 1.11
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@.
 1.9.6.1.2.1  21-Apr-2010  matt sync to netbsd-5
 1.9.4.1  30-May-2009  snj Pull up following revision(s) (requested by njoly in ticket #783):
usr.sbin/puffs/mount_sysctlfs/sysctlfs.c: revision 1.11
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@.
 1.16.12.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.16.6.1  16-Jan-2013  yamt sync with (a bit old) head
 1.18.2.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)

RSS XML Feed