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:
parent
a3af69fa81
commit
da7fc5c33f
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user