Home
last modified time | relevance | path

Searched refs:shm_perm (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dshm.c272 if (error = ipcperm_access(&sp->shm_perm, SHM_R, CRED())) in shmat()
275 (error = ipcperm_access(&sp->shm_perm, SHM_W, CRED()))) in shmat()
288 if (useISM && (error = ipcperm_access(&sp->shm_perm, SHM_W, CRED()))) in shmat()
603 if (sp->shm_perm.ipc_id != IPC_ID_INVAL) { in shm_dtor()
606 sp->shm_perm.ipc_proj->kpj_data.kpd_shmmax -= rsize; in shm_dtor()
607 sp->shm_perm.ipc_zone_ref.zref_zone->zone_shmmax -= rsize; in shm_dtor()
661 if (error = ipcperm_set(shm_svc, cr, &sp->shm_perm, in shmctl()
662 &STRUCT_BUF(ds)->shm_perm, mdl)) in shmctl()
668 if (error = ipcperm_access(&sp->shm_perm, SHM_R, cr)) in shmctl()
671 nattch = sp->shm_perm.ipc_ref - 1; in shmctl()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dshm.c135 shmid_ds.shm_perm.uid = uid;
136 shmid_ds.shm_perm.gid = gid;
137 shmid_ds.shm_perm.mode = mode;
/illumos-gate/usr/src/uts/common/sys/
H A Dshm_impl.h55 kipc_perm_t shm_perm; /* operation permission struct */ member
112 struct ipc_perm32 shm_perm; /* operation permission struct */ member
H A Dshm.h89 struct ipc_perm shm_perm; /* operation permission struct */ member
/illumos-gate/usr/src/cmd/mdb/common/modules/ipc/
H A Dipc.c217 nattch = shmid->shm_perm.ipc_ref - (IPC_FREE(&shmid->shm_perm) ? 0 : 1); in shm_print()
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_spt.c617 zone = sp->shm_perm.ipc_zone_ref.zref_zone; in segspt_create()
658 proj = sp->shm_perm.ipc_proj; in segspt_create()
803 proj = sp->shm_perm.ipc_proj; in segspt_free_pages()
2830 proj = sp->shm_perm.ipc_proj; in segspt_shmlockop()
H A Dseg_vn.c7682 proj = sp->shm_perm.ipc_proj; in segvn_lockop()
/illumos-gate/usr/src/uts/common/c2/
H A Daudit.c917 au_uwrite(au_to_ipc_perm(&(((kshmid_t *)vp)->shm_perm))); in audit_ipc()
940 au_uwrite(au_to_ipc_perm(&(((kshmid_t *)vp)->shm_perm))); in audit_ipcget()
/illumos-gate/usr/src/cmd/truss/
H A Dexpound.c2468 show_perm(pri, &shmds.shm_perm); in show_shmctl()
2492 show_perm32(pri, &shmds.shm_perm); in show_shmctl32()