qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [linux-user] Added posix message queue syscalls except


From: Lionel Landwerlin
Subject: Re: [Qemu-devel] [linux-user] Added posix message queue syscalls except mq_notify
Date: Sun, 14 Dec 2008 21:33:05 +0100

Le dimanche 14 décembre 2008 à 21:37 +0200, Kirill A. Shutemov a écrit :
> On Sun, Dec 14, 2008 at 08:19:51PM +0100, Lionel Landwerlin wrote:
> > > > +        p = lock_user_string(arg1 - 1);
> > > 
> > > Why - 1?
> > 
> > Look at glibc/uclibc implementation, the string argument is (str + 1).
> 
> Hm.. Do you have any explanation why glibc/uclibc do so?
> 

No idea... but you can't create directory in mqueue filesystem on Linux,
that's maybe why it's not useful to give a / as everything is at root
level.


-- 
Lione Landwerlin                                         

O p e n W i d e                    14, rue Gaillon 75002 Paris





reply via email to

[Prev in Thread] Current Thread [Next in Thread]