AMODE 31 callers use BPXYSHM—Map interprocess communication shared memory segments.
SYSSTATE AMODE64=YES
BPXYSHM ,
** BPXYSHM: Interprocess Communications Permission
** Used By: XMC
SHMID_DS DSECT , SHMID_DS - shmctl structure
SHM_PERM DS CL(IPC#LENGTH) Mapped by BPXYIPC
SHM_SEGSZ DS F size of segment in bytes
SHM_LPID DS F process ID of last operation
SHM_CPID DS F process ID of creator
SHM_NATTCH DS F number of current attaches
SHM_ATIME DS F time of last shmat
SHM_DTIME DS F time of last shmdt
SHM_CTIME DS F time of last change shmget/shmctl
SHM_RES2 DS F Reserved
SHM_FLAGS DS F Flags
SHM_SEG64 EQU X'80' Shared memory above the bar
ORG SHM_FLAGS+1
SHM_DUMP_PRIO64 DS FL1 Dump priority for this seg
SHM_RES3 DS FL2 Reserved
SHM_SEGADDR64 DS AD Address of segment
SHM_SEGSIZE64 DS FD Size of segment in bytes
SHM_ATIME64 DS FD time64_t of last shmat
SHM_DTIME64 DS FD time64_t of last shmdt
SHM_CTIME64 DS FD time64_t of last change shmget/shmctl
*
* Mode bits (mapped over S_TYPE in BPXYMODE):
SHM_RDONLY EQU 1 Attach read-only (else read-write)
SHM_RND EQU 2 Round attach address to SHMLBA
SHMLBA EQU 4096 Rounding boundary
SHM#LENGTH EQU *-SHMID_DS Length of this DSECT
** BPXYSHM End