MCPcopy Create free account
hub / github.com/F-Stack/f-stack / linux_sigsuspend

Function linux_sigsuspend

freebsd/amd64/linux32/linux32_machdep.c:533–543  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

531 * enables the signal to happen with a different register set.
532 */
533int
534linux_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
545int
546linux_rt_sigsuspend(struct thread *td, struct linux_rt_sigsuspend_args *uap)

Callers

nothing calls this directly

Calls 1

kern_sigsuspendFunction · 0.85

Tested by

no test coverage detected