Home
last modified time | relevance | path

Searched refs:msqbuf (Results 1 – 1 of 1) sorted by relevance

/xnu-12377.1.9/bsd/kern/
H A Dsysv_msg.c379 struct user_msqid_ds msqbuf; in msgctl() local
498 msqid_ds_user64tokernel(&tmpds, &msqbuf); in msgctl()
504 msqid_ds_user32tokernel(&tmpds, &msqbuf); in msgctl()
512 if (msqbuf.msg_qbytes > msqptr->u.msg_qbytes) { in msgctl()
521 if (msqbuf.msg_qbytes > (user_msglen_t)msginfo.msgmnb) { in msgctl()
526 msqbuf.msg_qbytes = msginfo.msgmnb; /* silently restrict qbytes to system limit */ in msgctl()
528 if (msqbuf.msg_qbytes == 0) { in msgctl()
535 msqptr->u.msg_perm.uid = msqbuf.msg_perm.uid; /* change the owner */ in msgctl()
536 msqptr->u.msg_perm.gid = msqbuf.msg_perm.gid; /* change the owner */ in msgctl()
538 (msqbuf.msg_perm.mode & 0777); in msgctl()
[all …]