OSDN Git Service

struct ipc_perm, as used by shmctl() when soing shared memory stuff,
authorEric Andersen <andersen@codepoet.org>
Tue, 2 Nov 2004 15:15:10 +0000 (15:15 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 2 Nov 2004 15:15:10 +0000 (15:15 -0000)
commit139ea40709b94e0869d4cf7f12fe56656980f163
tree9f1e2957ca758d15737bf619bb91e9f5efde12ed
parentdc0f822bfed430e5b4f87f27c2e63171fa5fba28
struct ipc_perm, as used by shmctl() when soing shared memory stuff,
was incorrect in uClibc, and was 2 bytes too short.  This caused uClibc
shared memory stuff to not behave correctly since struct ipc_perm was
included as the first member of, i.e. struct msqid_ds, so the content
of that struct were all shifted by two bytes.  ugh.  Apparently, few
people have used shared memory, msgctl(), etc with uClibc thus far,
 -Erik
libc/sysdeps/linux/common/bits/ipc.h