Go to file
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
bin Check for another race reported by chuq. 2005-09-18 12:15:41 +00:00
crypto Correct documentation about Mode Config. It now works without XAuth, too. 2005-09-21 15:06:22 +00:00
dist revert dplog changes. 2005-09-21 16:28:03 +00:00
distrib Apply the NFS exports list rototill patch: 2005-09-23 12:10:31 +00:00
doc Apply the NFS exports list rototill patch: 2005-09-23 12:10:31 +00:00
etc Add pam_afslog. Like pam_krb5, this is a fast, quiet no-op if you aren't 2005-09-22 01:02:12 +00:00
games Drop trailing whitespace. 2005-09-15 02:10:37 +00:00
gnu Allow for \H -> "address ..." substitution in PIPE ports. Useful 2005-09-07 12:38:16 +00:00
include use __inline as before, otherwise "gcc -ansi" blows up 2005-09-15 13:44:41 +00:00
lib Apply the NFS exports list rototill patch: 2005-09-23 12:10:31 +00:00
libexec Reject unformatted manual pages with "[" characters in the description 2005-09-15 14:20:01 +00:00
regress Don't check <sys/tprintf.h> - it's not installed any more. 2005-09-19 03:15:56 +00:00
rescue put back tetris; by popular demand. 2005-09-23 00:29:51 +00:00
sbin Apply the NFS exports list rototill patch: 2005-09-23 12:10:31 +00:00
share Apply the NFS exports list rototill patch: 2005-09-23 12:10:31 +00:00
sys Apply the NFS exports list rototill patch: 2005-09-23 12:10:31 +00:00
tools Make cross compiling NetBSD under Linux work again. Problem noted by 2005-09-14 14:06:11 +00:00
usr.bin use getgrnam_r; from Jon Nemeth 2005-09-21 12:24:11 +00:00
usr.sbin Apply the NFS exports list rototill patch: 2005-09-23 12:10:31 +00:00
x11 enable real PCI IO operations on macppc 2005-09-22 18:53:26 +00:00
build.sh Initial pass at an in-tree ia64 toolchain. From PR 29141 with some fixes 2005-08-17 07:13:32 +00:00
BUILDING Document the environment variables for if you need to override or 2005-02-15 18:41:18 +00:00
Makefile Modify "release" to invoke "make distribution" instead of "make build", 2005-08-25 02:04:39 +00:00
Makefile.inc
UPDATING Don't mark /etc/namedb/named.conf as "obsolete" since that will cause 2005-09-14 00:32:26 +00:00