Searched refs:tbuf_old (Results 1 – 3 of 3) sorted by relevance
353 struct msqid_ds tbuf_old; in copy_msqid_from_user() local355 if (copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_msqid_from_user()358 out->msg_perm.uid = tbuf_old.msg_perm.uid; in copy_msqid_from_user()359 out->msg_perm.gid = tbuf_old.msg_perm.gid; in copy_msqid_from_user()360 out->msg_perm.mode = tbuf_old.msg_perm.mode; in copy_msqid_from_user()362 if (tbuf_old.msg_qbytes == 0) in copy_msqid_from_user()363 out->msg_qbytes = tbuf_old.msg_lqbytes; in copy_msqid_from_user()365 out->msg_qbytes = tbuf_old.msg_qbytes; in copy_msqid_from_user()
786 struct shmid_ds tbuf_old; in copy_shmid_from_user() local788 if (copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_shmid_from_user()791 out->shm_perm.uid = tbuf_old.shm_perm.uid; in copy_shmid_from_user()792 out->shm_perm.gid = tbuf_old.shm_perm.gid; in copy_shmid_from_user()793 out->shm_perm.mode = tbuf_old.shm_perm.mode; in copy_shmid_from_user()
1562 struct semid_ds tbuf_old; in copy_semid_from_user() local1564 if (copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_semid_from_user()1567 out->sem_perm.uid = tbuf_old.sem_perm.uid; in copy_semid_from_user()1568 out->sem_perm.gid = tbuf_old.sem_perm.gid; in copy_semid_from_user()1569 out->sem_perm.mode = tbuf_old.sem_perm.mode; in copy_semid_from_user()