Searched refs:uid (Results 1 – 6 of 6) sorted by relevance
/ipc/ |
D | compat.c | 44 to->uid = v.uid; in get_compat_ipc64_perm() 56 to->uid = v.uid; in get_compat_ipc_perm() 65 to->uid = from->uid; in to_compat_ipc64_perm() 76 SET_UID(to->uid, from->uid); in to_compat_ipc_perm()
|
D | util.c | 299 new->cuid = new->uid = euid; in ipc_addid() 528 uid_eq(euid, ipcp->uid)) in ipcperms() 556 out->uid = from_kuid_munged(current_user_ns(), in->uid); in kernel_to_ipc64_perm() 575 SET_UID(out->uid, in->uid); in ipc64_perm_to_ipc_perm() 655 kuid_t uid = make_kuid(current_user_ns(), in->uid); in ipc_update_perm() local 657 if (!uid_valid(uid) || !gid_valid(gid)) in ipc_update_perm() 660 out->uid = uid; in ipc_update_perm() 704 audit_ipc_set_perm(extra_perm, perm->uid, in ipcctl_obtain_check() 708 if (uid_eq(euid, ipcp->cuid) || uid_eq(euid, ipcp->uid) || in ipcctl_obtain_check()
|
D | util.h | 259 __compat_uid_t uid; member
|
D | shm.c | 791 out->shm_perm.uid = tbuf_old.shm_perm.uid; in copy_shmid_from_user() 1093 if (!uid_eq(euid, shp->shm_perm.uid) && in shmctl_do_lock() 1767 from_kuid_munged(user_ns, shp->shm_perm.uid), in sysvipc_shm_proc_show()
|
D | msg.c | 358 out->msg_perm.uid = tbuf_old.msg_perm.uid; in copy_msqid_from_user() 1303 from_kuid_munged(user_ns, msq->q_perm.uid), in sysvipc_msg_proc_show()
|
D | sem.c | 1567 out->sem_perm.uid = tbuf_old.sem_perm.uid; in copy_semid_from_user() 2437 from_kuid_munged(user_ns, sma->sem_perm.uid), in sysvipc_sem_proc_show()
|