Subject: re: STACKGAPLEN increase?
To: Emmanuel Dreyfus <manu@netbsd.org>
From: matthew green <mrg@eterna.com.au>
List: tech-kern
Date: 03/17/2002 00:28:52
In sys/sys/exec.h, STACKGAPLEN is currently 512 bytes long. While
working on IRIX, I'm trying to get some bits of IRIX's /sbin/swap
working (Autocad runs it to get the swap usage).
This involves using a struct swapent in the stack gap, and struct
swapent is 1048 bytes long. Would it be a problem to change STACKGAPLEN
to 2048?
how about changing stackgap_init() to take an (optional?) size parameter?