Home
last modified time | relevance | path

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

/linux-2.4.37.9/ipc/
Dmsg.c427 struct msq_setbuf setbuf; in sys_msgctl() local
514 if (copy_msqid_from_user (&setbuf, buf, version)) in sys_msgctl()
542 if (setbuf.qbytes > msg_ctlmnb && !capable(CAP_SYS_RESOURCE)) in sys_msgctl()
544 msq->q_qbytes = setbuf.qbytes; in sys_msgctl()
546 ipcp->uid = setbuf.uid; in sys_msgctl()
547 ipcp->gid = setbuf.gid; in sys_msgctl()
549 (S_IRWXUGO & setbuf.mode); in sys_msgctl()
Dshm.c379 struct shm_setbuf setbuf; in sys_shmctl() local
527 if(copy_shmid_from_user (&setbuf, buf, version)) in sys_shmctl()
544 shp->shm_perm.uid = setbuf.uid; in sys_shmctl()
545 shp->shm_perm.gid = setbuf.gid; in sys_shmctl()
547 | (setbuf.mode & S_IRWXUGO); in sys_shmctl()
Dsem.c702 struct sem_setbuf setbuf; in semctl_down() local
706 if(copy_semid_from_user (&setbuf, arg.buf, version)) in semctl_down()
731 ipcp->uid = setbuf.uid; in semctl_down()
732 ipcp->gid = setbuf.gid; in semctl_down()
734 | (setbuf.mode & S_IRWXUGO); in semctl_down()