* Linux has two extra args, restart and oldmask. We dont use these, * but it seems that "restart" is actually a context pointer that * enables the signal to happen with a different register set. */
| 496 | * enables the signal to happen with a different register set. |
| 497 | */ |
| 498 | int |
| 499 | linux_sigsuspend(struct thread *td, struct linux_sigsuspend_args *args) |
| 500 | { |
| 501 | sigset_t sigmask; |
| 502 | l_sigset_t mask; |
| 503 | |
| 504 | LINUX_SIGEMPTYSET(mask); |
| 505 | mask.__mask = args->mask; |
| 506 | linux_to_bsd_sigset(&mask, &sigmask); |
| 507 | return (kern_sigsuspend(td, sigmask)); |
| 508 | } |
| 509 | |
| 510 | int |
| 511 | linux_rt_sigsuspend(struct thread *td, struct linux_rt_sigsuspend_args *uap) |
nothing calls this directly
no test coverage detected