[uClibc-cvs] [buildroot 0000222]: SysV IPC incorrect in user space
bugs at busybox.net
bugs at busybox.net
Sat Apr 16 11:13:52 UTC 2005
A NOTE has been added to this issue.
======================================================================
<http://busybox.net/bugs/view.php?id=222>
======================================================================
Reported By: Luke
Assigned To: uClibc
======================================================================
Project: buildroot
Issue ID: 222
Category: Architecture Specific
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 04-11-2005 21:15 PDT
Last Modified: 04-16-2005 04:13 PDT
======================================================================
Summary: SysV IPC incorrect in user space
Description:
The output of ipcs does not correspond to the output of /proc/sysvipc/msg.
More specifically ipcs reports the "used-bytes" column to be 16384 when
there are no messages on the queue.
It looks like an alignment issue in the msqid_ds structure in
/usr/include/bits/ipc.h since the msg_qbytes default value of 16384 is
actually being seen in the msg_cbytes field.
======================================================================
----------------------------------------------------------------------
Luke - 04-11-05 23:08
----------------------------------------------------------------------
uClibc : 0.9.27
kernel : 2.6.11.6
gcc : 3.4.3
kernel-headers: 2.6.11.2
busybox : 1.00
Built using buildroot
----------------------------------------------------------------------
Luke - 04-13-05 22:29
----------------------------------------------------------------------
Seems to be OK with uClibc 0.9.26
----------------------------------------------------------------------
Luke - 04-16-05 04:13
----------------------------------------------------------------------
uClibc needs to distinguish between msqid_ds and msqid64_ds and be able to
convert from one to the other.
glibc does this and passes __IPC_64 as part of the cmd arg in msgctl,
shmctl and semctl syscalls.
Issue History
Date Modified Username Field Change
======================================================================
04-11-05 21:15 Luke New Issue
04-11-05 23:08 Luke Note Added: 0000142
04-13-05 22:29 Luke Note Added: 0000146
04-16-05 04:13 Luke Note Added: 0000165
======================================================================
More information about the uClibc-cvs
mailing list