BPXYIPCP ,
** BPXYIPCP: Interprocess Communications Permission
** Used By: MCT, MGT, SCT, SGT, QCT, QGT
IPC_PERM DSECT , Interprocess Communications
IPC_UID DS F Owner's effective user ID
IPC_GID DS F Owner's effective group ID
IPC_CUID DS F Creator's effective user ID
IPC_CGID DS F Creator's effective group ID
IPC_MODE DS XL4 Mode, mapped by BPXYMODE
IPC#LENGTH EQU *-IPC_PERM Length of Interprocess Control block
SPACE ,
* Key:
IPC_PRIVATE EQU 0 Private key.
SPACE ,
* Mode bits: Map over S_TYPE in BPXYMODE
IPC_CREAT EQU 1 Create entry if key does not exist.
IPC_EXCL EQU 2 Fail if key exists.
IPC_MEGA EQU 4 Allocation in meg
IPC_BINSEM EQU 4 Binary semaphore
IPC_RCVTYPEPID EQU 4 Msgrcv TYPE=PID
IPC_SNDTYPEPID EQU 8 Msgsnd TYPE=PID
IPC_PLO1 EQU 16 Use PLO for serialization
IPC_SHORTHOLD EQU 16 Binary semaphore short @D5A
IPC_PLO2 EQU 32 Use PLO if practical
IPC_PLOINUSE EQU 1 PLO is in use (_getipc only)
IPC_GIGA EQU 8 Allocation in Gig - amode 64 @D6A
IPC_BELOWBAR EQU 16 Allocate below bar @D6A
IPC_SHAREAS EQU 32 Share within Address Space @D7A
SPACE ,
* Flag bits - semop, msgrcv, msgsnd:
IPC_NOWAIT EQU 1 Error if request must wait.
SPACE ,
* Control Command:
IPC_RMID EQU 1 Remove identifier.
IPC_SET EQU 2 Set options.
IPC_STAT EQU 3 Access status.
SPACE ,
* CONSTANTS WHICH MAP OVER BYTE S_TYPE, SEE BPXYMODE
** BPXYIPCP End