summaryrefslogtreecommitdiffstats
path: root/sys/compat/ia32
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-02-21 23:36:31 +0000
committerpeter <peter@FreeBSD.org>2004-02-21 23:36:31 +0000
commit069b973e5fa757115bfb28d5fdc7bc1779ea653c (patch)
treef97c689c24075826984c1a5965f77702e9267554 /sys/compat/ia32
parentdb9b36ed4196e2eb596b1a08f3e4e410ba532646 (diff)
downloadFreeBSD-src-069b973e5fa757115bfb28d5fdc7bc1779ea653c.zip
FreeBSD-src-069b973e5fa757115bfb28d5fdc7bc1779ea653c.tar.gz
Add a note about the landmine in the middle of struct ia32_sigframe.
Diffstat (limited to 'sys/compat/ia32')
-rw-r--r--sys/compat/ia32/ia32_signal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/ia32/ia32_signal.h b/sys/compat/ia32/ia32_signal.h
index 12bf946..9752a63 100644
--- a/sys/compat/ia32/ia32_signal.h
+++ b/sys/compat/ia32/ia32_signal.h
@@ -151,6 +151,7 @@ struct ia32_sigframe {
u_int32_t sf_ucontext; /* points to sf_uc */
u_int32_t sf_addr; /* undocumented 4th arg */
u_int32_t sf_ah; /* action/handler pointer */
+ /* Beware, hole due to ucontext being 16 byte aligned! */
struct ia32_ucontext sf_uc; /* = *sf_ucontext */
struct ia32_siginfo sf_si; /* = *sf_siginfo (SA_SIGINFO case) */
};
OpenPOWER on IntegriCloud