Lines Matching defs:msgds
158 struct msqid_ds msgds;
162 (void)memset(&msgds, 0x9, sizeof(struct msqid_ds));
168 ATF_REQUIRE(msgctl(id, IPC_STAT, &msgds) == 0);
170 ATF_CHECK(msgds.msg_qnum == 0);
171 ATF_CHECK(msgds.msg_lspid == 0);
172 ATF_CHECK(msgds.msg_lrpid == 0);
173 ATF_CHECK(msgds.msg_rtime == 0);
174 ATF_CHECK(msgds.msg_stime == 0);
175 ATF_CHECK(msgds.msg_perm.uid == uid);
176 ATF_CHECK(msgds.msg_perm.gid == gid);
177 ATF_CHECK(msgds.msg_perm.cuid == uid);
178 ATF_CHECK(msgds.msg_perm.cgid == gid);
179 ATF_CHECK(msgds.msg_perm.mode == 0600);
181 if (llabs(t - msgds.msg_ctime) > 5)
258 struct msqid_ds msgds;
265 (void)memset(&msgds, 0, sizeof(struct msqid_ds));
270 ATF_REQUIRE(msgctl(id, IPC_STAT, &msgds) == 0);
271 ATF_REQUIRE(msgds.msg_perm.mode == mode[i]);