Revision f43ce12b linux-user/syscall.c
b/linux-user/syscall.c | ||
---|---|---|
5088 | 5088 |
case TARGET_NR_sigsuspend: |
5089 | 5089 |
{ |
5090 | 5090 |
sigset_t set; |
5091 |
#if defined(TARGET_ALPHA) |
|
5092 |
abi_ulong mask = arg1; |
|
5093 |
target_to_host_old_sigset(&set, &mask); |
|
5094 |
#else |
|
5091 | 5095 |
if (!(p = lock_user(VERIFY_READ, arg1, sizeof(target_sigset_t), 1))) |
5092 | 5096 |
goto efault; |
5093 | 5097 |
target_to_host_old_sigset(&set, p); |
5094 | 5098 |
unlock_user(p, arg1, 0); |
5099 |
#endif |
|
5095 | 5100 |
ret = get_errno(sigsuspend(&set)); |
5096 | 5101 |
} |
5097 | 5102 |
break; |
Also available in: Unified diff