Home
last modified time | relevance | path

Searched refs:uid (Results 1 – 6 of 6) sorted by relevance

/ipc/
Dutil.c286 new->cuid = new->uid = euid; in ipc_addid()
633 euid == ipcp->uid) in ipcperms()
663 out->uid = in->uid; in kernel_to_ipc64_perm()
683 SET_UID(out->uid, in->uid); in ipc64_perm_to_ipc_perm()
769 out->uid = in->uid; in ipc_update_perm()
807 audit_ipc_set_perm(extra_perm, perm->uid, in ipcctl_pre_down()
812 euid == ipcp->uid || capable(CAP_SYS_ADMIN)) in ipcctl_pre_down()
Dcompat.c44 __compat_uid_t uid; member
139 err = __get_user(p64->uid, &up64->uid); in __get_compat_ipc64_perm()
150 err = __get_user(p->uid, &up->uid); in __get_compat_ipc_perm()
162 err |= __put_user(p64->uid, &up64->uid); in __put_compat_ipc64_perm()
179 SET_UID(u, p->uid); in __put_compat_ipc_perm()
180 err |= __put_user(u, &up->uid); in __put_compat_ipc_perm()
Dutil.h134 static inline int ipc_checkid(struct kern_ipc_perm *ipcp, int uid) in ipc_checkid() argument
136 if (uid / SEQ_MULTIPLIER != ipcp->seq) in ipc_checkid()
Dshm.c504 out->shm_perm.uid = tbuf_old.shm_perm.uid; in copy_shmid_from_user()
756 if (euid != shp->shm_perm.uid && in SYSCALL_DEFINE3()
1080 shp->shm_perm.uid, in sysvipc_shm_proc_show()
Dmsg.c390 out->msg_perm.uid = tbuf_old.msg_perm.uid; in copy_msqid_from_user()
936 msq->q_perm.uid, in sysvipc_msg_proc_show()
Dsem.c832 out->sem_perm.uid = tbuf_old.sem_perm.uid; in copy_semid_from_user()
1373 sma->sem_perm.uid, in sysvipc_sem_proc_show()