/freebsd-11-stable/sys/sys/ |
H A D | _sigset.h | 46 #define _SIG_IDX(sig) ((sig) - 1) 47 #define _SIG_WORD(sig) (_SIG_IDX(sig) >> 5) 48 #define _SIG_BIT(sig) (1 << (_SIG_IDX(sig) & 31)) 49 #define _SIG_VALID(sig) ((sig) <= _SIG_MAXSIG && (sig) > 0)
|
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | sig.c | 28 * $FreeBSD: stable/11/usr.sbin/ppp/sig.c 330449 2018-03-05 07:26:05Z eadler $ 36 #include "sig.h" 52 signal_recorder(int sig) argument 54 caused[sig - 1]++; 60 * Set up signal_recorder to handle the given sig and record ``fn'' as 66 sig_signal(int sig, sig_type fn) argument 70 if (sig <= 0 || sig > NSIG) { 74 return signal(sig, fn); 76 Result = handler[sig 99 int sig; local [all...] |
/freebsd-11-stable/contrib/gdb/gdb/config/arm/ |
H A D | tm-wince.h | 30 #define SOFTWARE_SINGLE_STEP(sig, bp_p) wince_software_single_step (sig, bp_p)
|
/freebsd-11-stable/contrib/gdb/gdb/config/mips/ |
H A D | tm-wince.h | 29 #define SOFTWARE_SINGLE_STEP(sig, bp_p) wince_software_single_step (sig, bp_p)
|
/freebsd-11-stable/lib/libthr/thread/ |
H A D | thr_kill.c | 44 _pthread_kill(pthread_t pthread, int sig) argument 50 if (sig < 0 || sig > _SIG_MAXSIG) 62 if (sig > 0) 63 _thr_send_sig(pthread, sig); 67 if (sig > 0) 68 _thr_send_sig(pthread, sig);
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | siginterrupt.c | 46 siginterrupt(int sig, int flag) argument 52 if ((ret = __libc_sigaction(sig, (struct sigaction *)0, &sa)) < 0) 55 sigaddset(&_sigintr, sig); 58 sigdelset(&_sigintr, sig); 61 return (__libc_sigaction(sig, &sa, (struct sigaction *)0));
|
H A D | psignal.c | 47 psignal(int sig, const char *s) argument 51 if (sig >= 0 && sig < NSIG) 52 c = sys_siglist[sig];
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | signal.c | 114 static void __cdecl evsig_handler(int sig); 124 evsig_base_n_signals_added = base->sig.ev_n_signals_added; 125 evsig_base_fd = base->sig.ev_signal_pair[1]; 159 ev_uint8_t sig = signals[i]; local 160 if (sig < NSIG) 161 ncaught[sig]++; 181 if (evutil_make_internal_pipe_(base->sig.ev_signal_pair) == -1) { 192 if (base->sig.sh_old) { 193 mm_free(base->sig.sh_old); 195 base->sig 220 struct evsig_info *sig = &base->sig; local 280 struct evsig_info *sig = &base->sig; local 327 struct evsig_info *sig = &base->sig; local 377 evsig_handler(int sig) argument [all...] |
/freebsd-11-stable/crypto/openssl/crypto/dsa/ |
H A D | dsa_sign.c | 92 DSA_SIG *sig; local 93 sig = OPENSSL_malloc(sizeof(DSA_SIG)); 94 if (!sig) 96 sig->r = NULL; 97 sig->s = NULL; 98 return sig; 101 void DSA_SIG_free(DSA_SIG *sig) argument 103 if (sig) { 104 if (sig->r) 105 BN_free(sig [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/base/ |
H A D | sigaction.c | 41 _nc_sigaction(int sig, sigaction_t * sigact, sigaction_t * osigact) argument 43 return sigvec(sig, sigact, osigact); 73 _nc_sigaddset(sigset_t * mask, int sig) argument 75 *mask |= sigmask(sig); 88 _nc_sigdelset(sigset_t * mask, int sig) 90 *mask &= ~sigmask(sig); 95 _nc_sigismember(sigset_t * mask, int sig) 97 return (*mask & sigmask(sig)) != 0;
|
/freebsd-11-stable/sys/arm64/include/ |
H A D | acpica_machdep.h | 49 void *acpi_map_table(vm_paddr_t pa, const char *sig); 51 vm_paddr_t acpi_find_table(const char *sig);
|
/freebsd-11-stable/lib/libc/sys/ |
H A D | sigwait.c | 37 sigwait(const sigset_t *set, int *sig) argument 41 __libc_interposing[INTERPOS_sigwait])(set, sig)); 45 __libc_sigwait(const sigset_t *set, int *sig) argument 51 ret = __sys_sigwait(set, sig);
|
/freebsd-11-stable/contrib/tcpdump/ |
H A D | setsignal.c | 69 (*setsignal (int sig, RETSIGTYPE (*func)(int)))(int) argument 76 if (sig == SIGCHLD) 78 if (sigaction(sig, &new, &old) < 0) 84 return (sigset(sig, func)); 86 return (signal(sig, func));
|
/freebsd-11-stable/contrib/tcsh/ |
H A D | tc.sig.c | 2 * tc.sig.c: Signal routine emulations 36 sigset_interrupting(int sig, void (*fn) (int)) argument 43 if (sigaction(sig, &act, NULL) == 0) { 46 sigaddset(&set, sig); 93 queue_alrmcatch(int sig) argument 95 USE(sig); 100 queue_pchild(int sig) argument 102 USE(sig); 107 queue_phup(int sig) argument 109 USE(sig); 114 queue_pintr(int sig) argument [all...] |
/freebsd-11-stable/contrib/sendmail/include/sm/ |
H A D | signal.h | 48 #define CHECK_CRITICAL(sig) \ 51 if (InCriticalSection > 0 && (sig) != 0) \ 53 pend_signal((sig)); \ 67 # define FIX_SYSV_SIGNAL(sig, handler) \ 69 if ((sig) != 0) \ 70 (void) sm_signal((sig), (handler)); \ 73 # define FIX_SYSV_SIGNAL(sig, handler) { /* EMPTY */ }
|
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | signal.c | 39 sm_signal(sig, handler) 40 int sig; 61 if (sigaction(sig, &n, &o) < 0) 73 return signal(sig, handler); 75 return sigset(sig, handler); 86 if (sigaction(sig, &n, &o) < 0) 96 ** sig -- the signal to block. 105 sm_blocksignal(sig) 106 int sig; 112 return (sigblock(sigmask(sig)) [all...] |
/freebsd-11-stable/crypto/openssl/crypto/rsa/ |
H A D | rsa_saos.c | 71 ASN1_OCTET_STRING sig; local 75 sig.type = V_ASN1_OCTET_STRING; 76 sig.length = m_len; 77 sig.data = (unsigned char *)m; 79 i = i2d_ASN1_OCTET_STRING(&sig, NULL); 92 i2d_ASN1_OCTET_STRING(&sig, &p); 112 ASN1_OCTET_STRING *sig = NULL; local 131 sig = d2i_ASN1_OCTET_STRING(NULL, &p, (long)i); 132 if (sig == NULL) 135 if (((unsigned int)sig [all...] |
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_signal.h | 47 void ksiginfo_to_lsiginfo(const ksiginfo_t *ksi, l_siginfo_t *lsi, l_int sig); 48 void siginfo_to_lsiginfo(const siginfo_t *si, l_siginfo_t *lsi, l_int sig); 49 void lsiginfo_to_ksiginfo(const l_siginfo_t *lsi, ksiginfo_t *ksi, int sig);
|
H A D | linux.h | 46 #define LINUX_SIGISMEMBER(set, sig) (1UL & ((set).__mask >> _SIG_IDX(sig))) 47 #define LINUX_SIGADDSET(set, sig) (set).__mask |= 1UL << _SIG_IDX(sig) 90 #define LINUX_SIG_VALID(sig) ((sig) <= LINUX_SIGRTMAX && (sig) > 0) 92 int linux_to_bsd_signal(int sig); 93 int bsd_to_linux_signal(int sig);
|
H A D | linux.c | 114 linux_to_bsd_rt_signal(int sig) argument 117 return (SIGRTMIN + 1 + sig - LINUX_SIGRTMIN); 121 bsd_to_linux_rt_signal(int sig) argument 124 return (sig - SIGRTMIN - 1 + LINUX_SIGRTMIN); 128 linux_to_bsd_signal(int sig) argument 131 KASSERT(sig > 0 && sig <= LINUX_SIGRTMAX, ("invalid Linux signal %d\n", sig)); 133 if (sig < LINUX_SIGRTMIN) 134 return (linux_to_bsd_sigtbl[_SIG_IDX(sig)]); 140 bsd_to_linux_signal(int sig) argument [all...] |
/freebsd-11-stable/tools/test/testfloat/ |
H A D | slowfloat-32.c | 40 bits64X sig; member in struct:__anon13642 120 if ( zx.sig.a1 ) { 125 if ( zx.sig.a1 < 0x80000000 ) goto noIncrement; 126 if ( ( zx.sig.a1 == 0x80000000 ) && ! ( zx.sig.a0 & 1 ) ) { 139 ++zx.sig.a0; 140 if ( zx.sig.a0 == 0x01000000 ) { 141 zx.sig.a0 = 0x00800000; 146 zx.sig.a1 = 0; 155 roundBits = zx.sig [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_signals_standalone.cpp | 46 static void OnStackUnwind(const SignalContext &sig, const void *, argument 49 StackTrace::GetNextInstructionPc(sig.pc), sig.bp, 50 sig.context, common_flags()->fast_unwind_on_fatal);
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_symbolizer_report.cpp | 170 static void ReportStackOverflowImpl(const SignalContext &sig, u32 tid, argument 177 SanitizerToolName, kDescription, (void *)sig.addr, (void *)sig.pc, 178 (void *)sig.bp, (void *)sig.sp, tid); 183 unwind(sig, unwind_context, stack); 188 static void ReportDeadlySignalImpl(const SignalContext &sig, u32 tid, argument 193 const char *description = sig.Describe(); 194 if (sig.is_memory_access && !sig 230 ReportDeadlySignal(const SignalContext &sig, u32 tid, UnwindSignalStackCallbackType unwind, const void *unwind_context) argument [all...] |
/freebsd-11-stable/contrib/bmake/ |
H A D | wait.h | 59 #define WSET_STOPCODE(x, sig) ((&x)->w_stopsig = (sig)) 62 #define WSET_EXITCODE(x, ret, sig) ((&x)->w_termsig = (sig), (&x)->w_retcode = (ret)) 66 #define WSET_STOPCODE(x, sig) ((x) = ((sig) << 8) | 0177) 69 #define WSET_EXITCODE(x, ret, sig) ((x) = (ret << 8) | (sig))
|
/freebsd-11-stable/lib/libc/sparc64/sys/ |
H A D | __sparc_utrap.c | 89 int sig; local 94 sig = __fpu_exception(uf); 97 sig = __emul_insn(uf); 100 sig = __unaligned_fixup(uf); 105 if (sig) { 109 __utrap_kill_self(sig); 125 __utrap_kill_self(int sig) argument 130 __sys_kill(__sys_getpid(), sig); local
|