Searched refs:gid (Results 1 – 5 of 5) sorted by relevance
/ipc/ |
D | util.c | 274 new->gid = new->cgid = egid; in ipc_addid() 538 else if (in_group_p(ipcp->cgid) || in_group_p(ipcp->gid)) in ipcperms() 567 out->gid = from_kgid_munged(current_user_ns(), in->gid); in kernel_to_ipc64_perm() 587 SET_GID(out->gid, in->gid); in ipc64_perm_to_ipc_perm() 716 kgid_t gid = make_kgid(current_user_ns(), in->gid); in ipc_update_perm() local 717 if (!uid_valid(uid) || !gid_valid(gid)) in ipc_update_perm() 721 out->gid = gid; in ipc_update_perm() 780 perm->gid, perm->mode); in ipcctl_pre_down_nolock()
|
D | compat.c | 45 __compat_gid_t gid; member 145 err |= __get_user(p64->gid, &up64->gid); in __get_compat_ipc64_perm() 156 err |= __get_user(p->gid, &up->gid); in __get_compat_ipc_perm() 168 err |= __put_user(p64->gid, &up64->gid); in __put_compat_ipc64_perm() 186 SET_GID(g, p->gid); in __put_compat_ipc_perm() 187 err |= __put_user(g, &up->gid); in __put_compat_ipc_perm()
|
D | msg.c | 383 out->msg_perm.gid = tbuf_old.msg_perm.gid; in copy_msqid_from_user() 994 from_kgid_munged(user_ns, msq->q_perm.gid), in sysvipc_msg_proc_show()
|
D | shm.c | 654 out->shm_perm.gid = tbuf_old.shm_perm.gid; in copy_shmid_from_user() 1271 from_kgid_munged(user_ns, shp->shm_perm.gid), in sysvipc_shm_proc_show()
|
D | sem.c | 1267 out->sem_perm.gid = tbuf_old.sem_perm.gid; in copy_semid_from_user() 1896 from_kgid_munged(user_ns, sma->sem_perm.gid), in sysvipc_sem_proc_show()
|