summaryrefslogtreecommitdiff
path: root/nuttx/Documentation/NuttxUserGuide.html
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-23 08:46:31 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-23 08:46:31 -0600
commit0ab7598b044d6520db91211abe62a75c51a9ea81 (patch)
treea3f5ab01f1b662b2be927c02fe64a139d6fcf380 /nuttx/Documentation/NuttxUserGuide.html
parent0f3f2d5095043776fc32c2f802bbbf2ed3865533 (diff)
downloadnuttx-0ab7598b044d6520db91211abe62a75c51a9ea81.tar.gz
nuttx-0ab7598b044d6520db91211abe62a75c51a9ea81.tar.bz2
nuttx-0ab7598b044d6520db91211abe62a75c51a9ea81.zip
Add shared memory initializatin logic
Diffstat (limited to 'nuttx/Documentation/NuttxUserGuide.html')
-rw-r--r--nuttx/Documentation/NuttxUserGuide.html16
1 files changed, 11 insertions, 5 deletions
diff --git a/nuttx/Documentation/NuttxUserGuide.html b/nuttx/Documentation/NuttxUserGuide.html
index 480c7daf7..ee5d45ae1 100644
--- a/nuttx/Documentation/NuttxUserGuide.html
+++ b/nuttx/Documentation/NuttxUserGuide.html
@@ -9087,11 +9087,6 @@ int shmget(key_t key, size_t size, int shmflg);
<ul>
<li>
<p>
- The values of <code>shm_perm.cuid</code>, <code>shm_perm.uid</code>, <code>shm_perm.cgid</code>, and <code>shm_perm.gid</code> are set equal to the effective user ID and effective group ID, respectively, of the calling process.
- </p>
- </li>
- <li>
- <p>
The low-order nine bits of <code>shm_perm.mode</code> are set equal to the low-order nine bits of <code>shmflg</code>.
</p>
</li>
@@ -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.
</li>
</ul>
+<p>
+ <b>POSIX Deviations</b>
+<p>
+<ul>
+ <li>
+ <p>
+ The values of <code>shm_perm.cuid</code>, <code>shm_perm.uid</code>, <code>shm_perm.cgid</code>, and <code>shm_perm.gid</code> should be set equal to the effective user ID and effective group ID, respectively, of the calling process.
+ The NuttX <code>ipc_perm</code> structure, however, does not support these fields because user and group IDs are not yet supported by NuttX.
+ </p>
+ </li>
+</ul>
<h3><a name="shmat">2.12.2 <code>shmat</code></a></h3>
<p>