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:
brooks 2019-11-07 00:07:54 +00:00
parent 9012fc643e
commit 6a1039676f

View File

@ -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;