HomeSort by: relevance | last modified time | path
    Searched refs:shm_perm (Results 1 - 22 of 22) sorted by relevancy

  /src/sys/compat/sys/
shm.h 44 struct ipc_perm14 shm_perm; /* operation permission structure */ member in struct:shmid_ds14
56 struct ipc_perm shm_perm; /* operation permission structure */ member in struct:shmid_ds13
74 struct ipc_perm_sysctl shm_perm; member in struct:shmid_ds_sysctl50
97 __ipc_perm14_to_native(&oshmbuf->shm_perm, &shmbuf->shm_perm);
115 __native_to_ipc_perm14(&shmbuf->shm_perm, &oshmbuf->shm_perm);
134 shmbuf->shm_perm = oshmbuf->shm_perm;
152 oshmbuf->shm_perm = shmbuf->shm_perm
    [all...]
  /src/sys/kern/
sysv_shm.c 138 memcpy(perm, &shmseg->shm_perm, sizeof(*perm));
159 if ((shmseg->shm_perm.mode & SHMSEG_ALLOCATED) == 0)
161 if ((shmseg->shm_perm.mode &
164 if (shmseg->shm_perm._seq != IPCID_TO_SEQ(shmid))
185 shmseg->shm_perm._key, shmseg->shm_perm._seq));
188 wanted = (shmseg->shm_perm.mode & SHMSEG_WANTED);
193 shmseg->shm_perm.mode = SHMSEG_FREE;
219 (shmseg->shm_perm.mode & SHMSEG_REMOVED)) {
283 if (cmd == SHM_LOCK && (shmseg->shm_perm.mode & SHMSEG_WIRED) == 0)
    [all...]
  /src/sys/sys/
shm.h 100 struct ipc_perm shm_perm; /* operation permission structure */ member in struct:shmid_ds
146 struct ipc_perm_sysctl shm_perm; member in struct:shmid_ds_sysctl
187 SYSCTL_FILL_PERM((src).shm_perm, (dst).shm_perm); \
  /src/tests/kernel/
t_sysv.c 643 s_ds.shm_perm.mode = (s_ds.shm_perm.mode & ~0777) | 0600;
653 ATF_REQUIRE_MSG((s_ds.shm_perm.mode & 0777) == 0600,
719 sp->shm_perm.uid, sp->shm_perm.gid,
720 sp->shm_perm.cuid, sp->shm_perm.cgid,
721 sp->shm_perm.mode & 0777);
735 ATF_REQUIRE_MSG(sp->shm_perm.uid == uid && sp->shm_perm.cuid == uid
    [all...]
  /src/usr.bin/ipcs/
ipcs.c 577 if (shmptr->shm_perm.mode & 0x0800)
581 IXSEQ_TO_IPCID(i, shmptr->shm_perm),
582 shmptr->shm_perm._key,
583 shmptr->shm_perm.mode,
584 shmptr->shm_perm.uid,
585 shmptr->shm_perm.gid,
586 shmptr->shm_perm.cuid,
587 shmptr->shm_perm.cgid,
  /src/sys/compat/netbsd32/
netbsd32_compat_14_sysv.c 168 netbsd32_ipc_perm14_to_native(&oshmbuf->shm_perm, &shmbuf->shm_perm);
186 native_to_netbsd32_ipc_perm14(&shmbuf->shm_perm, &oshmbuf->shm_perm);
netbsd32_conv.h 687 netbsd32_to_ipc_perm(&ds32p->shm_perm, &dsp->shm_perm);
703 netbsd32_to_ipc_perm(&ds32p->shm_perm, &dsp->shm_perm);
719 netbsd32_from_ipc_perm(&dsp->shm_perm, &ds32p->shm_perm);
735 netbsd32_from_ipc_perm(&dsp->shm_perm, &ds32p->shm_perm);
netbsd32.h 649 struct netbsd32_ipc_perm shm_perm; /* operation permission structure */ member in struct:netbsd32_shmid_ds
662 struct netbsd32_ipc_perm shm_perm; /* operation permission structure */ member in struct:netbsd32_shmid_ds50
675 struct netbsd32_ipc_perm14 shm_perm; /* operation permission structure */ member in struct:netbsd32_shmid_ds14
  /src/sys/compat/linux/common/
linux_ipc.c 503 linux_to_bsd_ipc_perm(&lsp->l_shm_perm, &bsp->shm_perm);
517 linux_to_bsd_ipc64_perm(&lsp->l_shm_perm, &bsp->shm_perm);
532 bsd_to_linux_ipc_perm(&bsp->shm_perm, &lsp->l_shm_perm);
547 bsd_to_linux_ipc64_perm(&bsp->shm_perm, &lsp->l_shm_perm);
635 if (shmsegs[i].shm_perm.mode & SHMSEG_ALLOCATED)
644 if (shmsegs[i].shm_perm.mode & SHMSEG_ALLOCATED)
653 if (shmsegs[i].shm_perm.mode & SHMSEG_ALLOCATED)
  /src/usr.bin/ipcrm/
ipcrm.c 166 if (shmptr->shm_perm.mode & 0x0800)
168 (int)IXSEQ_TO_IPCID(i, shmptr->shm_perm));
  /src/sys/miscfs/procfs/
procfs_linux.c 883 if ((shmsegs[id].shm_perm.mode & SHMSEG_ALLOCATED) != 0) {
886 (int) shmsegs[id].shm_perm._key,
887 IXSEQ_TO_IPCID(id, shmsegs[id].shm_perm),
888 shmsegs[id].shm_perm.mode,
893 shmsegs[id].shm_perm.uid,
894 shmsegs[id].shm_perm.gid,
895 shmsegs[id].shm_perm.cuid,
896 shmsegs[id].shm_perm.cgid,
  /src/sys/compat/linux32/common/
linux32_ipccall.c 557 bsd_to_linux32_ipc_perm(&bsp->shm_perm, &lsp->l_shm_perm);
571 linux32_to_bsd_ipc_perm(&lsp->l_shm_perm, &bsp->shm_perm);
586 bsd_to_linux32_ipc64_perm(&bsp->shm_perm, &lsp->l_shm_perm);
600 linux32_to_bsd_ipc64_perm(&lsp->l_shm_perm, &bsp->shm_perm);
  /src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
sanitizer_platform_limits_openbsd.h 102 __sanitizer_ipc_perm shm_perm; member in struct:__sanitizer::__sanitizer_shmid_ds
sanitizer_platform_limits_solaris.h 75 __sanitizer_ipc_perm shm_perm; member in struct:__sanitizer::__sanitizer_shmid_ds
sanitizer_platform_limits_freebsd.h 119 __sanitizer_ipc_perm shm_perm; member in struct:__sanitizer::__sanitizer_shmid_ds
sanitizer_platform_limits_openbsd.cc 236 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);
sanitizer_platform_limits_solaris.cc 304 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);
sanitizer_platform_limits_freebsd.cc 466 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);
sanitizer_platform_limits_posix.h 240 __sanitizer_ipc_perm shm_perm; member in struct:__sanitizer::__sanitizer_shmid_ds
sanitizer_platform_limits_posix.cc 1138 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);
sanitizer_platform_limits_netbsd.h 128 __sanitizer_ipc_perm shm_perm; member in struct:__sanitizer::__sanitizer_shmid_ds
sanitizer_platform_limits_netbsd.cc 2462 CHECK_SIZE_AND_OFFSET(shmid_ds, shm_perm);

Completed in 33 milliseconds