t_msgctl.c | 79 struct msqid_ds msgds; local in function:ATF_TC_BODY 83 (void)memset(&msgds, 0, sizeof(struct msqid_ds)); 89 ATF_REQUIRE_ERRNO(EINVAL, msgctl(id, INT_MAX, &msgds) == -1); 96 ATF_REQUIRE_ERRNO(EINVAL, msgctl(-1, cmd[i], &msgds) == -1); 116 struct msqid_ds msgds; local in function:ATF_TC_BODY 122 (void)memset(&msgds, 0, sizeof(struct msqid_ds)); 129 ATF_REQUIRE(msgctl(id, IPC_STAT, &msgds) == 0); 139 msgds.msg_perm.uid = getuid(); 140 msgds.msg_perm.gid = getgid(); 144 if (msgctl(id, IPC_SET, &msgds) == 0 195 struct msqid_ds msgds; local in function:ATF_TC_BODY 258 struct msqid_ds msgds; local in function:ATF_TC_BODY 308 struct msqid_ds msgds; local in function:ATF_TC_BODY [all...] |