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