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

Function linux_sigsuspend

freebsd/i386/linux/linux_machdep.c:498–508  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

496 * enables the signal to happen with a different register set.
497 */
498int
499linux_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
510int
511linux_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