Searched refs:setbuf (Results 1 – 3 of 3) sorted by relevance
427 struct msq_setbuf setbuf; in sys_msgctl() local514 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()
379 struct shm_setbuf setbuf; in sys_shmctl() local527 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()
702 struct sem_setbuf setbuf; in semctl_down() local706 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()