[Top] [All Lists]

Re: sysv ipc msg functions

To: Daniel Jacobowitz <>
Subject: Re: sysv ipc msg functions
From: Greg Weeks <>
Date: Tue, 19 Apr 2005 11:52:13 -0400
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mozilla Thunderbird 1.0 (X11/20041206)
Daniel Jacobowitz wrote:

On Tue, Apr 19, 2005 at 10:42:24AM -0400, Greg Weeks wrote:
I needed this glibc patch to get the sysv ipc msgctl functions to work correctly. This looks a bit hackish to me, so I wanted to run it past everybody here before filing it with glibc.

What's your configuration?  Big or little endian, userland ABI, kernel
ABI. Glibc version. Kernel version. What specific things don't work. Not even enough information here to make a guess.

You're updating the userspace msqid_ds to match the kernel's
msqid64_ds.  They're not normally the same type.  Rather, see
<linux/msg.h> for the type o32 generally uses.

glibc-2.3.3-200407050320 kernel but it's the issue is the same on the 2.6.12-rc from cvs.
The board is a malta 4kc in LE mode.
If you want to see a failure the LTP msgctl/msgsnd tests fail.

Greg Weeks

<Prev in Thread] Current Thread [Next in Thread>