summaryrefslogtreecommitdiffstats
path: root/sys/sys/exec.h
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1994-10-09 21:50:57 +0000
committersos <sos@FreeBSD.org>1994-10-09 21:50:57 +0000
commita9807158e230391768fbbce623c3968a42976d3d (patch)
treed58c97cd495403a4d8e578bb73309e07335c4266 /sys/sys/exec.h
parent7566bede3c427c0db66e7e96efe80cb1a523a952 (diff)
downloadFreeBSD-src-a9807158e230391768fbbce623c3968a42976d3d.zip
FreeBSD-src-a9807158e230391768fbbce623c3968a42976d3d.tar.gz
Latest ibcs2 changes, add errno conversion table.
Also add 256 byte spare space on the usr stack.
Diffstat (limited to 'sys/sys/exec.h')
-rw-r--r--sys/sys/exec.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/sys/exec.h b/sys/sys/exec.h
index e235e72..28941b0 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.
OpenPOWER on IntegriCloud