diff options
author | ngie <ngie@FreeBSD.org> | 2015-10-11 08:26:48 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-10-11 08:26:48 +0000 |
commit | f5532a14fee5732f99496a00146658ec19c0fa63 (patch) | |
tree | 5de639b2d62549f868026c30efa7c4fbf8038a0b /lib/libc | |
parent | 33c7bf8e7b5beff5a1eb3e2ccf6a661c52360ec6 (diff) | |
download | FreeBSD-src-f5532a14fee5732f99496a00146658ec19c0fa63.zip FreeBSD-src-f5532a14fee5732f99496a00146658ec19c0fa63.tar.gz |
Revert r289133; retry the merge
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/shmctl.2 | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2 index 788e79f..98ddf13 100644 --- a/lib/libc/sys/shmctl.2 +++ b/lib/libc/sys/shmctl.2 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 10, 2015 +.Dd July 17, 1995 .Dt SHMCTL 2 .Os .Sh NAME @@ -72,18 +72,15 @@ or it must have superuser privileges. .It Dv IPC_RMID Removes the segment from the system. The removal will not take -effect until all processes having attached the segment have exited. +effect until all processes having attached the segment have exited; +however, once the IPC_RMID operation has taken place, no further +processes will be allowed to attach the segment. For the operation to succeed, the calling process's effective uid must match .Fa shm_perm.uid or .Fa shm_perm.cuid , or the process must have superuser privileges. -If the -.Va kern.ipc.shm_allow_removed -.Xr sysctl 3 -variable is set to 0, once the IPC_RMID operation has taken place, -no further processes will be allowed to attach the segment. .\" .It Dv SHM_LOCK .\" Locks the segment in memory. The calling process must have .\" superuser privileges. Not implemented in FreeBSD. |