Lines Matching refs:permp
384 hp(char type, char *modesp, struct ipc_perm64 *permp, int slot) in hp() argument
391 (void) snprintf(keyfield, sizeof (keyfield), " 0x%x", permp->ipcx_key); in hp()
395 (void) printf("%c", (permp->ipcx_mode & i) ? *modesp : '-'); in hp()
396 if ((u = getpwuid(permp->ipcx_uid)) == NULL) in hp()
397 (void) printf("%9d", (int)permp->ipcx_uid); in hp()
400 if ((g = getgrgid(permp->ipcx_gid)) == NULL) in hp()
401 (void) printf("%9d", (int)permp->ipcx_gid); in hp()
406 if ((u = getpwuid(permp->ipcx_cuid)) == NULL) in hp()
407 (void) printf("%9d", (int)permp->ipcx_cuid); in hp()
410 if ((g = getgrgid(permp->ipcx_cgid)) == NULL) in hp()
411 (void) printf("%9d", (int)permp->ipcx_cgid); in hp()
421 jp(struct ipc_perm64 *permp) in jp() argument
426 if ((getprojbyid(permp->ipcx_projid, &proj, buf, in jp()
428 (void) printf("%16ld", permp->ipcx_projid); in jp()