]> git.proxmox.com Git - mirror_qemu.git/commit - configure
linux-user: prefer glibc over direct syscalls
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 15 Apr 2009 16:12:13 +0000 (16:12 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 15 Apr 2009 16:12:13 +0000 (16:12 +0000)
commit3b3f24add09f8ab720860d4840f9755c102121b5
tree18b918f62313b2b8265b2d7c40ce520f65493f49
parentbe09ac4194bd0a61c0d9412c32431fbe2273cba1
linux-user: prefer glibc over direct syscalls

The openat/*at syscalls are incredibly common with modern coreutils,
calling them directly via syscalls breaks for example fakeroot. Use
glibc stubs whenever directly available and provide old syscall
calling for people still using older libc.

Patch originally from Mika Westerberg, Adapted to
apply to current trunk and cleaned up by Riku Voipio.

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7118 c046a42c-6fe2-441c-8c8c-71466251a162
configure
linux-user/syscall.c