Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144397239
D34212.id102641.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
493 B
Referenced Files
None
Subscribers
None
D34212.id102641.diff
View Options
diff --git a/sys/amd64/amd64/exec_machdep.c b/sys/amd64/amd64/exec_machdep.c
--- a/sys/amd64/amd64/exec_machdep.c
+++ b/sys/amd64/amd64/exec_machdep.c
@@ -95,6 +95,10 @@
#include <machine/specialreg.h>
#include <machine/trap.h>
+_Static_assert(sizeof(mcontext_t) == 800, "mcontext_t size incorrect");
+_Static_assert(sizeof(ucontext_t) == 880, "ucontext_t size incorrect");
+_Static_assert(sizeof(siginfo_t) == 80, "siginfo_t size incorrect");
+
/*
* Send an interrupt to process.
*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 5:39 AM (14 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28544227
Default Alt Text
D34212.id102641.diff (493 B)
Attached To
Mode
D34212: amd64: Add static asssert for context size
Attached
Detach File
Event Timeline
Log In to Comment