From 61aeb6a14de671fa42847ab43a1241e56eefc134 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 21 Feb 2004 23:36:31 +0000 Subject: [PATCH] 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(+) diff --git a/sys/compat/ia32/ia32_signal.h b/sys/compat/ia32/ia32_signal.h index 12bf94636b0a..9752a63c22c4 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) */ };