NetBSD/sys/miscfs
thorpej 195403fe38 malloc the arg temporary buffer, rather than declaring it as an automatic
array of ARG_MAX size.  ARG_MAX is currently 256k, which causes a rather
serious stack overflow (kernel stacks are not very large, usually 8k).

Fixes memory corruption problems observed after accessig /proc/1/cmdline
during tests.  Problem in my case manifested itself as massive lossage
in ffs_sync(), resulting in a crash, and sometimes, pooched file systems.

XXX This could, and probably should, be rewritten to use a much smaller
temporary buffer, and a loop around uiomove().
1999-03-13 22:26:48 +00:00
..
deadfs Since the interlock has been unlocked, also clear LK_INTERLOCK from 1998-05-18 16:47:37 +00:00
fdesc Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now 1999-02-26 23:44:43 +00:00
fifofs Use the so_send and so_receive funcptrs in the socket instead of calling 1998-10-31 01:18:41 +00:00
genfs Pass null pointers to VOP_UPDATE rather than having all the callers fetch the 1999-03-05 21:09:48 +00:00
kernfs Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now 1999-02-26 23:44:43 +00:00
nullfs Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now 1999-02-26 23:44:43 +00:00
portal Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now 1999-02-26 23:44:43 +00:00
procfs malloc the arg temporary buffer, rather than declaring it as an automatic 1999-03-13 22:26:48 +00:00
specfs Make spec_write() process errors and return them, otherwise we don't even 1998-10-02 00:21:39 +00:00
umapfs Restrict umap mounts to root. Letting any user use this has security 1999-03-12 18:16:44 +00:00
union Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now 1999-02-26 23:44:43 +00:00
Makefile Rework the way kernel include files are installed. In the new method, 1998-06-12 23:22:30 +00:00