| 508 | } |
| 509 | |
| 510 | int |
| 511 | linux_rt_sigsuspend(struct thread *td, struct linux_rt_sigsuspend_args *uap) |
| 512 | { |
| 513 | l_sigset_t lmask; |
| 514 | sigset_t sigmask; |
| 515 | int error; |
| 516 | |
| 517 | if (uap->sigsetsize != sizeof(l_sigset_t)) |
| 518 | return (EINVAL); |
| 519 | |
| 520 | error = copyin(uap->newset, &lmask, sizeof(l_sigset_t)); |
| 521 | if (error) |
| 522 | return (error); |
| 523 | |
| 524 | linux_to_bsd_sigset(&lmask, &sigmask); |
| 525 | return (kern_sigsuspend(td, sigmask)); |
| 526 | } |
| 527 | |
| 528 | int |
| 529 | linux_pause(struct thread *td, struct linux_pause_args *args) |
nothing calls this directly
no test coverage detected