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/i386/ibcs2/ibcs2_signal.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/i386/ibcs2/ibcs2_signal.h')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_signal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/ibcs2/ibcs2_signal.h b/sys/i386/ibcs2/ibcs2_signal.h index 2eadf6c..21df087 100644 --- a/sys/i386/ibcs2/ibcs2_signal.h +++ b/sys/i386/ibcs2/ibcs2_signal.h @@ -103,6 +103,8 @@ struct ibcs2_sigaction { /* sa_flags */ #define IBCS2_SA_NOCLDSTOP 1 +#define IBCS2_MINSIGSTKSZ 8192 + extern int bsd_to_ibcs2_sig[]; #endif /* _IBCS2_SIGNAL_H */ |