Alpha uses unbiased priority values in the syscall, with the a3
return value signaling error conditions. Therefore, properly
interpret the libc getpriority as needed for the guest rather
than passing the host value through unchanged.
Signed-off-by: Richard Henderson
---
linux-user/syscall.c |
On 2012-08-02 07:48, Peter Maydell wrote:
> Sanity check -- it is only getpriority that has the biasing, not setpriority?
Correct.
r~
On 25 July 2012 23:10, Richard Henderson wrote:
> Alpha uses unbiased priority values in the syscall, with the a3
> return value signaling error conditions. Therefore, properly
> interpret the libc getpriority as needed for the guest rather
> than passing the host value through unchanged.
>
> Sig
Alpha uses unbiased priority values in the syscall, with the a3
return value signaling error conditions. Therefore, properly
interpret the libc getpriority as needed for the guest rather
than passing the host value through unchanged.
Signed-off-by: Richard Henderson
---
linux-user/syscall.c |