diff options
author | marcel <marcel@FreeBSD.org> | 2000-11-09 08:25:48 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2000-11-09 08:25:48 +0000 |
commit | 1a7266b24de5311dddd975c3c4cb4da6f15f9a45 (patch) | |
tree | 455d03a734fbf59af75b8517e09aca5328c18648 /sys/sys/_sigset.h | |
parent | 7980b37e09111f86fa7b0583f6a2e79e6434a0b0 (diff) | |
download | FreeBSD-src-1a7266b24de5311dddd975c3c4cb4da6f15f9a45.zip FreeBSD-src-1a7266b24de5311dddd975c3c4cb4da6f15f9a45.tar.gz |
Make MINSIGSTKSZ machine dependent, and have the sigaltstack
syscall compare against a variable sv_minsigstksz in struct
sysentvec as to properly take the size of the machine- and
ABI dependent struct sigframe into account.
The SVR4 and iBCS2 modules continue to have a minsigstksz of
8192 to preserve behavior. The real values (if different) are
not known at this time. Other ABI modules use the real
values.
The native MINSIGSTKSZ is now defined as follows:
Arch MINSIGSTKSZ
---- -----------
alpha 4096
i386 2048
ia64 12288
Reviewed by: mjacob
Suggested by: bde
Diffstat (limited to 'sys/sys/_sigset.h')
-rw-r--r-- | sys/sys/_sigset.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sys/_sigset.h b/sys/sys/_sigset.h index 2e405a2..e3bef90 100644 --- a/sys/sys/_sigset.h +++ b/sys/sys/_sigset.h @@ -238,7 +238,6 @@ typedef struct sigaltstack { #define SS_ONSTACK 0x0001 /* take signal on alternate stack */ #define SS_DISABLE 0x0004 /* disable taking signals on alternate stack */ -#define MINSIGSTKSZ 8192 /* minimum allowable stack */ #define SIGSTKSZ (MINSIGSTKSZ + 32768) /* recommended stack size */ /* Have enough typedefs for this now. XXX */ |