Searched refs:tbuf_old (Results 1 – 3 of 3) sorted by relevance
385 struct msqid_ds tbuf_old; in copy_msqid_from_user() local387 if (copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_msqid_from_user()390 out->msg_perm.uid = tbuf_old.msg_perm.uid; in copy_msqid_from_user()391 out->msg_perm.gid = tbuf_old.msg_perm.gid; in copy_msqid_from_user()392 out->msg_perm.mode = tbuf_old.msg_perm.mode; in copy_msqid_from_user()394 if (tbuf_old.msg_qbytes == 0) in copy_msqid_from_user()395 out->msg_qbytes = tbuf_old.msg_lqbytes; in copy_msqid_from_user()397 out->msg_qbytes = tbuf_old.msg_qbytes; in copy_msqid_from_user()
509 struct shmid_ds tbuf_old; in copy_shmid_from_user() local511 if (copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_shmid_from_user()514 out->shm_perm.uid = tbuf_old.shm_perm.uid; in copy_shmid_from_user()515 out->shm_perm.gid = tbuf_old.shm_perm.gid; in copy_shmid_from_user()516 out->shm_perm.mode = tbuf_old.shm_perm.mode; in copy_shmid_from_user()
1017 struct semid_ds tbuf_old; in copy_semid_from_user() local1019 if(copy_from_user(&tbuf_old, buf, sizeof(tbuf_old))) in copy_semid_from_user()1022 out->sem_perm.uid = tbuf_old.sem_perm.uid; in copy_semid_from_user()1023 out->sem_perm.gid = tbuf_old.sem_perm.gid; in copy_semid_from_user()1024 out->sem_perm.mode = tbuf_old.sem_perm.mode; in copy_semid_from_user()