freebsd32: Fix layout of struct shmid_kernel32.

The kernel pointers in this structure need to be 32-bit pointers,
not native pointers to 32-bit integers.

Reviewed by:	kib
Sponsored by:	The University of Cambridge, Google Inc.
Differential Revision:	https://reviews.freebsd.org/D33905
This commit is contained in:
John Baldwin 2022-01-18 10:42:21 -08:00
parent a3af69fa81
commit da7fc5c33f

View File

@ -104,10 +104,10 @@ struct shmid_ds32 {
#ifdef _KERNEL
struct shmid_kernel32 {
struct shmid_ds32 u;
int32_t *object;
int32_t *label;
int32_t *cred;
struct shmid_ds32 u;
int32_t object;
int32_t label;
int32_t cred;
};
#endif