Lines Matching refs:pw
153 struct passwd *pw; in shm_array() local
211 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array()
212 printf("%-10d %-10.10s", shmid, pw->pw_name); in shm_array()
221 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array()
222 printf("%-10d %-10.10s", shmid, pw->pw_name); in shm_array()
227 if ((pw = getpwuid(buf.shm_perm.cuid))) printf(" %-10s", pw->pw_name); in shm_array()
231 if ((pw = getpwuid(buf.shm_perm.uid))) printf(" %-10s", pw->pw_name); in shm_array()
237 if ((pw = getpwuid(buf.shm_perm.uid))) in shm_array()
238 printf("%-10d %-10.10s", shmid, pw->pw_name); in shm_array()
255 struct passwd *pw; in sem_array() local
308 pw = getpwuid(buf.sem_perm.uid); in sem_array()
310 if (pw) printf("%-8d %-10.10s", semid, pw->pw_name); in sem_array()
319 if ((pw = getpwuid(buf.sem_perm.cuid))) printf(" %-10s", pw->pw_name); in sem_array()
323 if ((pw = getpwuid(buf.sem_perm.uid))) printf(" %-10s", pw->pw_name); in sem_array()
329 if (pw) printf("%-10d %-10.9s", semid, pw->pw_name); in sem_array()
342 struct passwd *pw; in msg_array() local
388 pw = getpwuid(buf.msg_perm.uid); in msg_array()
390 if (pw) printf("%-8d %-10.10s", msqid, pw->pw_name); in msg_array()
399 if (pw) printf("%-8d %-10.10s", msqid, pw->pw_name); in msg_array()
404 if ((pw = getpwuid(buf.msg_perm.cuid))) printf(" %-10s", pw->pw_name); in msg_array()
408 if ((pw = getpwuid(buf.msg_perm.uid))) printf(" %-10s", pw->pw_name); in msg_array()
414 if (pw) printf("%-10d %-10.10s", msqid, pw->pw_name); in msg_array()