diff options
Diffstat (limited to 'meta/packages/qemu/qemu-0.9.1+svnr6477/31_syscalls.patch')
-rw-r--r-- | meta/packages/qemu/qemu-0.9.1+svnr6477/31_syscalls.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-0.9.1+svnr6477/31_syscalls.patch b/meta/packages/qemu/qemu-0.9.1+svnr6477/31_syscalls.patch new file mode 100644 index 000000000..df2aa84bb --- /dev/null +++ b/meta/packages/qemu/qemu-0.9.1+svnr6477/31_syscalls.patch @@ -0,0 +1,27 @@ +#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: |