diff options
author | gallatin <gallatin@FreeBSD.org> | 2000-10-17 00:00:20 +0000 |
---|---|---|
committer | gallatin <gallatin@FreeBSD.org> | 2000-10-17 00:00:20 +0000 |
commit | 7df6b1ab5dadadbedb7f1f29dbd4aa90f61d38fc (patch) | |
tree | fb6736f5f5e4751e1f8c289ca5375d184767c26f /sys/i386/linux/linux_genassym.c | |
parent | 029626a413c774626e8fb7ea3ce8445ad88a9b8e (diff) | |
download | FreeBSD-src-7df6b1ab5dadadbedb7f1f29dbd4aa90f61d38fc.zip FreeBSD-src-7df6b1ab5dadadbedb7f1f29dbd4aa90f61d38fc.tar.gz |
A start at an implemention of linux_rt_sendsig & linux_rt_sigreturn
and associated user-level signal trampoline glue.
Without this patch, an SA_SIGINFO style handler can be installed by a linux
app, but if the handler accesses its sip argument, it will get a garbage
pointer and likely segfault.
We currently supply a valid pointer, but its contents are mainly
garbage. Filling this in properly is future work.
This is the second of 3 commits that will get IBM's JDK 1.3 working with
FreeBSD ...
Diffstat (limited to 'sys/i386/linux/linux_genassym.c')
-rw-r--r-- | sys/i386/linux/linux_genassym.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/i386/linux/linux_genassym.c b/sys/i386/linux/linux_genassym.c index 25e20af..7888cb3 100644 --- a/sys/i386/linux/linux_genassym.c +++ b/sys/i386/linux/linux_genassym.c @@ -11,3 +11,7 @@ ASSYM(LINUX_SIGF_HANDLER, offsetof(struct linux_sigframe, sf_handler)); ASSYM(LINUX_SIGF_SC, offsetof(struct linux_sigframe, sf_sc)); ASSYM(LINUX_SC_GS, offsetof(struct linux_sigcontext, sc_gs)); ASSYM(LINUX_SC_EFLAGS, offsetof(struct linux_sigcontext, sc_eflags)); +ASSYM(LINUX_RT_SIGF_HANDLER, offsetof(struct linux_rt_sigframe, sf_handler)); +ASSYM(LINUX_RT_SIGF_UC, offsetof(struct linux_rt_sigframe, sf_sc)); + + |