Fix the alignment of struct xunpcb on systems with >64-bit pointers.
Reviewed by: emaste Obtained from: CheriBSD MFC after: 3 days Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D22268
This commit is contained in:
parent
9012fc643e
commit
6a1039676f
@ -156,7 +156,7 @@ struct xunpcb {
|
||||
char xu_dummy2[256];
|
||||
};
|
||||
struct xsocket xu_socket;
|
||||
} __aligned(8);
|
||||
} __aligned(MAX(8, sizeof(void *)));
|
||||
|
||||
struct xunpgen {
|
||||
ksize_t xug_len;
|
||||
|
Loading…
x
Reference in New Issue
Block a user