Home
last modified time | relevance | path

Searched refs:sigmask (Results 1 – 24 of 24) sorted by relevance

/external/boringssl/src/crypto/
Dcpu-arm.c90 sigset_t sigmask; in probe_for_NEON() local
91 sigfillset(&sigmask); in probe_for_NEON()
92 sigdelset(&sigmask, SIGILL); in probe_for_NEON()
93 sigdelset(&sigmask, SIGTRAP); in probe_for_NEON()
94 sigdelset(&sigmask, SIGFPE); in probe_for_NEON()
95 sigdelset(&sigmask, SIGBUS); in probe_for_NEON()
96 sigdelset(&sigmask, SIGSEGV); in probe_for_NEON()
101 sigill_action.sa_mask = sigmask; in probe_for_NEON()
104 sigprocmask(SIG_SETMASK, &sigmask, &original_sigmask); in probe_for_NEON()
/external/squashfs-tools/squashfs-tools/
Drestore.c61 sigset_t sigmask, old_mask; in restore_thrd() local
64 sigemptyset(&sigmask); in restore_thrd()
65 sigaddset(&sigmask, SIGINT); in restore_thrd()
66 sigaddset(&sigmask, SIGTERM); in restore_thrd()
67 sigaddset(&sigmask, SIGUSR1); in restore_thrd()
68 pthread_sigmask(SIG_BLOCK, &sigmask, &old_mask); in restore_thrd()
71 sigwait(&sigmask, &sig); in restore_thrd()
Dunsquashfs_info.c99 sigset_t sigmask; in info_thrd() local
102 sigemptyset(&sigmask); in info_thrd()
103 sigaddset(&sigmask, SIGQUIT); in info_thrd()
104 sigaddset(&sigmask, SIGHUP); in info_thrd()
105 sigaddset(&sigmask, SIGALRM); in info_thrd()
108 err = sigwait(&sigmask, &sig); in info_thrd()
Dinfo.c136 sigset_t sigmask; in info_thrd() local
139 sigemptyset(&sigmask); in info_thrd()
140 sigaddset(&sigmask, SIGQUIT); in info_thrd()
141 sigaddset(&sigmask, SIGHUP); in info_thrd()
142 sigaddset(&sigmask, SIGALRM); in info_thrd()
145 err = sigwait(&sigmask, &sig); in info_thrd()
Dprocess_fragments.c253 sigset_t sigmask, old_mask; in frag_thrd() local
257 sigemptyset(&sigmask); in frag_thrd()
258 sigaddset(&sigmask, SIGINT); in frag_thrd()
259 sigaddset(&sigmask, SIGTERM); in frag_thrd()
260 sigaddset(&sigmask, SIGUSR1); in frag_thrd()
261 pthread_sigmask(SIG_BLOCK, &sigmask, &old_mask); in frag_thrd()
Dunsquashfs.c2176 sigset_t sigmask, old_mask; in initialise_threads() local
2179 sigemptyset(&sigmask); in initialise_threads()
2180 sigaddset(&sigmask, SIGQUIT); in initialise_threads()
2181 sigaddset(&sigmask, SIGHUP); in initialise_threads()
2182 sigaddset(&sigmask, SIGALRM); in initialise_threads()
2183 if(pthread_sigmask(SIG_BLOCK, &sigmask, NULL) == -1) in initialise_threads()
2191 sigemptyset(&sigmask); in initialise_threads()
2192 sigaddset(&sigmask, SIGINT); in initialise_threads()
2193 sigaddset(&sigmask, SIGTERM); in initialise_threads()
2194 if(pthread_sigmask(SIG_BLOCK, &sigmask, &old_mask) == -1) in initialise_threads()
Dmksquashfs.c3292 sigset_t sigmask; in dir_scan() local
3295 sigemptyset(&sigmask); in dir_scan()
3296 sigaddset(&sigmask, SIGINT); in dir_scan()
3297 sigaddset(&sigmask, SIGTERM); in dir_scan()
3298 sigaddset(&sigmask, SIGUSR1); in dir_scan()
3299 if(pthread_sigmask(SIG_BLOCK, &sigmask, NULL) == -1) in dir_scan()
4258 sigset_t sigmask, old_mask; in initialise_threads() local
4315 sigemptyset(&sigmask); in initialise_threads()
4316 sigaddset(&sigmask, SIGQUIT); in initialise_threads()
4317 sigaddset(&sigmask, SIGHUP); in initialise_threads()
[all …]
/external/dhcpcd-6.8.2/compat/
Dpollts.c43 const struct timespec *__restrict ts, const sigset_t *__restrict sigmask) in pollts() argument
56 if (sigmask && sigprocmask(SIG_SETMASK, sigmask, &oldset) == -1) in pollts()
59 if (sigmask && sigprocmask(SIG_SETMASK, &oldset, NULL) == -1) in pollts()
Dposix_spawn.c144 posix_spawnattr_setsigmask(posix_spawnattr_t *attr, const sigset_t *sigmask) in posix_spawnattr_setsigmask() argument
147 attr->posix_attr_sigmask = *sigmask; in posix_spawnattr_setsigmask()
152 posix_spawnattr_setsigdefault(posix_spawnattr_t *attr, const sigset_t *sigmask) in posix_spawnattr_setsigdefault() argument
155 attr->posix_attr_sigdefault = *sigmask; in posix_spawnattr_setsigdefault()
Dpselect.c40 const struct timespec *__restrict ts, const sigset_t *__restrict sigmask) in pollts() argument
56 r = pselect(maxfd + 1, &read_fds, NULL, NULL, ts, sigmask); in pollts()
/external/bison/lib/
Dspawnattr_setsigmask.c27 const sigset_t *sigmask) in posix_spawnattr_setsigmask() argument
30 memcpy (&attr->_ss, sigmask, sizeof (sigset_t)); in posix_spawnattr_setsigmask()
/external/valgrind/none/tests/
DMakefile.am112 exec-sigmask.vgtest exec-sigmask.stdout.exp \
113 exec-sigmask.stdout.exp2 exec-sigmask.stdout.exp3 \
114 exec-sigmask.stdout.exp-solaris exec-sigmask.stderr.exp \
206 discard exec-sigmask execve faultstatus fcntl_setown \
Dexec-sigmask.vgtest1 prog: exec-sigmask
/external/e2fsprogs/lib/ss/
Dss_internal.h102 #define sigmask(x) (1L<<(x)-1) macro
/external/valgrind/memcheck/
Dmc_leakcheck.c704 vki_sigset_t sigmask; in leak_search_fault_catcher() local
716 VG_(sigprocmask)(VKI_SIG_SETMASK, NULL, &sigmask); in leak_search_fault_catcher()
718 VG_(sigdelset)(&sigmask, sigNo); in leak_search_fault_catcher()
719 VG_(sigprocmask)(VKI_SIG_SETMASK, &sigmask, NULL); in leak_search_fault_catcher()
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1221 sigmask, sigsetsize) \ argument
1224 (long)(sigmask), (long)(sigsetsize))
1226 timeout, sigmask, sigsetsize) \ argument
1229 (long)(sigmask), (long)(sigsetsize))
2690 long sigmask, long sigsetsize);
2693 long sigmask, long sigsetsize);
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc943 int timeout, void *sigmask) { in INTERCEPTOR() argument
945 int res = REAL(epoll_pwait)(epfd, events, maxevents, timeout, sigmask); in INTERCEPTOR()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc1959 const kernel_sigset_t *sigmask, long sigsetsize) {
1960 if (sigmask) PRE_READ(sigmask, sigsetsize);
1964 long timeout, const void *sigmask, long sigsetsize) {
Dsanitizer_common_interceptors.inc3099 void *timeout_ts, __sanitizer_sigset_t *sigmask) {
3101 COMMON_INTERCEPTOR_ENTER(ctx, ppoll, fds, nfds, timeout_ts, sigmask);
3105 // FIXME: read sigmask when all of sigemptyset, etc are intercepted.
3107 COMMON_INTERCEPTOR_BLOCK_REAL(ppoll)(fds, nfds, timeout_ts, sigmask);
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-linux.c1304 struct vki_timespec *, tsp, vki_sigset_t *, sigmask, in PRE()
1409 int, maxevents, int, timeout, vki_sigset_t *, sigmask, in PRE()
3261 int, fd, vki_sigset_t *, sigmask, vki_size_t, sigsetsize); in PRE()
3281 int, fd, vki_sigset_t *, sigmask, vki_size_t, sigsetsize, int, flags); in PRE()
Dsyswrap-solaris.c1547 vki_sigset_t *sigmask = &VG_(get_ThreadState)(tid)->sig_mask; in PRE() local
1549 VG_(sigaddset_from_set)(&spa->sa_sigmask, sigmask); in PRE()
1552 spa->sa_sigmask = *sigmask; in PRE()
Dsyswrap-darwin.c4441 PRE_REG_READ1(int, "sigsuspend", int, sigmask); in PRE()
/external/google-breakpad/src/third_party/lss/
Dlinux_syscall_support.h3949 const kernel_sigset_t *, sigmask, size_t, s)
/external/strace/
DChangeLog-CVS4324 * signal.c: pass a pointer to sigmask to printsigmask from printcontext,
4325 it was just passing the sigmask (ucp->uc_sigmask).