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

Function linux_rt_sigsuspend

freebsd/amd64/linux32/linux32_machdep.c:545–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545int
546linux_rt_sigsuspend(struct thread *td, struct linux_rt_sigsuspend_args *uap)
547{
548 l_sigset_t lmask;
549 sigset_t sigmask;
550 int error;
551
552 if (uap->sigsetsize != sizeof(l_sigset_t))
553 return (EINVAL);
554
555 error = copyin(uap->newset, &lmask, sizeof(l_sigset_t));
556 if (error)
557 return (error);
558
559 linux_to_bsd_sigset(&lmask, &sigmask);
560 return (kern_sigsuspend(td, sigmask));
561}
562
563int
564linux_pause(struct thread *td, struct linux_pause_args *args)

Callers

nothing calls this directly

Calls 2

kern_sigsuspendFunction · 0.85
copyinFunction · 0.50

Tested by

no test coverage detected