diff options
| author | Søren Schmidt <sos@FreeBSD.org> | 1994-10-09 21:50:57 +0000 |
|---|---|---|
| committer | Søren Schmidt <sos@FreeBSD.org> | 1994-10-09 21:50:57 +0000 |
| commit | 1448aa0202541adb609f0dbe7969640883d17a1d (patch) | |
| tree | d58c97cd495403a4d8e578bb73309e07335c4266 | |
| parent | de4d7b80188a48b613486bf0efbe0de35c40c193 (diff) | |
Notes
| -rw-r--r-- | sys/sys/exec.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/sys/exec.h b/sys/sys/exec.h index e235e72d4668..28941b0f7103 100644 --- a/sys/sys/exec.h +++ b/sys/sys/exec.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)exec.h 8.3 (Berkeley) 1/21/94 - * $Id: exec.h,v 1.7 1994/09/24 21:37:01 davidg Exp $ + * $Id: exec.h,v 1.8 1994/10/02 17:24:41 phk Exp $ */ #ifndef _SYS_EXEC_H_ @@ -60,8 +60,9 @@ struct ps_strings { /* * Address of ps_strings structure (in user space). */ -#define PS_STRINGS \ - ((struct ps_strings *)(USRSTACK - sizeof(struct ps_strings))) +#define SPARE_USRSPACE 256 +#define PS_STRINGS ((struct ps_strings *) \ + (USRSTACK - sizeof(struct ps_strings) - SPARE_USRSPACE)) /* * Arguments to the exec system call. |
