Home
last modified time | relevance | path

Searched refs:gid (Results 1 – 5 of 5) sorted by relevance

/ipc/
Dutil.c242 new->gid = new->cgid = egid; in ipc_addid()
495 else if (in_group_p(ipcp->cgid) || in_group_p(ipcp->gid)) in ipcperms()
522 out->gid = from_kgid_munged(current_user_ns(), in->gid); in kernel_to_ipc64_perm()
541 SET_GID(out->gid, in->gid); in ipc64_perm_to_ipc_perm()
657 kgid_t gid = make_kgid(current_user_ns(), in->gid); in ipc_update_perm() local
658 if (!uid_valid(uid) || !gid_valid(gid)) in ipc_update_perm()
662 out->gid = gid; in ipc_update_perm()
704 perm->gid, perm->mode); in ipcctl_pre_down_nolock()
Dcompat.c45 __compat_gid_t gid; member
142 err |= __get_user(p64->gid, &up64->gid); in __get_compat_ipc64_perm()
153 err |= __get_user(p->gid, &up->gid); in __get_compat_ipc_perm()
165 err |= __put_user(p64->gid, &up64->gid); in __put_compat_ipc64_perm()
183 SET_GID(g, p->gid); in __put_compat_ipc_perm()
184 err |= __put_user(g, &uip->gid); in __put_compat_ipc_perm()
Dmsg.c319 out->msg_perm.gid = tbuf_old.msg_perm.gid; in copy_msqid_from_user()
1059 from_kgid_munged(user_ns, msq->q_perm.gid), in sysvipc_msg_proc_show()
Dshm.c808 out->shm_perm.gid = tbuf_old.shm_perm.gid; in copy_shmid_from_user()
1504 from_kgid_munged(user_ns, shp->shm_perm.gid), in sysvipc_shm_proc_show()
Dsem.c1534 out->sem_perm.gid = tbuf_old.sem_perm.gid; in copy_semid_from_user()
2219 from_kgid_munged(user_ns, sma->sem_perm.gid), in sysvipc_sem_proc_show()