Lines Matching refs:permp
387 hp(char type, char *modesp, struct ipc_perm64 *permp, int slot) in hp() argument
394 (void) snprintf(keyfield, sizeof (keyfield), " 0x%x", permp->ipcx_key); in hp()
398 (void) printf("%c", (permp->ipcx_mode & i) ? *modesp : '-'); in hp()
399 if ((u = getpwuid(permp->ipcx_uid)) == NULL) in hp()
400 (void) printf("%9d", (int)permp->ipcx_uid); in hp()
403 if ((g = getgrgid(permp->ipcx_gid)) == NULL) in hp()
404 (void) printf("%9d", (int)permp->ipcx_gid); in hp()
409 if ((u = getpwuid(permp->ipcx_cuid)) == NULL) in hp()
410 (void) printf("%9d", (int)permp->ipcx_cuid); in hp()
413 if ((g = getgrgid(permp->ipcx_cgid)) == NULL) in hp()
414 (void) printf("%9d", (int)permp->ipcx_cgid); in hp()
424 jp(struct ipc_perm64 *permp) in jp() argument
429 if ((getprojbyid(permp->ipcx_projid, &proj, buf, in jp()
431 (void) printf("%16ld", permp->ipcx_projid); in jp()