Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150191658
D32958.id98399.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
692 B
Referenced Files
None
Subscribers
None
D32958.id98399.diff
View Options
Index: sys/arm64/include/ucontext.h
===================================================================
--- sys/arm64/include/ucontext.h
+++ sys/arm64/include/ucontext.h
@@ -60,6 +60,7 @@
};
typedef struct __mcontext mcontext_t;
+_Static_assert(sizeof(mcontext_t) == 880, "mcontext_t bogusly changed size");
#ifdef COMPAT_FREEBSD32
#include <compat/freebsd32/freebsd32_signal.h>
@@ -84,6 +85,10 @@
__uint32_t mcv_fpscr;
} mcontext32_vfp_t;
+_Static_assert(sizeof(mcontext32_t) == 208, "mcontext32_t bogusly changed size");
+_Static_assert(sizeof(ucontext32_t) == 260, "ucontext32_t bogusly changed size");
+
+
#endif /* COMPAT_FREEBSD32 */
#endif /* !_MACHINE_UCONTEXT_H_ */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 31, 3:58 AM (6 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30618026
Default Alt Text
D32958.id98399.diff (692 B)
Attached To
Mode
D32958: aarch64: Add static asssert for context size
Attached
Detach File
Event Timeline
Log In to Comment