From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LuAfj-0005Gz-V2 for qemu-devel@nongnu.org; Wed, 15 Apr 2009 15:21:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LuAff-0005GX-Fw for qemu-devel@nongnu.org; Wed, 15 Apr 2009 15:21:23 -0400 Received: from [199.232.76.173] (port=54786 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuAff-0005GU-A2 for qemu-devel@nongnu.org; Wed, 15 Apr 2009 15:21:19 -0400 Received: from moutng.kundenserver.de ([212.227.126.177]:65361) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LuAfe-0000Cl-Lm for qemu-devel@nongnu.org; Wed, 15 Apr 2009 15:21:19 -0400 Message-ID: <49E6339C.5020404@mail.berlios.de> Date: Wed, 15 Apr 2009 21:21:00 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] [7118] linux-user: prefer glibc over direct syscalls References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 Cc: Aurelien Jarno Aurelien Jarno schrieb: > Revision: 7118 > http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7118 > Author: aurel32 > Date: 2009-04-15 16:12:13 +0000 (Wed, 15 Apr 2009) > Log Message: > ----------- > linux-user: prefer glibc over direct syscalls > ... > + > +# Check for initofy functions when we are building linux-user > initofy => inotify? > +# emulator. This is done because older glibc versions don't > +# have syscall stubs for these implemented. In that case we > +# don't provide them even if kernel supports them. > +# > +inotify=no > +if [ "$linux_user" = "yes" ] ; then > + cat > $TMPC << EOF > +#include > + > +int > +main(void) > +{ > + /* try to start inotify */ > + return inotify_init(void); > +} > +EOF >