Searched refs:tbuf_old (Results 1 – 3 of 3) sorted by relevance
375 struct msqid_ds tbuf_old; in copy_msqid_from_user() local377 if (copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_msqid_from_user()380 out->msg_perm.uid = tbuf_old.msg_perm.uid; in copy_msqid_from_user()381 out->msg_perm.gid = tbuf_old.msg_perm.gid; in copy_msqid_from_user()382 out->msg_perm.mode = tbuf_old.msg_perm.mode; in copy_msqid_from_user()384 if (tbuf_old.msg_qbytes == 0) in copy_msqid_from_user()385 out->msg_qbytes = tbuf_old.msg_lqbytes; in copy_msqid_from_user()387 out->msg_qbytes = tbuf_old.msg_qbytes; in copy_msqid_from_user()
891 struct shmid_ds tbuf_old; in copy_shmid_from_user() local893 if (copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_shmid_from_user()896 out->shm_perm.uid = tbuf_old.shm_perm.uid; in copy_shmid_from_user()897 out->shm_perm.gid = tbuf_old.shm_perm.gid; in copy_shmid_from_user()898 out->shm_perm.mode = tbuf_old.shm_perm.mode; in copy_shmid_from_user()
1580 struct semid_ds tbuf_old; in copy_semid_from_user() local1582 if (copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_semid_from_user()1585 out->sem_perm.uid = tbuf_old.sem_perm.uid; in copy_semid_from_user()1586 out->sem_perm.gid = tbuf_old.sem_perm.gid; in copy_semid_from_user()1587 out->sem_perm.mode = tbuf_old.sem_perm.mode; in copy_semid_from_user()