Lines Matching refs:msg_perm
60 #define ipcperm buf.msg_perm in show_msg_id()
388 pw = getpwuid(buf.msg_perm.uid); in msg_array()
391 else printf("%-8d %-10d", msqid, buf.msg_perm.uid); in msg_array()
400 else printf("%-8d %-10d", msqid, buf.msg_perm.uid); in msg_array()
403 printf("%-10d %-10o", msqid, buf.msg_perm.mode & 0777); in msg_array()
404 if ((pw = getpwuid(buf.msg_perm.cuid))) printf(" %-10s", pw->pw_name); in msg_array()
405 else printf(" %-10d", buf.msg_perm.cuid); in msg_array()
406 if ((gr = getgrgid(buf.msg_perm.cgid))) printf(" %-10s", gr->gr_name); in msg_array()
407 else printf(" %-10d", buf.msg_perm.cgid); in msg_array()
408 if ((pw = getpwuid(buf.msg_perm.uid))) printf(" %-10s", pw->pw_name); in msg_array()
409 else printf(" %-10d", buf.msg_perm.uid); in msg_array()
410 if ((gr = getgrgid(buf.msg_perm.gid))) printf(" %-10s\n", gr->gr_name); in msg_array()
411 else printf(" %-10d\n", buf.msg_perm.gid); in msg_array()
413 printf("0x%08x ", buf.msg_perm.__key); in msg_array()
415 else printf("%-10d %-10d", msqid, buf.msg_perm.uid); in msg_array()
416 printf(" %-10o %-12ld %-12ld\n", buf.msg_perm.mode & 0777, in msg_array()