Go to file
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
bin Patch from PR#5156 to adjust buffer size to match filesystem block size 1999-03-11 12:04:18 +00:00
distrib Update comment about newfs parameters for 1.44M disks 1999-03-13 21:43:34 +00:00
etc first cut on a wscons configuration script 1999-03-13 14:54:22 +00:00
games Fix .Bl/.El imbalance. 1999-03-10 09:29:08 +00:00
gnu Fixes for vax 4K pages. (Whereever did these go???) 1999-03-13 22:20:49 +00:00
include brk(2) actually returns an int indicating success (0) or failure (-1). Also, 1999-03-09 20:33:22 +00:00
lib Make things link correctly again. 1999-03-13 03:42:33 +00:00
libexec Need a small prototype. (Where did it go?) 1999-03-13 22:15:25 +00:00
regress Note that this is derived from PR 6706 submitted by Brian Grayson. 1999-03-10 19:44:26 +00:00
sbin Modify how the byteswapping of the cylinder summaries is handled. If we 1999-03-11 20:23:58 +00:00
share Use G0 (not G1) for the alternative character set (DEC line graphics). 1999-03-13 09:03:28 +00:00
sys malloc the arg temporary buffer, rather than declaring it as an automatic 1999-03-13 22:26:48 +00:00
usr.bin Add .Xr which 1 1999-03-11 11:40:10 +00:00
usr.sbin cleaner error message, from "Soren S. Jorvang" <soren@t.dk> 1999-03-13 17:25:55 +00:00
Makefile Make a note of a subtle lossage mode pointed out by Mycroft. 1999-03-10 19:18:59 +00:00