Searched refs:tbuf_old (Results 1 – 3 of 3) sorted by relevance
402 struct msqid_ds tbuf_old; in copy_msqid_from_user() local404 if (copy_from_user (&tbuf_old, buf, sizeof (tbuf_old))) in copy_msqid_from_user()407 out->uid = tbuf_old.msg_perm.uid; in copy_msqid_from_user()408 out->gid = tbuf_old.msg_perm.gid; in copy_msqid_from_user()409 out->mode = tbuf_old.msg_perm.mode; in copy_msqid_from_user()411 if(tbuf_old.msg_qbytes == 0) in copy_msqid_from_user()412 out->qbytes = tbuf_old.msg_lqbytes; in copy_msqid_from_user()414 out->qbytes = tbuf_old.msg_qbytes; in copy_msqid_from_user()
311 struct shmid_ds tbuf_old; in copy_shmid_from_user() local313 if (copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_shmid_from_user()316 out->uid = tbuf_old.shm_perm.uid; in copy_shmid_from_user()317 out->gid = tbuf_old.shm_perm.gid; in copy_shmid_from_user()318 out->mode = tbuf_old.shm_flags; in copy_shmid_from_user()
682 struct semid_ds tbuf_old; in copy_semid_from_user() local684 if(copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_semid_from_user()687 out->uid = tbuf_old.sem_perm.uid; in copy_semid_from_user()688 out->gid = tbuf_old.sem_perm.gid; in copy_semid_from_user()689 out->mode = tbuf_old.sem_perm.mode; in copy_semid_from_user()