diff options
author | Andrew Gallatin <gallatin@FreeBSD.org> | 2000-10-13 01:57:43 +0000 |
---|---|---|
committer | Andrew Gallatin <gallatin@FreeBSD.org> | 2000-10-13 01:57:43 +0000 |
commit | 931a725809596a3a78fb74afabce4d0ae7be3163 (patch) | |
tree | d41742b6d92a2b588d218e01dc3dddbeb28a9f66 /secure | |
parent | 13387c45ebc32f81acf6ee76a5a830b5ade99ced (diff) | |
download | src-931a725809596a3a78fb74afabce4d0ae7be3163.tar.gz src-931a725809596a3a78fb74afabce4d0ae7be3163.zip |
This is the first of 3 commits that will get IBM's JDK 1.3 working
with FreeBSD (not including the MINSIGSTKSZ issue, which belongs to
Marcel). Due to time constraints, I'm going to space them out over a
few days.
This fixes two problems with linux_sigaltstack()
o ss == 0 is perfectly valid use, so do not fail in this case.
o Fix flag handling:
- Our SS_DISABLE is 4, linux's is 2, so we need conversion routines.
These conversion routines will be needed by linux_rt_sendsig()
and linux_rt_sigreturn (forthcoming), so they are not static.
- Linux's flag 0 historically meant SS_ONSTACK according to a comment
in their linux/kernel/signal.c file.
Among other things, this fixes a warning from Sun's JDK 1.3:
"Java HotSpot(TM) Client VM warning: cannot uninstall alt signal stack"
Reviewed by: marcel
Tested by: sto@stat.duke.edu, many others on freebsd-java@
Notes
Notes:
svn path=/head/; revision=67051
Diffstat (limited to 'secure')
0 files changed, 0 insertions, 0 deletions