From 069b973e5fa757115bfb28d5fdc7bc1779ea653c Mon Sep 17 00:00:00 2001 From: peter Date: Sat, 21 Feb 2004 23:36:31 +0000 Subject: Add a note about the landmine in the middle of struct ia32_sigframe. --- sys/compat/ia32/ia32_signal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/compat/ia32') 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) */ }; -- cgit v1.1