Files
poky/meta/packages/qemu/qemu-git/31_syscalls.patch
Richard Purdie 4e3afe5968 qemu: Switch to git and version 0.10.5
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-05-23 23:25:07 +01:00

28 lines
763 B
Diff

#DPATCHLEVEL=0
---
# linux-user/syscall.c | 11 ++++++++---
# 1 file changed, 8 insertions(+), 3 deletions(-)
#
Index: linux-user/syscall.c
===================================================================
--- linux-user/syscall.c.orig 2009-01-05 12:32:37.000000000 +0000
+++ linux-user/syscall.c 2009-01-05 12:32:37.000000000 +0000
@@ -298,6 +298,7 @@
extern int setfsuid(int);
extern int setfsgid(int);
extern int setgroups(int, gid_t *);
+extern int uselib(const char*);
#define ERRNO_TABLE_SIZE 1200
@@ -4397,7 +4398,8 @@
#endif
#ifdef TARGET_NR_uselib
case TARGET_NR_uselib:
- goto unimplemented;
+ ret = get_errno(uselib(path((const char*)arg1)));
+ break;
#endif
#ifdef TARGET_NR_swapon
case TARGET_NR_swapon: