freebsd-skq/sys/fs
kbyanc defe42e909 Restore the ability to mount procfs and fdescfs filesystems via the
mount(2) system call:

  * Add cmount hook to fdescfs and pseudofs (and, by extension, procfs and
    linprocfs).  This (mostly) restores the ability to mount these
    filesystems using the old mount(2) system call (see below for the
    rest of the fix).

  * Remove not-NULL check for the data argument from the mount(2) entry
    point.  Per the mount(2) man page, it is up to the individual
    filesystem being mounted to verify data.  Or, in the case of procfs,
    etc. the filesystem is free to ignore the data parameter if it does
    not use it.  Enforcing data to be not-NULL in the mount(2) system call
    entry point prevented passing NULL to filesystems which ignored the
    data pointer value.  Apparently, passing NULL was common practice
    in such cases, as even our own mount_std(8) used to do it in the
    pre-nmount(2) world.

All userland programs in the tree were converted to nmount(2) long ago,
but I've found at least one external program which broke due to this
(presumably unintentional) mount(2) API change.  One could argue that
external programs should also be converted to nmount(2), but then there
isn't much point in keeping the mount(2) interface for backward
compatibility if it isn't backward compatible.
2006-05-15 19:42:10 +00:00
..
cd9660 When encountering a ISO_SUSP_CFLAG_ROOT element in Rock Ridge 2006-03-13 22:32:33 +00:00
coda CODA_COMPAT_5 may not be defined unconditionally in the coda5 module. 2006-02-27 12:04:13 +00:00
deadfs - Deadfs should not use the std GETWRITEMOUNT routine. Add one that always 2006-02-22 06:11:59 +00:00
devfs Remove unused prototypes. 2006-04-12 12:17:29 +00:00
fdescfs Restore the ability to mount procfs and fdescfs filesystems via the 2006-05-15 19:42:10 +00:00
fifofs Add a_fdidx to comment prototype for fifo_open(). 2006-03-15 10:15:35 +00:00
hpfs I ran into an nfs client panic a couple of times in a row over the 2006-01-17 17:29:03 +00:00
msdosfs - Reorder calls to vrele() after calls to vput() when the vrele is a 2006-02-01 00:25:26 +00:00
ntfs I ran into an nfs client panic a couple of times in a row over the 2006-01-17 17:29:03 +00:00
nullfs - Define a null_getwritemount to get the mount-point for the lower 2006-03-12 04:58:18 +00:00
nwfs I ran into an nfs client panic a couple of times in a row over the 2006-01-17 17:29:03 +00:00
portalfs Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
procfs Hold the proc lock while calling proc_sstep() since the function asserts 2006-02-22 17:20:37 +00:00
pseudofs Restore the ability to mount procfs and fdescfs filesystems via the 2006-05-15 19:42:10 +00:00
smbfs I ran into an nfs client panic a couple of times in a row over the 2006-01-17 17:29:03 +00:00
udf Make UDF endian-safe. 2006-02-03 15:25:52 +00:00
umapfs Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00
unionfs Normalize a significant number of kernel malloc type names: 2005-10-31 15:41:29 +00:00