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

Function linux_rt_sigsuspend

freebsd/i386/linux/linux_machdep.c:510–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508}
509
510int
511linux_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
528int
529linux_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