From 5f66889a21f4a5d764385740dd45b8fcb171ab64 Mon Sep 17 00:00:00 2001
From: Gregory Nutt
- The values of shm_perm.cuid
, shm_perm.uid
, shm_perm.cgid
, and shm_perm.gid
are set equal to the effective user ID and effective group ID, respectively, of the calling process.
-
The low-order nine bits of shm_perm.mode
are set equal to the low-order nine bits of shmflg
.
@@ -9162,6 +9157,17 @@ int shmget(key_t key, size_t size, int shmflg);
A shared memory identifier is to be created, but the system-imposed limit on the maximum number of allowed shared memory identifiers system-wide would be exceeded.
+ POSIX Deviations +
+
+ The values of shm_perm.cuid
, shm_perm.uid
, shm_perm.cgid
, and shm_perm.gid
should be set equal to the effective user ID and effective group ID, respectively, of the calling process.
+ The NuttX ipc_perm
structure, however, does not support these fields because user and group IDs are not yet supported by NuttX.
+
shmat