Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
infrastructure
>
qemu-svn
> qemu-0.11-git-syscall_fadvise64.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File qemu-0.11-git-syscall_fadvise64.patch of Package qemu-svn
diff -r -u qemu-0.11git2009.06.04.1212/linux-user/syscall.c qemu-0.11git2009.06.04.1212.new/linux-user/syscall.c --- qemu-0.11git2009.06.04.1212/linux-user/syscall.c 2009-06-04 14:13:51.000000000 +0200 +++ qemu-0.11git2009.06.04.1212.new/linux-user/syscall.c 2009-06-06 12:45:05.739287501 +0200 @@ -6205,6 +6205,12 @@ ret = get_errno(0); break; #endif +#if defined(TARGET_NR_fadvise64) + case TARGET_NR_fadvise64: + /* This is a hint, so ignoring and returning success is ok. */ + ret = get_errno(0); + break; +#endif #ifdef TARGET_NR_madvise case TARGET_NR_madvise: /* A straight passthrough may not be safe because qemu sometimes Only in qemu-0.11git2009.06.04.1212.new/linux-user: syscall.c~