/openbsd/gnu/usr.bin/perl/ext/POSIX/t/ |
H A D | sigset.t | 15 my @signo; 58 foreach (@signo) { 67 expected_signals($sigset, 'after addset', $signo[1], $signo[2]); 69 expected_signals($sigset, 'after addset', $signo[1], $signo[2], $signo[4]); 71 expected_signals($sigset, 'after addset', $signo[1], $signo[2], $signo[4]); 73 expected_signals($sigset, 'after addset', $signo[1], $signo[2]); 75 expected_signals($sigset, 'after addset', $signo[0], $signo[1], $signo[2]); 77 expected_signals($sigset, 'after delset', $signo[0], $signo[1], $signo[2]); 79 expected_signals($sigset, 'after delset', $signo[0], $signo[2]); 86 [$signo[2]], [all …]
|
/openbsd/gnu/llvm/lldb/source/Target/ |
H A D | UnixSignals.cpp | 164 int32_t signo; in GetSignalNumberFromName() local 165 if (llvm::to_integer(name, signo)) in GetSignalNumberFromName() 166 return signo; in GetSignalNumberFromName() 225 if (signo != LLDB_INVALID_SIGNAL_NUMBER) in SetShouldSuppress() 249 if (signo != LLDB_INVALID_SIGNAL_NUMBER) in SetShouldStop() 250 return SetShouldStop(signo, value); in SetShouldStop() 273 if (signo != LLDB_INVALID_SIGNAL_NUMBER) in SetShouldNotify() 274 return SetShouldNotify(signo, value); in SetShouldNotify() 297 signo = GetNextSignalNumber(signo)) { in GetFilteredSignals() 315 result.push_back(signo); in GetFilteredSignals() [all …]
|
/openbsd/gnu/lib/libiberty/src/ |
H A D | strsignal.c | 408 strsignal (int signo) in strsignal() argument 422 if ((signo < 0) || (signo >= sys_nsig)) in strsignal() 467 strsigno (int signo) in strsigno() argument 477 if ((signo < 0) || (signo >= num_signal_names)) in strsigno() 512 int signo = 0; in strtosigno() local 520 for (signo = 0; signo < num_signal_names; signo++) in strtosigno() 530 signo = 0; in strtosigno() 533 return (signo); in strtosigno() 558 if ((signo <= 0) || (signo >= sys_nsig)) in psignal() 581 int signo; in main() local [all …]
|
/openbsd/gnu/llvm/lldb/source/API/ |
H A D | SBUnixSignals.cpp | 66 LLDB_INSTRUMENT_VA(this, signo); in GetSignalAsCString() 69 return signals_sp->GetSignalAsCString(signo); in GetSignalAsCString() 84 LLDB_INSTRUMENT_VA(this, signo); in GetShouldSuppress() 87 return signals_sp->GetShouldSuppress(signo); in GetShouldSuppress() 93 LLDB_INSTRUMENT_VA(this, signo, value); in SetShouldSuppress() 104 LLDB_INSTRUMENT_VA(this, signo); in GetShouldStop() 107 return signals_sp->GetShouldStop(signo); in GetShouldStop() 113 LLDB_INSTRUMENT_VA(this, signo, value); in SetShouldStop() 124 LLDB_INSTRUMENT_VA(this, signo); in GetShouldNotify() 127 return signals_sp->GetShouldNotify(signo); in GetShouldNotify() [all …]
|
/openbsd/lib/libc/gen/ |
H A D | sigsetops.c | 60 sigaddset(sigset_t *set, int signo) in sigaddset() argument 62 if (signo <= 0 || signo >= NSIG) { in sigaddset() 66 *set |= sigmask(signo); in sigaddset() 72 sigdelset(sigset_t *set, int signo) in sigdelset() argument 74 if (signo <= 0 || signo >= NSIG) { in sigdelset() 78 *set &= ~sigmask(signo); in sigdelset() 84 sigismember(const sigset_t *set, int signo) in sigismember() argument 86 if (signo <= 0 || signo >= NSIG) { in sigismember() 90 return ((*set & sigmask(signo)) != 0); in sigismember()
|
H A D | readpassphrase.c | 35 static volatile sig_atomic_t signo[_NSIG]; variable 57 signo[i] = 0; in readpassphrase() 136 const int sigttou = signo[SIGTTOU]; in readpassphrase() 140 errno == EINTR && !signo[SIGTTOU]) in readpassphrase() 142 signo[SIGTTOU] = sigttou; in readpassphrase() 161 if (signo[i]) { in readpassphrase() 191 signo[s] = 1; in handler()
|
/openbsd/gnu/llvm/lldb/include/lldb/Target/ |
H A D | UnixSignals.h | 33 const char *GetSignalAsCString(int32_t signo) const; 35 bool SignalIsValid(int32_t signo) const; 42 bool GetShouldSuppress(int32_t signo) const; 44 bool SetShouldSuppress(int32_t signo, bool value); 48 bool GetShouldStop(int32_t signo) const; 50 bool SetShouldStop(int32_t signo, bool value); 53 bool GetShouldNotify(int32_t signo) const; 55 bool SetShouldNotify(int32_t signo, bool value); 59 bool ResetSignal(int32_t signo, bool reset_stop = true, 85 void RemoveSignal(int signo); [all …]
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/Linux/ |
H A D | NativeThreadLinux.cpp | 51 stop_info.signo); in LogThreadStopInfo() 63 stop_info.signo); in LogThreadStopInfo() 71 stop_info.signo); in LogThreadStopInfo() 247 data = signo; in Resume() 268 data = signo; in SingleStep() 288 m_stop_info.signo = signo; in SetStoppedBySignal() 292 switch (signo) { in SetStoppedBySignal() 374 *signo = m_stop_info.signo; in IsStopped() 401 m_stop_info.signo = SIGSTOP; in SetStoppedByExec() 478 m_stop_info.signo = 0; in SetStoppedWithNoReason() [all …]
|
H A D | NativeThreadLinux.h | 68 Status Resume(uint32_t signo); 72 Status SingleStep(uint32_t signo); 74 void SetStoppedBySignal(uint32_t signo, const siginfo_t *info = nullptr); 79 bool IsStopped(int *signo);
|
/openbsd/gnu/llvm/lldb/bindings/interface/ |
H A D | SBUnixSignals.i | 32 GetSignalAsCString (int32_t signo) const; 38 GetShouldSuppress (int32_t signo) const; 41 SetShouldSuppress (int32_t signo, 45 GetShouldStop (int32_t signo) const; 48 SetShouldStop (int32_t signo, 52 GetShouldNotify (int32_t signo) const; 55 SetShouldNotify (int32_t signo, bool value);
|
/openbsd/gnu/llvm/lldb/source/Host/posix/ |
H A D | MainLoopPosix.cpp | 41 assert(signo < NSIG); in SignalHandler() 42 g_signal_flags[signo] = 1; in SignalHandler() 281 auto signal_it = m_signals.find(signo); 294 sigaddset(&new_action.sa_mask, signo); 297 g_signal_flags[signo] = 0; 318 info.was_blocked = sigismember(&old_set, signo); 319 auto insert_ret = m_signals.insert({signo, info}); 333 auto it = m_signals.find(signo); 345 sigaddset(&set, signo); 389 void MainLoopPosix::ProcessSignal(int signo) { argument [all …]
|
H A D | HostProcessPosix.cpp | 31 Status HostProcessPosix::Signal(int signo) const { in Signal() 38 return HostProcessPosix::Signal(m_process, signo); in Signal() 41 Status HostProcessPosix::Signal(lldb::process_t process, int signo) { in Signal() argument 44 if (-1 == ::kill(process, signo)) in Signal()
|
/openbsd/gnu/llvm/lldb/include/lldb/API/ |
H A D | SBUnixSignals.h | 33 const char *GetSignalAsCString(int32_t signo) const; 37 bool GetShouldSuppress(int32_t signo) const; 39 bool SetShouldSuppress(int32_t signo, bool value); 41 bool GetShouldStop(int32_t signo) const; 43 bool SetShouldStop(int32_t signo, bool value); 45 bool GetShouldNotify(int32_t signo) const; 47 bool SetShouldNotify(int32_t signo, bool value);
|
/openbsd/gnu/gcc/gcc/config/s390/ |
H A D | linux-unwind.h | 54 int *signo; in s390_fallback_frame_state() local 73 signo = NULL; in s390_fallback_frame_state() 91 signo = context->cfa + sizeof(long); in s390_fallback_frame_state() 100 signo = (int *)(regs + 1); in s390_fallback_frame_state() 130 if (!signo || (*signo != 4 && *signo != 5 && *signo != 8)) in s390_fallback_frame_state()
|
/openbsd/regress/lib/libpthread/sigwait/ |
H A D | sigwait.c | 54 int signo; in sigwaiter() local 60 CHECKe(sigwait (&wait_mask, &signo)); in sigwaiter() 61 sigcounts[signo]++; in sigwaiter() 62 printf ("Sigwait caught signal %d (%s)\n", signo, in sigwaiter() 63 strsignal(signo)); in sigwaiter() 75 sighandler (int signo) in sighandler() argument 82 signo, strsignal(signo), pthread_self()); in sighandler() 85 if ((signo >= 0) && (signo <= NSIG)) in sighandler() 86 sigcounts[signo]++; in sighandler()
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/OpenBSD/ |
H A D | NativeThreadOpenBSD.cpp | 36 void NativeThreadOpenBSD::SetStoppedBySignal(uint32_t signo, in SetStoppedBySignal() argument 39 LLDB_LOG(log, "tid = {0} in called with signal {1}", GetID(), signo); in SetStoppedBySignal() 44 m_stop_info.signo = signo; in SetStoppedBySignal() 48 switch (signo) { in SetStoppedBySignal() 63 m_stop_info.signo = SIGTRAP; in SetStoppedByBreakpoint() 69 m_stop_info.signo = SIGTRAP; in SetStoppedByTrace() 75 m_stop_info.signo = SIGTRAP; in SetStoppedByExec()
|
/openbsd/regress/lib/libpthread/sigsuspend/ |
H A D | sigsuspend.c | 96 sighandler (int signo) in sighandler() argument 104 if ((signo >= 0) && (signo <= NSIG)) in sighandler() 105 sigcounts[signo]++; in sighandler() 117 sigfifo[fifo_depth] = signo; in sighandler() 121 "signal %d (%s)\n", signo, strsignal(signo)); in sighandler() 125 sigaddset(&tmp, signo); in sighandler() 132 "signal %d (%s)\n", signo, strsignal(signo)); in sighandler()
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/NetBSD/ |
H A D | NativeThreadNetBSD.cpp | 76 void NativeThreadNetBSD::SetStoppedBySignal(uint32_t signo, in SetStoppedBySignal() argument 84 m_stop_info.signo = signo; in SetStoppedBySignal() 88 switch (signo) { in SetStoppedBySignal() 103 m_stop_info.signo = SIGTRAP; in SetStoppedByBreakpoint() 109 m_stop_info.signo = SIGTRAP; in SetStoppedByTrace() 115 m_stop_info.signo = SIGTRAP; in SetStoppedByExec() 130 m_stop_info.signo = SIGTRAP; in SetStoppedByWatchpoint() 138 m_stop_info.signo = SIGTRAP; in SetStoppedByFork() 148 m_stop_info.signo = SIGTRAP; in SetStoppedByVFork() 157 m_stop_info.signo = SIGTRAP; in SetStoppedByVForkDone() [all …]
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/FreeBSD/ |
H A D | NativeThreadFreeBSD.cpp | 76 void NativeThreadFreeBSD::SetStoppedBySignal(uint32_t signo, in SetStoppedBySignal() argument 84 m_stop_info.signo = signo; in SetStoppedBySignal() 88 switch (signo) { in SetStoppedBySignal() 103 m_stop_info.signo = SIGTRAP; in SetStoppedByBreakpoint() 109 m_stop_info.signo = SIGTRAP; in SetStoppedByTrace() 115 m_stop_info.signo = SIGTRAP; in SetStoppedByExec() 130 m_stop_info.signo = SIGTRAP; in SetStoppedByWatchpoint() 138 m_stop_info.signo = SIGTRAP; in SetStoppedByFork() 148 m_stop_info.signo = SIGTRAP; in SetStoppedByVFork() 157 m_stop_info.signo = SIGTRAP; in SetStoppedByVForkDone() [all …]
|
/openbsd/gnu/usr.bin/perl/t/op/ |
H A D | kill0.t | 86 my ($i, %signo, @signame, $sig_name) = 0; 89 $signo{$name} = $i; 93 ok(scalar keys %signo > 1 && exists $signo{KILL}, 107 is(kill(-$signo{KILL}, $pid), 1, 'process group kill, numeric signal');
|
/openbsd/lib/libedit/ |
H A D | sig.c | 66 sig_handler(int signo) in sig_handler() argument 73 (void) sigaddset(&nset, signo); in sig_handler() 76 sel->el_signal->sig_no = signo; in sig_handler() 78 switch (signo) { in sig_handler() 96 if (signo == sighdl[i]) in sig_handler() 99 (void) sigaction(signo, &sel->el_signal->sig_action[i], NULL); in sig_handler() 104 (void) kill(0, signo); in sig_handler()
|
/openbsd/gnu/llvm/lldb/include/lldb/Host/posix/ |
H A D | MainLoopPosix.h | 48 SignalHandleUP RegisterSignal(int signo, const Callback &callback, 55 void UnregisterSignal(int signo, std::list<Callback>::iterator callback_it); 61 void ProcessSignal(int signo); 68 SignalHandle(MainLoopPosix &mainloop, int signo, in SignalHandle() argument 70 : m_mainloop(mainloop), m_signo(signo), m_callback_it(callback_it) {} in SignalHandle()
|
/openbsd/gnu/llvm/lldb/source/Commands/ |
H A D | CommandObjectProcess.cpp | 1228 int signo = signals->GetFirstSignalNumber(); in HandleArgumentCompletion() local 1231 signo = signals->GetNextSignalNumber(signo); in HandleArgumentCompletion() 1240 int signo = LLDB_INVALID_SIGNAL_NUMBER; in DoExecute() local 1245 signo = LLDB_INVALID_SIGNAL_NUMBER; in DoExecute() 1249 if (signo == LLDB_INVALID_SIGNAL_NUMBER) { in DoExecute() 1253 Status error(process->Signal(signo)); in DoExecute() 1704 if (signo != LLDB_INVALID_SIGNAL_NUMBER) in PrintSignalInformation() 1712 PrintSignal(str, signo, signals_sp->GetSignalAsCString(signo), in PrintSignalInformation() 1714 signo = signals_sp->GetNextSignalNumber(signo); in PrintSignalInformation() 1814 int32_t signo; in DoExecute() local [all …]
|
/openbsd/usr.bin/make/ |
H A D | job.c | 159 really_kill(Job *job, int signo) in really_kill() argument 163 if (killpg(pid, signo) == 0) in really_kill() 166 if (kill(pid, signo) == 0) in really_kill() 221 quick_error(Job *j, int signo, bool first) in quick_error() argument 277 quick_summary(int signo) in quick_summary() argument 288 quick_error(j, signo, first); in quick_summary() 872 handle_fatal_signal(int signo) in handle_fatal_signal() argument 878 dying_signal = signo; in handle_fatal_signal() 886 if (signo == SIGINT && !touchFlag) { in handle_fatal_signal() 899 signal(signo, SIG_DFL); in handle_fatal_signal() [all …]
|
/openbsd/libexec/login_skey/ |
H A D | login_skey.c | 241 quit(int signo) in quit() argument 248 suspend(int signo) in suspend() argument 262 (void)signal(signo, SIG_DFL); in suspend() 264 (void)sigaddset(&nset, signo); in suspend() 266 (void)kill(getpid(), signo); in suspend() 268 (void)signal(signo, suspend); in suspend()
|