On 2/9/26 05:26, Warner Losh wrote:
From: Stacey Son<[email protected]>

Add target_to_host_msqid_ds() to convert target struct msqid_ds to host
format for msgctl(2) IPC_SET operations. Uses memset to zero the struct
rather than directly accessing kernel-only members. Handles FreeBSD
64-bit time_t except on i386.

Signed-off-by: Stacey Son<[email protected]>
Signed-off-by: Brooks Davis<[email protected]>
Signed-off-by: Sean Bruno<[email protected]>
Signed-off-by: Mikael Urankar<[email protected]>
Signed-off-by: Warner Losh<[email protected]>
---
  bsd-user/bsd-misc.c | 27 +++++++++++++++++++++++++++
  1 file changed, 27 insertions(+)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to