NetBSD/sys/kern
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
..
Make.tags.inc
Makefile
bufq_disksort.c
bufq_fcfs.c
bufq_priocscan.c
bufq_readprio.c
cnmagic.c - add const. 2005-05-29 22:24:14 +00:00
core_elf32.c Make copy{in,out}_proc work on all processes (including curproc) by 2005-07-06 22:30:42 +00:00
core_elf64.c
core_netbsd.c Rework the coredump code to have no explicit knownledge of how coredump 2005-06-10 05:10:12 +00:00
exec_aout.c
exec_conf.c First work on COMPAT_LINUX/amd64 2005-05-03 16:26:27 +00:00
exec_ecoff.c
exec_elf32.c More cosmetic changes. 2005-07-17 23:53:57 +00:00
exec_elf64.c
exec_macho.c the magic number is not byte-swapped. 2005-06-25 02:22:57 +00:00
exec_script.c #ifdef VERIFIED_EXEC 2005-07-29 14:49:00 +00:00
exec_subr.c Collect vmcmd statistics. 2005-07-06 23:08:57 +00:00
genlintstub.awk
init_main.c Move proc0 initialization from main() in init_main.c and proc0_insert() in 2005-08-05 11:03:18 +00:00
init_sysctl.c Implement curtain in KERN_{PROC,PROC2,FILE,FILE2,PROC_ARGS}. 2005-09-07 17:30:07 +00:00
init_sysent.c 64 bit inode changes. 2005-08-19 02:03:49 +00:00
kern_acct.c Use ANSI function decls. Apply some static. 2005-06-23 23:15:12 +00:00
kern_clock.c Introduced nanotime() which is going to be used by some fs code yet to 2005-09-12 16:21:31 +00:00
kern_descrip.c 64 bit inode changes. 2005-08-19 02:03:49 +00:00
kern_drvctl.c Replace the "locnames", attached to cfdata, which was solely good for 2005-08-25 15:06:28 +00:00
kern_event.c - add const. 2005-05-29 22:24:14 +00:00
kern_exec.c Better debugging info on failure 2005-08-19 02:04:02 +00:00
kern_exit.c protect p_nrlwps by sched_lock. no objection on tech-kern@. PR/29652. 2005-08-28 14:57:18 +00:00
kern_fork.c Add P_CLDSIGIGN, P_NOCLDSTOP and P_NOCLDWAIT to the list of flags we want 2005-05-17 19:22:19 +00:00
kern_kcont.c Use ANSI function decls. Apply some static. 2005-06-23 23:15:12 +00:00
kern_ksyms.c Use %zx in a format string to print a size_t, not %lx, so a kernel 2005-06-25 05:30:04 +00:00
kern_kthread.c
kern_ktrace.c - add const. 2005-05-29 22:24:14 +00:00
kern_lkm.c `lkmlookup()' is called with its name argument either from kernel or from 2005-04-12 14:13:16 +00:00
kern_lock.c Fix function variable names shadowing global declarations. 2005-06-01 13:12:49 +00:00
kern_lwp.c protect p_nrlwps by sched_lock. no objection on tech-kern@. PR/29652. 2005-08-28 14:57:18 +00:00
kern_malloc.c Fix wording in a comment. 2005-08-05 13:18:32 +00:00
kern_malloc_debug.c merge yamt-km branch. 2005-04-01 11:59:21 +00:00
kern_microtime.c
kern_ntptime.c
kern_physio.c Use ANSI function decls. Apply some static. 2005-06-23 23:15:12 +00:00
kern_proc.c Cosmetic changes. 2005-08-05 11:05:44 +00:00
kern_prot.c Made the code of the grsortu function smaller and simpler. Ok'ed by 2005-09-02 20:51:53 +00:00
kern_ras.c
kern_resource.c Use ANSI function decls. Apply some static. 2005-06-23 23:15:12 +00:00
kern_sa.c Revert incomplete (and possibly incorrect) sys_sa_preempt implementation 2005-09-07 23:31:06 +00:00
kern_sig.c Introduce __sigtimedwait1 which will help adding COMPAT_NETBSD32 support 2005-07-23 22:02:13 +00:00
kern_subr.c Create functions ioctl_copyin() and ioctl_copyout(). They are meant to be 2005-08-28 20:58:14 +00:00
kern_synch.c - add const. 2005-05-29 22:24:14 +00:00
kern_sysctl.c old_sysctl: fix null dereference when oldlenp == NULL. 2005-08-21 13:14:54 +00:00
kern_systrace.c From marius@openbsd: 2005-06-27 17:11:20 +00:00
kern_time.c Apply the NFS exports list rototill patch: 2005-09-23 12:10:31 +00:00
kern_timeout.c need a "const" 2005-06-01 12:27:15 +00:00
kern_uuid.c - add const. 2005-05-29 22:24:14 +00:00
kern_verifiedexec.c Sync comments with 64-bit inode changes. 2005-09-02 14:16:50 +00:00
kern_xxx.c Use ANSI function decls. Apply some static. 2005-06-23 23:15:12 +00:00
kgdb_stub.c Add missing const. Reported by Allar Ritter in tech-kern. 2005-07-13 04:24:26 +00:00
makesyscalls.sh
subr_autoconf.c in mapply(), call config_match() instead duplicating its code 2005-08-29 19:13:48 +00:00
subr_blist.c - add const. 2005-05-29 22:24:14 +00:00
subr_devsw.c
subr_disk.c introduce a variant of disk_attach/detach, for pseudo disks 2005-08-20 12:00:01 +00:00
subr_disk_mbr.c
subr_evcnt.c
subr_extent.c Use ANSI function decls. 2005-06-23 18:46:17 +00:00
subr_log.c Use ANSI function decls. 2005-06-23 18:46:17 +00:00
subr_pool.c Fix some locking issues: 2005-06-18 01:34:03 +00:00
subr_prf.c Use ANSI function decls. 2005-06-23 18:46:17 +00:00
subr_prof.c Use ANSI function decls. 2005-06-23 18:46:17 +00:00
subr_prop.c - add const. 2005-05-29 22:24:14 +00:00
subr_userconf.c make use of the locator information: print "?" if a locator is 2005-09-08 14:58:14 +00:00
subr_xxx.c Use ANSI function decls. 2005-06-23 18:46:17 +00:00
sys_generic.c - add const. 2005-05-29 22:24:14 +00:00
sys_pipe.c PR/27185: Christian Biere: kqueue: EOF on pipe gains no EVFILT_READ event 2005-09-11 17:55:26 +00:00
sys_pmc.c
sys_process.c
sys_socket.c
syscalls.c 64 bit inode changes. 2005-08-19 02:04:03 +00:00
syscalls.conf 64 bit inode changes. 2005-08-19 02:04:03 +00:00
syscalls.master 64 bit inode changes. 2005-08-19 02:04:03 +00:00
sysv_ipc.c
sysv_msg.c merge yamt-km branch. 2005-04-01 11:59:21 +00:00
sysv_sem.c merge yamt-km branch. 2005-04-01 11:59:21 +00:00
sysv_shm.c merge yamt-km branch. 2005-04-01 11:59:21 +00:00
tty.c In the SIGIO case, only check that we are the controlling tty if we are a 2005-07-25 17:32:03 +00:00
tty_bsdpty.c - add const. 2005-05-29 22:24:14 +00:00
tty_conf.c PR-30566: Poll must not return <sys/errno.h> values. 2005-06-21 14:01:11 +00:00
tty_ptm.c
tty_pty.c PR-30566: Poll must not return <sys/errno.h> values. 2005-06-21 14:01:11 +00:00
tty_subr.c
tty_tb.c - add const. 2005-05-29 22:24:14 +00:00
tty_tty.c
uipc_domain.c Use ``l'' and not ``curlwp''. Thanks to Peter Postma for catching this. 2005-09-07 18:06:04 +00:00
uipc_mbuf.c - introduce M_MOVE_PKTHDR and use it where appropriate. 2005-08-18 00:30:58 +00:00
uipc_mbuf2.c In m_pulldown avoid a prepend to the next mbuf in the chain if the result 2005-05-06 09:40:40 +00:00
uipc_proto.c
uipc_sem.c
uipc_socket.c Panic strings should not end with \n. 2005-05-08 18:44:39 +00:00
uipc_socket2.c - add const. 2005-05-29 22:24:14 +00:00
uipc_syscalls.c In adjust_rights() Use CMSG_SPACE() to calculate the number of 2005-09-03 22:48:35 +00:00
uipc_usrreq.c Honor the user's umask while creating local sockets. Several other systems 2005-08-30 15:03:04 +00:00
vfs_bio.c Properly fix the constipated lossage wrt -Wcast-qual and the sysctl 2005-06-09 02:19:59 +00:00
vfs_cache.c
vfs_getcwd.c 64 bit inode changes. 2005-08-19 02:04:03 +00:00
vfs_hooks.c Apply the NFS exports list rototill patch: 2005-09-23 12:10:31 +00:00
vfs_init.c Use ANSI function decls. 2005-06-05 23:47:48 +00:00
vfs_lockf.c Re-arrange slighty, eliminate prototypes that are unnecessary when using 2005-06-05 23:10:25 +00:00
vfs_lookup.c A few tweaks to magic symlinks: 2005-07-06 18:53:00 +00:00
vfs_subr.c Apply the NFS exports list rototill patch: 2005-09-23 12:10:31 +00:00
vfs_syscalls.c Apply the NFS exports list rototill patch: 2005-09-23 12:10:31 +00:00
vfs_vnops.c uninline vn_start_write and vn_finished_write as they are big enough. 2005-09-20 09:49:01 +00:00
vfs_xattr.c Move the rest of the extattr stuff into vfs_xattr.c 2005-07-10 22:10:00 +00:00
vnode_if.c
vnode_if.sh
vnode_if.src