diff options
author | Richard Henderson <rth@twiddle.net> | 2010-05-03 10:07:55 -0700 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-05-21 16:22:21 +0000 |
commit | a5b3b13bedc545b5e571480b9cf47d2d378ad193 (patch) | |
tree | a452a2d96839feebd033e8ec8357257ab3b79d37 /bsd-user | |
parent | f43ce12b47323f0555ae9dfdf2f9d443346a4952 (diff) |
alpha-linux-user: Fix sigprocmask.
Alpha passes oldset by value in a register, and returns the newset
as the return value; as compared to the standard implementation in
which both are passed by reference. This requires being able to
distinguish negative return values that are not errors. Do this in
the same way as the Alpha Linux kernel, by storing a zero in V0 in
the implementation of the syscall.
At the same time, fix a think-o in the regular sigprocmask path in
which we passed the target, rather than the host, HOW value.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'bsd-user')
0 files changed, 0 insertions, 0 deletions