NetBSD/sys/miscfs/procfs
atatat 13f8d2ce5f Dynamic sysctl.
Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.
2003-12-04 19:38:21 +00:00
..
Makefile
files.procfs Implement /proc/<pid>/fd/<n>. This is work in progress. Questionable things: 2003-01-03 13:21:17 +00:00
procfs.h terminate snprintb 'new' format strings correctly. 2003-10-03 16:34:31 +00:00
procfs_cmdline.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
procfs_ctl.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
procfs_fd.c Back out the lwp/ktrace changes. They contained a lot of colateral damage, 2003-06-29 22:28:00 +00:00
procfs_fpregs.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
procfs_linux.c t_pgrp can be null. 2003-10-30 14:51:01 +00:00
procfs_map.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
procfs_mem.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
procfs_note.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
procfs_regs.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
procfs_status.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
procfs_subr.c Changes as discussed with itojun on tech-kern. I have modified the enums 2003-09-27 13:29:02 +00:00
procfs_vfsops.c Dynamic sysctl. 2003-12-04 19:38:21 +00:00
procfs_vnops.c Remove some assigned-to but otherwise unused variables. 2003-10-30 01:58:17 +00:00