Home
last modified time | relevance | path

Searched refs:sigset (Results 1 – 25 of 59) sorted by relevance

123

/external/strace/
Dprint_aio_sigset.c44 strace_aio_sigset sigset; in MPERS_PRINTER_DECL() local
46 if (!umove_or_printaddr(tcp, addr, &sigset)) { in MPERS_PRINTER_DECL()
48 print_sigset_addr_len(tcp, (uintptr_t) sigset.sigmask, in MPERS_PRINTER_DECL()
49 sigset.sigsetsize); in MPERS_PRINTER_DECL()
50 PRINT_FIELD_U(", ", sigset, sigsetsize); in MPERS_PRINTER_DECL()
/external/ltp/testcases/kernel/syscalls/sigpending/
Dsigpending02.c31 #define tested_sigpending(sigset) TEST(tst_syscall(__NR_sigpending, sigset)) argument
33 #define tested_sigpending(sigset) \ argument
34 TEST(tst_syscall(__NR_rt_sigpending, sigset, SIGSETSIZE))
120 sigset_t *sigset = tst_get_bad_addr(NULL); in test_efault_on_invalid_sigset() local
122 tested_sigpending(sigset); in test_efault_on_invalid_sigset()
/external/autotest/client/tests/signaltest/src/
Dsignaltest.c96 sigset_t sigset; in signalthread() local
121 sigemptyset(&sigset); in signalthread()
122 sigaddset(&sigset, par->signal); in signalthread()
123 sigprocmask(SIG_BLOCK, &sigset, NULL); in signalthread()
145 if (sigwait(&sigset, &sigs) < 0) in signalthread()
315 sigset_t sigset; in main() local
330 sigemptyset(&sigset); in main()
331 sigaddset(&sigset, signum); in main()
332 sigprocmask (SIG_BLOCK, &sigset, NULL); in main()
/external/autotest/client/tests/cyclictest/src/
Dcyclictest.c202 sigset_t sigset; in timerthread() local
231 sigemptyset(&sigset); in timerthread()
232 sigaddset(&sigset, par->signal); in timerthread()
233 sigprocmask(SIG_BLOCK, &sigset, NULL); in timerthread()
287 if (sigwait(&sigset, &sigs) < 0) in timerthread()
521 sigset_t sigset; in main() local
542 sigemptyset(&sigset); in main()
543 sigaddset(&sigset, signum); in main()
544 sigprocmask (SIG_BLOCK, &sigset, NULL); in main()
/external/compiler-rt/test/tsan/
Dsignal_recursive.cc38 sigset_t sigset; in SuspendHandler() local
39 sigemptyset(&sigset); in SuspendHandler()
40 pthread_sigmask(SIG_SETMASK, &sigset, 0); in SuspendHandler()
/external/python/cpython3/Modules/clinic/
Dsignalmodule.c.h343 signal_sigtimedwait_impl(PyObject *module, PyObject *sigset,
350 PyObject *sigset; in signal_sigtimedwait() local
355 &sigset, &timeout_obj)) { in signal_sigtimedwait()
358 return_value = signal_sigtimedwait_impl(module, sigset, timeout_obj); in signal_sigtimedwait()
/external/python/cpython3/Lib/
Dsignal.py74 def sigwait(sigset): argument
75 retsig = _signal.sigwait(sigset)
/external/ltp/testcases/kernel/syscalls/kill/
Dkill12.c89 if (sigset(SIGCHLD, chsig) == SIG_ERR) { in main()
201 sigset(sig, SIG_IGN); /* set to ignore signal */ in do_child()
/external/ltp/testcases/kernel/mem/vmtests/
Ddata_space.c137 if (sigset(SIGTERM, (void (*)())term) == SIG_ERR) {
140 if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) {
466 if (sigset(SIGUSR1, (void (*)())chld) == SIG_ERR) { in chld()
/external/python/cpython3/Modules/
Dsignalmodule.c914 signal_sigwait(PyObject *module, PyObject *sigset) in signal_sigwait() argument
920 if (iterable_to_sigset(sigset, &set)) in signal_sigwait()
1007 signal_sigwaitinfo(PyObject *module, PyObject *sigset) in signal_sigwaitinfo() argument
1015 if (iterable_to_sigset(sigset, &set)) in signal_sigwaitinfo()
1047 signal_sigtimedwait_impl(PyObject *module, PyObject *sigset, in signal_sigtimedwait_impl() argument
1066 if (iterable_to_sigset(sigset, &set)) in signal_sigtimedwait_impl()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/signal_h/
D45-1-buildonly.c14 dummyvar = sigset; in dummyfcn()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/
D10-1.c22 if (sigset(SIGKILL, SIG_IGN) == SIG_ERR) { in main()
D3-1.c33 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
Dcoverage.txt1 This file defines the coverage for the sigset() function testing.
D8-1.c32 if (sigset(SIGCHLD, SIG_HOLD) != SIG_HOLD) { in main()
D9-1.c36 if (sigset(SIGUSR1, SIG_DFL) != myhandler) { in main()
D4-1.c33 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
D1-1.c47 if (sigset(SIGCHLD, SIG_DFL) != myhandler) { in main()
D2-1.c45 if (sigset(SIGUSR1, SIG_IGN) != myhandler) { in main()
D6-1.c50 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main()
D7-1.c58 if (sigset(SIGCHLD, SIG_HOLD) == SIG_ERR) { in main()
D5-1.c67 if (sigset(SIGCHLD, myhandler) == SIG_ERR) { in main()
/external/python/cpython3/Doc/library/
Dsignal.rst405 .. function:: sigwait(sigset)
408 signals specified in the signal set *sigset*. The function accepts the signal
420 .. function:: sigwaitinfo(sigset)
423 signals specified in the signal set *sigset*. The function accepts the
425 signals in *sigset* is already pending for the calling thread, the function
429 *sigset*.
444 The function is now retried if interrupted by a signal not in *sigset*
449 .. function:: sigtimedwait(sigset, timeout)
464 by a signal not in *sigset* and the signal handler does not raise an
/external/tcpdump/
Dsetsignal.c84 return (sigset(sig, func)); in setsignal()
/external/syzkaller/sys/linux/
Dsys.txt99 ppoll(fds ptr[in, array[pollfd]], nfds len[fds], tsp ptr[in, timespec], sigmask ptr[in, sigset], si…
110 …ray[epoll_event]], maxevents len[events], timeout int32, sigmask ptr[in, sigset], size len[sigmask…
114 signalfd(fd fd, mask ptr[in, sigset], size len[mask]) fd_signal
115 signalfd4(fd fd, mask ptr[in, sigset], size len[mask], flags flags[signalfd_flags]) fd_signal
427 …act ptr[in, sigaction], oact ptr[out, sigaction, opt], sigsetsize len[fake], fake ptr[out, sigset])
428 rt_sigprocmask(how flags[sigprocmask_how], nset ptr[in, sigset], oset ptr[out, sigset, opt], sigset…
430 rt_sigpending(set ptr[out, sigset], sigsetsize len[set])
431 rt_sigtimedwait(these ptr[in, sigset], info ptr[out, siginfo, opt], ts ptr[in, timespec], sigsetsiz…
432 rt_sigsuspend(new ptr[in, sigset], sigsetsize len[new])
625 sigset {
[all …]

123