NetBSD/lib/libc
jmmv 2a3e5eeb7c Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
2005-09-23 12:10:31 +00:00
..
arch Switch mips to the new libc compat code layout. 2005-09-17 11:49:39 +00:00
citrus * add some comments. 2005-05-14 17:55:42 +00:00
compat Switch mips to the new libc compat code layout. 2005-09-17 11:49:39 +00:00
compat-43 compat core reorg. 2005-09-13 01:44:08 +00:00
db compat core reorg. 2005-09-13 01:44:08 +00:00
dlfcn
gen Don't overflow when DEBUG is defined. 2005-09-13 21:38:03 +00:00
gmon The __used__ change doesn't work on 2.95/vax. Put an #ifdef back in for vax and 2005-05-06 19:32:30 +00:00
hash Prefer 2005-09-10 22:06:45 +00:00
iconv make sure to set errno to EINVAL if _citrus_iconv_open() returns ENOENT. 2005-04-25 13:42:04 +00:00
include Last change to namespace.h had an wrong entry: in6addr_nodelocal_allrouters 2005-08-07 20:32:58 +00:00
inet compat core reorg. 2005-09-13 01:44:08 +00:00
isc
locale Fix pasto, noted by Marc Espie. 2005-06-27 14:18:36 +00:00
md Add missing __RCSID() 2005-06-12 05:34:34 +00:00
nameser
net Rest of fix for PR#31184: getaddrinfo() now honors resolv.conf sortlist 2005-09-15 23:33:41 +00:00
nls compat core reorg. 2005-09-13 01:44:08 +00:00
quad
regex
resolv Rest of fix for PR#31184: getaddrinfo() now honors resolv.conf sortlist 2005-09-15 23:33:41 +00:00
rpc Fix build: maskp should be a pointer to a sigset_t. Hi, christos@! 2005-09-10 09:04:11 +00:00
softfloat
stdio compat core reorg. 2005-09-13 01:44:08 +00:00
stdlib compat core reorg. 2005-09-13 01:44:08 +00:00
string compat core reorg. 2005-09-13 01:44:08 +00:00
sys Apply the NFS exports list rototill patch: 2005-09-23 12:10:31 +00:00
termios
thread-stub Add missing __RCSID() 2005-06-12 05:21:25 +00:00
time compat core reorg. 2005-09-13 01:44:08 +00:00
uuid A little libc namespace housekeeping exercise: 2005-02-09 21:35:46 +00:00
yp
Makefile compat core reorg. 2005-09-13 01:44:08 +00:00
shlib_version Bump libc minor after adding SHA2 routines. 2005-08-23 17:50:44 +00:00