summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2009-03-12 13:45:55 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2009-03-12 13:45:55 +0000
commit3112e9d48546c4c7b13a53224e8907a102ab2b0e (patch)
treefdce54a73f47ef9fe526b7d4fc7e229fdefa6547 /lib/libc
parent0722f1ca8ec3d30c051ac4877dd35145258e3e24 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/shmctl.210
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/libc/sys/shmctl.2 b/lib/libc/sys/shmctl.2
index 90c61c9a1946..2ac7d0541c11 100644
--- a/lib/libc/sys/shmctl.2
+++ b/lib/libc/sys/shmctl.2
@@ -133,6 +133,16 @@ the shared memory segment's owner or creator.
Permission denied due to mismatch between operation and mode of
shared memory segment.
.El
+.Sh "BUGS"
+The segment size has size_t type.
+The shm_segsz member of the
+.Vt shmid_ds
+structure has type int, which is too short to represent the full range
+of values for a segment size.
+If shared memory limits are raised to allow segments with size > 2 GB
+to be created, be aware that IPC_STAT call may return a truncated value
+for shm_segsz.
+.El
.Sh "SEE ALSO"
.Xr shmat 2 ,
.Xr shmdt 2 ,