Home
last modified time | relevance | path

Searched refs:tbuf_old (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/ipc/
Dmsg.c402 struct msqid_ds tbuf_old; in copy_msqid_from_user() local
404 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()
Dshm.c311 struct shmid_ds tbuf_old; in copy_shmid_from_user() local
313 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()
Dsem.c682 struct semid_ds tbuf_old; in copy_semid_from_user() local
684 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()