IPC_STAT
if (cmd == IPC_SET || cmd == IPC_STAT || cmd == GETALL ||
ATF_REQUIRE(msgctl(id, IPC_STAT, &msgds) == 0);
if (msgctl(id, IPC_STAT, &msgds) != 0)
ATF_REQUIRE(msgctl(id, IPC_STAT, &msgds) == 0);
ATF_REQUIRE(msgctl(id, IPC_STAT, &msgds) == 0);
ATF_REQUIRE(msgctl(id, IPC_STAT, &msgds) == 0);
(void)msgctl(id, IPC_STAT, &msgds);
(void)msgctl(id, IPC_STAT, &msgds);
const int cmd[] = { IPC_STAT, IPC_SET, IPC_RMID };
ATF_REQUIRE_ERRNO(EFAULT, msgctl(id, IPC_STAT, (void *)-1) == -1);
ATF_REQUIRE(msgctl(id, IPC_STAT, &msgds) == 0);
ATF_REQUIRE(msgctl(id, IPC_STAT, &msgds) == 0);
(void)msgctl(id, IPC_STAT, &ds);
if (msgctl(sender_msqid, IPC_STAT, &m_ds) == -1)
if (msgctl(sender_msqid, IPC_STAT, &m_ds) == -1)
if (msgctl(sender_msqid, IPC_STAT, &m_ds) == -1)
if (semctl(sender_semid, 0, IPC_STAT, sun) == -1)
if (semctl(sender_semid, 0, IPC_STAT, sun) == -1)
if (semctl(sender_semid, 0, IPC_STAT, sun) == -1)
if (shmctl(sender_shmid, IPC_STAT, &s_ds) == -1)
if (shmctl(sender_shmid, IPC_STAT, &s_ds) == -1)
if (shmctl(sender_shmid, IPC_STAT, &s_ds) == -1)
case IPC_STAT:
case IPC_STAT:
case IPC_STAT:
case IPC_STAT:
case IPC_STAT:
case IPC_STAT: