Re: [Qemu-devel] [PATCH] getpriority() shouldn't use libc wrapper

2007-10-01 Thread Thayne Harbaugh
On Wed, 2007-09-26 at 14:06 -0600, Thayne Harbaugh wrote: > The linux-user getpriority() syscall goes through the libc wrapper. > This causes a problem because the libc wrapper remaps the return value > from the kernel. This patch calls the kernel getpriority syscall > directly. I didn't see any

[Qemu-devel] [PATCH] getpriority() shouldn't use libc wrapper

2007-09-26 Thread Thayne Harbaugh
The linux-user getpriority() syscall goes through the libc wrapper. This causes a problem because the libc wrapper remaps the return value from the kernel. This patch calls the kernel getpriority syscall directly. Index: qemu/linux-user/syscall.c ==