summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/bits
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-11-02 15:15:10 +0000
committerEric Andersen <andersen@codepoet.org>2004-11-02 15:15:10 +0000
commit139ea40709b94e0869d4cf7f12fe56656980f163 (patch)
tree9f1e2957ca758d15737bf619bb91e9f5efde12ed /libc/sysdeps/linux/common/bits
parentdc0f822bfed430e5b4f87f27c2e63171fa5fba28 (diff)
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
Diffstat (limited to 'libc/sysdeps/linux/common/bits')
-rw-r--r--libc/sysdeps/linux/common/bits/ipc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/ipc.h b/libc/sysdeps/linux/common/bits/ipc.h
index 97f9b5808..7103365ac 100644
--- a/libc/sysdeps/linux/common/bits/ipc.h
+++ b/libc/sysdeps/linux/common/bits/ipc.h
@@ -51,6 +51,6 @@ struct ipc_perm
__kernel_uid_t cuid;
__kernel_gid_t cgid;
__kernel_mode_t mode;
- unsigned short __seq;
+ unsigned long seq;
};