• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/ipc/

Lines Matching refs:shm_perm

62 	ipc_unlock(&(shp)->shm_perm)
88 shp = container_of(ipcp, struct shmid_kernel, shm_perm);
91 shp->shm_perm.mode |= SHM_DEST;
93 shp->shm_perm.key = IPC_PRIVATE;
126 return container_of(ipcp, struct shmid_kernel, shm_perm);
137 return container_of(ipcp, struct shmid_kernel, shm_perm);
142 ipc_rmid(&shm_ids(ns), &s->shm_perm);
206 shp->shm_perm.mode & SHM_DEST)
356 shp->shm_perm.key = key;
357 shp->shm_perm.mode = (shmflg & S_IRWXUGO);
360 shp->shm_perm.security = NULL;
388 id = ipc_addid(&shm_ids(ns), &shp->shm_perm, ns->shm_ctlmni);
405 file->f_dentry->d_inode->i_ino = shp->shm_perm.id;
408 error = shp->shm_perm.id;
429 shp = container_of(ipcp, struct shmid_kernel, shm_perm);
441 shp = container_of(ipcp, struct shmid_kernel, shm_perm);
477 ipc64_perm_to_ipc_perm(&in->shm_perm, &out.shm_perm);
508 out->shm_perm.uid = tbuf_old.shm_perm.uid;
509 out->shm_perm.gid = tbuf_old.shm_perm.gid;
510 out->shm_perm.mode = tbuf_old.shm_perm.mode;
567 shp = container_of(ipc, struct shmid_kernel, shm_perm);
609 ipcp = ipcctl_pre_down(&shm_ids(ns), shmid, cmd, &shmid64.shm_perm, 0);
613 shp = container_of(ipcp, struct shmid_kernel, shm_perm);
623 ipc_update_perm(&shmid64.shm_perm, ipcp);
713 result = shp->shm_perm.id;
723 if (ipcperms (&shp->shm_perm, S_IRUGO))
729 kernel_to_ipc64_perm(&shp->shm_perm, &tbuf.shm_perm);
757 audit_ipc_obj(&(shp->shm_perm));
762 if (euid != shp->shm_perm.uid &&
763 euid != shp->shm_perm.cuid)
777 if (!err && !(shp->shm_perm.mode & SHM_LOCKED)){
778 shp->shm_perm.mode |= SHM_LOCKED;
784 shp->shm_perm.mode &= ~SHM_LOCKED;
874 if (ipcperms(&shp->shm_perm, acc_mode))
901 sfd->id = shp->shm_perm.id;
936 shp->shm_perm.mode & SHM_DEST)
1084 shp->shm_perm.key,
1085 shp->shm_perm.id,
1086 shp->shm_perm.mode,
1091 shp->shm_perm.uid,
1092 shp->shm_perm.gid,
1093 shp->shm_perm.cuid,
1094 shp->shm_perm.cgid,