Home
last modified time | relevance | path

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

12

/aosp12/bionic/tests/
H A Dsignal_test.cpp166 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, &just_SIGALRM, nullptr)); in TEST()
633 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, &just_SIGALRM, nullptr)); in TEST()
864 ASSERT_EQ(0, sigprocmask(SIG_SETMASK, nullptr, &set)); in TestSigholdSigpauseSigrelse()
877 ASSERT_EQ(0, sigprocmask(SIG_SETMASK, nullptr, &set)); in TestSigholdSigpauseSigrelse()
882 ASSERT_EQ(0, sigprocmask(SIG_SETMASK, nullptr, &set)); in TestSigholdSigpauseSigrelse()
912 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, nullptr, &set)); in TEST()
937 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, &set, nullptr)); in TEST()
941 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, nullptr, &set)); in TEST()
945 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, nullptr, &set)); in TEST()
949 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, nullptr, &set)); in TEST()
[all …]
H A DSignalUtils.h35 #define sigprocmask64 sigprocmask
H A Dsys_signalfd_test.cpp59 ASSERT_EQ(0, sigprocmask(SIG_SETMASK, &mask, nullptr)); in TEST()
H A Dspawn_test.cpp389 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, &just_SIGBUS, nullptr)); in TEST()
/aosp12/system/core/fs_mgr/libsnapshot/
H A Dsnapuserd_daemon.cpp64 if (sigprocmask(SIG_SETMASK, &signal_mask, NULL) != 0) { in MaskAllSignalsExceptIntAndTerm()
72 if (sigprocmask(SIG_SETMASK, &signal_mask, NULL) != 0) { in MaskAllSignals()
/aosp12/art/runtime/
H A Dexec_utils.cc119 if (sigprocmask(SIG_BLOCK, &child_mask, &original_mask) == -1) { in ExecAndReturnCode()
131 if (sigprocmask(SIG_SETMASK, &original_mask, nullptr) == -1) { in ExecAndReturnCode()
/aosp12/art/test/004-SignalTest/
H A Dsignaltest.cc77 sigprocmask(SIG_UNBLOCK, &mask, nullptr); in signalhandler()
155 sigprocmask(SIG_UNBLOCK, &mask, nullptr); in Java_Main_testSignal()
/aosp12/bionic/libc/bionic/
H A Dsignal.cpp51 return (sigprocmask(how, new_set, old_set) == -1) ? errno : 0; in pthread_sigmask()
84 if (sigprocmask(SIG_BLOCK, &in.sigset, &out.sigset) == -1) return -1; in sigblock()
253 if (sigprocmask(SIG_SETMASK, &in.sigset, &out.sigset) == -1) return -1; in sigsetmask()
H A Dsigprocmask.cpp44 int sigprocmask(int how, in sigprocmask() function
/aosp12/bionic/libc/arch-x86_64/bionic/
H A Dsetjmp.S107 call PIC_PLT(sigprocmask)
159 call PIC_PLT(sigprocmask)
/aosp12/art/sigchainlib/
H A Dsigchain_test.cc106 ASSERT_EQ(0, sigprocmask(SIG_SETMASK, &mask, nullptr)); in TEST_F()
114 ASSERT_EQ(0, sigprocmask(SIG_BLOCK, &mask, nullptr)); in TEST_F()
H A Dsigchain.cc101 static decltype(&sigprocmask) linked_sigprocmask;
143 lookup_libc_symbol(&linked_sigprocmask, sigprocmask, "sigprocmask"); in InitializeSignalChain()
531 extern "C" int sigprocmask(int how, const sigset_t* new_set, in sigprocmask() function
/aosp12/frameworks/base/cmds/incidentd/src/
H A Dincidentd_util.cpp187 if (sigprocmask(SIG_BLOCK, &child_mask, &old_mask) == -1) { in waitpid_with_timeout()
199 if (sigprocmask(SIG_SETMASK, &old_mask, nullptr) == -1) { in waitpid_with_timeout()
/aosp12/system/chre/host/common/
H A Dsocket_server.cc42 if (sigprocmask(SIG_SETMASK, &signalMask, NULL) != 0) { in maskAllSignals()
52 if (sigprocmask(SIG_SETMASK, &signalMask, NULL) != 0) { in maskAllSignalsExceptIntAndTerm()
/aosp12/bionic/libc/arch-arm64/bionic/
H A Dsetjmp.S142 bl sigprocmask
235 bl sigprocmask
/aosp12/frameworks/native/cmds/dumpstate/
H A DDumpstateUtil.cpp51 if (sigprocmask(SIG_BLOCK, &child_mask, &old_mask) == -1) { in waitpid_with_timeout()
63 if (sigprocmask(SIG_SETMASK, &old_mask, nullptr) == -1) { in waitpid_with_timeout()
/aosp12/packages/services/Car/cpp/bugreport/
H A Dmain.cpp284 if (sigprocmask(SIG_BLOCK, &child_mask, &old_mask) == -1) { in waitpid_with_timeout()
294 if (sigprocmask(SIG_SETMASK, &old_mask, nullptr) == -1) { in waitpid_with_timeout()
/aosp12/system/netd/server/
H A DNetdConstants.cpp158 if (sigprocmask(SIG_BLOCK, &mask, nullptr) != 0) in blockSigpipe()
H A DProcess.cpp87 if (sigprocmask(SIG_BLOCK, &mask, nullptr) != 0) { in blockSigPipe()
/aosp12/bionic/libc/include/
H A Dsignal.h85 int sigprocmask(int __how, const sigset_t* __new_set, sigset_t* __old_set);
/aosp12/bionic/tests/headers/posix/
H A Dsignal_h.c221 FUNCTION(sigprocmask, int (*f)(int, const sigset_t*, sigset_t*)); in signal_h()
/aosp12/system/core/debuggerd/handler/
H A Ddebuggerd_fallback.cpp328 sigprocmask(SIG_UNBLOCK, &sigset, nullptr); in crash_handler()
/aosp12/system/core/init/
H A Dinit.cpp611 if (sigprocmask(SIG_UNBLOCK, &mask, nullptr) == -1) { in UnblockSignals()
632 if (sigprocmask(SIG_BLOCK, &mask, nullptr) == -1) { in InstallSignalFdHandler()
/aosp12/bionic/docs/
H A D32-bit-abi.md72 `sigprocmask` takes a `sigset_t`).
/aosp12/system/core/debuggerd/
H A Dcrash_dump.cpp208 if (sigprocmask(SIG_SETMASK, &mask, nullptr) != 0) { in DefuseSignalHandlers()

12