Home
last modified time | relevance | path

Searched refs:sigprocmask (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/external/libunwind/tests/
Dtest-setjmp.c135 sigprocmask (SIG_BLOCK, NULL, (sigset_t *) &sigset4); in sighandler()
165 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset1, NULL); in main()
169 sigprocmask (SIG_BLOCK, NULL, (sigset_t *) &sigset3); in main()
181 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset2, NULL); in main()
186 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset1, NULL); in main()
190 sigprocmask (SIG_BLOCK, NULL, (sigset_t *) &sigset3); in main()
203 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset2, NULL); in main()
208 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset1, NULL); in main()
212 sigprocmask (SIG_BLOCK, NULL, (sigset_t *) &sigset3); in main()
225 sigprocmask (SIG_SETMASK, (sigset_t *) &sigset2, NULL); in main()
[all …]
/external/mksh/src/
Djobs.c174 sigprocmask(SIG_SETMASK, &sm_default, NULL); in j_init()
464 sigprocmask(SIG_BLOCK, &sm_sigchld, &omask); in exchild()
523 sigprocmask(SIG_SETMASK, &omask, NULL); in exchild()
596 sigprocmask(SIG_SETMASK, &omask, NULL); in exchild()
645 sigprocmask(SIG_SETMASK, &omask, NULL); in exchild()
658 sigprocmask(SIG_BLOCK, &sm_sigchld, &omask); in startlast()
668 sigprocmask(SIG_SETMASK, &omask, NULL); in startlast()
681 sigprocmask(SIG_BLOCK, &sm_sigchld, &omask); in waitlast()
691 sigprocmask(SIG_SETMASK, &omask, NULL); in waitlast()
700 sigprocmask(SIG_SETMASK, &omask, NULL); in waitlast()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
Dcoverage.txt2 and sigprocmask() are equivalent functions, but pthread_sigmask() should also work in a
4 sigprocmask() function, but calls will be made from threads that belong to multi-threaded processes
9 2 WON'T test. Pertains only to sigprocmask().
22 15 WON'T test, pertains only to sigprocmask()
24 17 WON'T test, pertains only to sigprocmask()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl15.c131 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) { in dochild1()
159 if (sigprocmask(SIG_SETMASK, &oldmask, NULL) < 0) { in dochild1()
214 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) { in dofork()
233 if (sigprocmask(SIG_SETMASK, &oldmask, NULL) < 0) { in dofork()
282 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) { in dochild2()
310 if (sigprocmask(SIG_SETMASK, &oldmask, NULL) < 0) { in dochild2()
470 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) { in run_test()
489 if (sigprocmask(SIG_SETMASK, &oldmask, NULL) < 0) { in run_test()
/external/libbrillo/brillo/
Dasynchronous_signal_handler.cc38 CHECK_EQ(0, sigprocmask(SIG_SETMASK, &saved_signal_mask_, nullptr)); in ~AsynchronousSignalHandler()
44 CHECK_EQ(0, sigprocmask(SIG_BLOCK, &signal_mask_, &saved_signal_mask_)); in Init()
101 CHECK_EQ(0, sigprocmask(SIG_SETMASK, &saved_signal_mask_, nullptr)); in UpdateSignals()
102 CHECK_EQ(0, sigprocmask(SIG_BLOCK, &signal_mask_, nullptr)); in UpdateSignals()
/external/strace/tests/
Dsigpending.c58 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
77 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Dsxetmask.c70 if (sigprocmask(SIG_SETMASK, &uset.libc_mask, NULL)) in main()
86 if (sigprocmask(SIG_SETMASK, NULL, &uget.libc_mask)) in main()
105 if (sigprocmask(SIG_SETMASK, &uset.libc_mask, NULL)) in main()
Drt_sigpending.c85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
108 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
115 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Dsignal.c61 if (sigprocmask(SIG_BLOCK, &mask, NULL)) in main()
82 if (sigprocmask(SIG_UNBLOCK, &mask, NULL)) in main()
85 if (sigprocmask(SIG_BLOCK, &mask, NULL)) in main()
/external/strace/tests-m32/
Dsigpending.c58 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
77 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Dsxetmask.c70 if (sigprocmask(SIG_SETMASK, &uset.libc_mask, NULL)) in main()
86 if (sigprocmask(SIG_SETMASK, NULL, &uget.libc_mask)) in main()
105 if (sigprocmask(SIG_SETMASK, &uset.libc_mask, NULL)) in main()
Drt_sigpending.c85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
108 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
115 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Dsignal.c61 if (sigprocmask(SIG_BLOCK, &mask, NULL)) in main()
82 if (sigprocmask(SIG_UNBLOCK, &mask, NULL)) in main()
85 if (sigprocmask(SIG_BLOCK, &mask, NULL)) in main()
/external/strace/tests-mx32/
Dsigpending.c58 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
77 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Dsxetmask.c70 if (sigprocmask(SIG_SETMASK, &uset.libc_mask, NULL)) in main()
86 if (sigprocmask(SIG_SETMASK, NULL, &uget.libc_mask)) in main()
105 if (sigprocmask(SIG_SETMASK, &uset.libc_mask, NULL)) in main()
Drt_sigpending.c85 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
108 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
115 if (sigprocmask(SIG_SETMASK, libc_set, NULL)) in main()
Dsignal.c61 if (sigprocmask(SIG_BLOCK, &mask, NULL)) in main()
82 if (sigprocmask(SIG_UNBLOCK, &mask, NULL)) in main()
85 if (sigprocmask(SIG_BLOCK, &mask, NULL)) in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigprocmask/
D12-1.c75 sigprocmask(SIG_SETMASK, &actl, NULL); in main()
78 if (sigprocmask(r, &actl, NULL) != -1) { in main()
84 sigprocmask(SIG_SETMASK, NULL, &oactl); in main()
D10-1.c27 sigprocmask_return_val = sigprocmask(SIG_SETMASK, &set1, NULL); in main()
28 sigprocmask(SIG_SETMASK, NULL, &set2); in main()
D9-1.c56 if (sigprocmask(SIG_SETMASK, &blocked_set1, NULL) == -1) { in main()
68 sigprocmask_return_val = sigprocmask(SIG_UNBLOCK, &blocked_set1, NULL); in main()
D4-1.c50 if (sigprocmask(SIG_SETMASK, &blocked_set1, NULL) == -1) { in main()
56 if (sigprocmask(SIG_BLOCK, &blocked_set2, NULL) == -1) { in main()
/external/ltp/testcases/kernel/syscalls/sigwaitinfo/
Dsigwaitinfo01.c221 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &sigs, in test_masked_matching()
235 SUCCEED_OR_DIE(sigprocmask, "restoring original signal mask failed", in test_masked_matching()
262 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &sigs, in test_masked_matching_rt()
289 SUCCEED_OR_DIE(sigprocmask, "restoring original signal mask failed", in test_masked_matching_rt()
311 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &sigs, in test_masked_matching_noinfo()
323 SUCCEED_OR_DIE(sigprocmask, "restoring original signal mask failed", in test_masked_matching_noinfo()
346 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &sigs, in test_bad_address()
358 SUCCEED_OR_DIE(sigprocmask, "sigprocmask failed", SIG_SETMASK, &oldmask, in test_bad_address()
/external/libdaemon/libdaemon/
Ddfork.c162 if (sigprocmask(SIG_UNBLOCK, &ss_new, &ss_old) < 0) { in daemon_fork()
177 sigprocmask(SIG_SETMASK, &ss_old, NULL); in daemon_fork()
190 sigprocmask(SIG_SETMASK, &ss_old, NULL); in daemon_fork()
267 if (sigprocmask(SIG_SETMASK, &ss_old, NULL) < 0) { in daemon_fork()
325 sigprocmask(SIG_SETMASK, &ss_old, NULL); in daemon_fork()
330 sigprocmask(SIG_SETMASK, &ss_old, NULL); in daemon_fork()
648 return sigprocmask(SIG_SETMASK, &ss, NULL); in daemon_unblock_sigsv()
/external/compiler-rt/test/tsan/
Dsigsuspend.cc29 assert(0 == sigprocmask(SIG_BLOCK, &one_signal, &old_set)); in main()
39 assert(0 == sigprocmask(SIG_SETMASK, &old_set, NULL)); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigset/
D5-1.c62 if (sigprocmask(SIG_SETMASK, &mask, NULL) == -1) { in main()
73 sigprocmask(SIG_SETMASK, NULL, &mask); in main()

12345678910>>...12