* Linux has two extra args, restart and oldmask. We don't use these, * but it seems that "restart" is actually a context pointer that * enables the signal to happen with a different register set. */
| 531 | * enables the signal to happen with a different register set. |
| 532 | */ |
| 533 | int |
| 534 | linux_sigsuspend(struct thread *td, struct linux_sigsuspend_args *args) |
| 535 | { |
| 536 | sigset_t sigmask; |
| 537 | l_sigset_t mask; |
| 538 | |
| 539 | LINUX_SIGEMPTYSET(mask); |
| 540 | mask.__mask = args->mask; |
| 541 | linux_to_bsd_sigset(&mask, &sigmask); |
| 542 | return (kern_sigsuspend(td, sigmask)); |
| 543 | } |
| 544 | |
| 545 | int |
| 546 | linux_rt_sigsuspend(struct thread *td, struct linux_rt_sigsuspend_args *uap) |
nothing calls this directly
no test coverage detected