|
From: | Stefan Weil |
Subject: | Re: [Qemu-devel] [7118] linux-user: prefer glibc over direct syscalls |
Date: | Wed, 15 Apr 2009 21:21:00 +0200 |
User-agent: | Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
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 <sys/inotify.h> > + > +int > +main(void) > +{ > + /* try to start inotify */ > + return inotify_init(void); > +} > +EOF >
[Prev in Thread] | Current Thread | [Next in Thread] |