Home
last modified time | relevance | path

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

/bionic/libc/platform/bionic/
Dreserved_signals.h58 static inline __always_inline sigset64_t filter_reserved_signals(sigset64_t sigset, int how) { in filter_reserved_signals() argument
76 block(&sigset, __SIGRTMIN + 0); in filter_reserved_signals()
79 unblock(&sigset, __SIGRTMIN + 1); in filter_reserved_signals()
80 unblock(&sigset, __SIGRTMIN + 2); in filter_reserved_signals()
81 unblock(&sigset, __SIGRTMIN + 3); in filter_reserved_signals()
82 unblock(&sigset, __SIGRTMIN + 4); in filter_reserved_signals()
83 unblock(&sigset, __SIGRTMIN + 5); in filter_reserved_signals()
84 unblock(&sigset, __SIGRTMIN + 6); in filter_reserved_signals()
85 unblock(&sigset, __SIGRTMIN + 7); in filter_reserved_signals()
86 return sigset; in filter_reserved_signals()
/bionic/tests/
Dsignal_test.cpp309 uint64_t sigset = 0; in ClearSignalMask() local
310 SignalSetAdd(&sigset, __SIGRTMIN); in ClearSignalMask()
311 if (syscall(__NR_rt_sigprocmask, SIG_SETMASK, &sigset, nullptr, sizeof(sigset)) != 0) { in ClearSignalMask()
317 uint64_t sigset = ~0ULL; in FillSignalMask() local
319 SignalSetDel(&sigset, signo); in FillSignalMask()
321 if (syscall(__NR_rt_sigprocmask, SIG_SETMASK, &sigset, nullptr, sizeof(sigset)) != 0) { in FillSignalMask()
327 uint64_t sigset; in GetSignalMask() local
328 if (syscall(__NR_rt_sigprocmask, SIG_SETMASK, nullptr, &sigset, sizeof(sigset)) != 0) { in GetSignalMask()
331 return sigset; in GetSignalMask()
334 static void TestSignalMaskFiltered(uint64_t sigset) { in TestSignalMaskFiltered() argument
[all …]
DSignalUtils.h60 static inline void SignalSetAdd(uint64_t* sigset, int signo) { in SignalSetAdd() argument
61 *sigset |= 1ULL << (signo - 1); in SignalSetAdd()
64 static inline void SignalSetDel(uint64_t* sigset, int signo) { in SignalSetDel() argument
65 *sigset &= ~(1ULL << (signo - 1)); in SignalSetDel()
/bionic/libc/bionic/
Dsignal.cpp82 sigemptyset(&in.sigset); in sigblock()
84 if (sigprocmask(SIG_BLOCK, &in.sigset, &out.sigset) == -1) return -1; in sigblock()
202 set.sigset = *bionic_set; in sigpending()
204 *bionic_set = set.sigset; in sigpending()
229 sighandler_t sigset(int sig, sighandler_t disp) { in sigset() function
251 sigemptyset(&in.sigset); in sigsetmask()
253 if (sigprocmask(SIG_SETMASK, &in.sigset, &out.sigset) == -1) return -1; in sigsetmask()
259 set.sigset = *bionic_set; in sigsuspend()
275 set.sigset = *bionic_set; in sigtimedwait()
291 set.sigset = *bionic_set; in sigwait()
Dposix_timers.cpp76 sigset64_t sigset = {}; in __timer_thread_start() local
77 sigaddset64(&sigset, TIMER_SIGNAL); in __timer_thread_start()
82 if (__rt_sigtimedwait(&sigset, &si, nullptr, sizeof(sigset)) == -1) continue; in __timer_thread_start()
148 sigset64_t sigset = {}; in timer_create() local
149 sigaddset64(&sigset, TIMER_SIGNAL); in timer_create()
153 __rt_sigprocmask(SIG_BLOCK, &sigset, &old_sigset, sizeof(sigset)); in timer_create()
Dsigprocmask.cpp51 new_set.sigset = *bionic_new_set; in sigprocmask()
61 *bionic_old_set = old_set.sigset; in sigprocmask()
Dspawn.cpp215 (*attr)->sigmask.sigset = *mask; in posix_spawnattr_setsigmask()
225 *mask = (*attr)->sigmask.sigset; in posix_spawnattr_getsigmask()
235 (*attr)->sigdefault.sigset = *mask; in posix_spawnattr_setsigdefault()
245 *mask = (*attr)->sigdefault.sigset; in posix_spawnattr_getsigdefault()
Dpoll.cpp57 set.sigset = *ss; in ppoll()
106 set.sigset = *ss; in pselect()
Dsys_signalfd.cpp37 set.sigset = *mask; in signalfd()
Dsys_epoll.cpp55 set.sigset = *ss; in epoll_pwait()
/bionic/libc/private/
DSigSetConverter.h33 sigset_t sigset; member
/bionic/libc/include/
Dsignal.h102 sighandler_t sigset(int __signal, sighandler_t __handler)
/bionic/tests/headers/posix/
Dsignal_h.c224 FUNCTION(sigset, signal_handler_type (*f)(int, signal_handler_type)); in signal_h()
/bionic/libc/tools/
Dposix-2013.txt958 sigset
/bionic/libc/kernel/uapi/linux/
Dkvm.h392 __u8 sigset[0]; member
/bionic/docs/
Dstatus.md130 * 5 legacy <signal.h> functions: `sighold`/`sigignore`/`sigpause`/`sigrelse`/`sigset`
/bionic/tools/versioner/platforms/
Dlibc.map.txt1334 sigset; # introduced=26
/bionic/libc/
Dlibc.map.txt1334 sigset; # introduced=26