Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
shmctl(2) OSS System Calls Reference Manual
• The cmd parameter is IPC_SET, and the buf structure is not in the
address space of the process.
[EINVAL] One of the following conditions exists:
• The shmid parameter does not specify a valid shared memory identifier.
• The cmd parameter is not a valid command.
[ENOTOSS] The calling process is not an OSS process. The requested operation cannot be
performed from the Guardian environment on servers running J06.11 or earlier
J-series RVUs, H06.22 or earlier H-series RVUs, or G-series RVUs.
[EPERM] The cmd parameter is equal to either IPC_RMID or IPC_SET, and the calling
process does not have the correct privileges.
RELATED INFORMATION
Commands: ipcrm(1), ipcs(1).
Functions: shmat(2), shmdt(2), shmget(2).
STANDARDS CONFORMANCE
The following are HP extensions to the XPG4 Version 2 specification:
• The errno values [EFAULT] can be returned.
• On servers running J06.11 or earlier J-series RVUs, H06.22 or earlier H-series RVUs, or
G-series RVUs, the errno value [ENOTOSS] can be returned if this function is called
from a Guardian process.
• If the relevant action was performed by a Guardian process, the reported values of the
shm_lpid and shm_cpid members of the shmid_ds structure are Guardian PIN values.
7−82 Hewlett-Packard Company 527186-023