From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LBxeJ-0003Fr-Vq for qemu-devel@nongnu.org; Sun, 14 Dec 2008 15:33:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LBxeG-0003Ct-9x for qemu-devel@nongnu.org; Sun, 14 Dec 2008 15:33:11 -0500 Received: from [199.232.76.173] (port=56226 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LBxeG-0003Cj-55 for qemu-devel@nongnu.org; Sun, 14 Dec 2008 15:33:08 -0500 Received: from soufre.accelance.net ([213.162.48.15]:65139) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LBxeF-0000QB-PC for qemu-devel@nongnu.org; Sun, 14 Dec 2008 15:33:08 -0500 Received: from [192.168.0.3] (potipota.net [88.168.176.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by soufre.accelance.net (Postfix) with ESMTP id 2F04045050 for ; Sun, 14 Dec 2008 21:33:06 +0100 (CET) Subject: Re: [Qemu-devel] [linux-user] Added posix message queue syscalls except mq_notify From: Lionel Landwerlin In-Reply-To: <20081214193701.GB7840@epbyminw8406h.minsk.epam.com> References: <1229171967.3898.59.camel@cocoduo.atr> <20081214181152.GC7343@epbyminw8406h.minsk.epam.com> <1229282391.3898.78.camel@cocoduo.atr> <20081214193701.GB7840@epbyminw8406h.minsk.epam.com> Content-Type: text/plain; charset=utf-8 Date: Sun, 14 Dec 2008 21:33:05 +0100 Message-Id: <1229286785.3959.1.camel@cocoduo.atr> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Le dimanche 14 d=C3=A9cembre 2008 =C3=A0 21:37 +0200, Kirill A. Shutemov = a =C3=A9crit : > On Sun, Dec 14, 2008 at 08:19:51PM +0100, Lionel Landwerlin wrote: > > > > + p =3D lock_user_string(arg1 - 1); > > >=20 > > > Why - 1? > >=20 > > Look at glibc/uclibc implementation, the string argument is (str + 1)= . >=20 > Hm.. Do you have any explanation why glibc/uclibc do so? >=20 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. --=20 =EF=BB=BFLione Landwerlin =20 =EF=BB=BF O p e n W i d e 14, rue Gaillon 75002 Paris