/freebsd/bin/chflags/ |
H A D | chflags.c | 45 static volatile sig_atomic_t siginfo; variable 53 siginfo = 1; in siginfo_handler() 191 if (siginfo) { in main() 194 siginfo = 0; in main() 196 } else if (vflag || siginfo) { in main() 198 if (vflag > 1 || siginfo) in main() 203 siginfo = 0; in main()
|
/freebsd/lib/libproc/ |
H A D | proc_util.c | 211 siginfo_t *siginfo; in proc_getlwpstatus() local 218 siginfo = &lwpinfo.pl_siginfo; in proc_getlwpstatus() 221 if (siginfo->si_signo == SIGTRAP && in proc_getlwpstatus() 222 (siginfo->si_code == TRAP_BRKPT || in proc_getlwpstatus() 223 siginfo->si_code == TRAP_TRACE)) { in proc_getlwpstatus() 228 psp->pr_what = siginfo->si_signo; in proc_getlwpstatus()
|
/freebsd/usr.bin/wc/ |
H A D | wc.c | 61 static volatile sig_atomic_t siginfo; variable 73 siginfo = 1; in siginfo_handler() 81 siginfo = 0; in reset_siginfo() 181 if (!siginfo) in show_cnt() 185 siginfo = 0; in show_cnt() 258 if (siginfo) in cnt() 297 if (siginfo) in cnt()
|
/freebsd/sys/kern/ |
H A D | kern_exit.c | 1050 int *status, int options, struct __wrusage *wrusage, siginfo_t *siginfo, in proc_to_reap() argument 1139 if (siginfo != NULL) { in proc_to_reap() 1140 bzero(siginfo, sizeof(*siginfo)); in proc_to_reap() 1141 siginfo->si_errno = 0; in proc_to_reap() 1149 siginfo->si_signo = SIGCHLD; in proc_to_reap() 1156 siginfo->si_code = CLD_DUMPED; in proc_to_reap() 1157 siginfo->si_status = WTERMSIG(p->p_xsig); in proc_to_reap() 1159 siginfo->si_code = CLD_KILLED; in proc_to_reap() 1160 siginfo->si_status = WTERMSIG(p->p_xsig); in proc_to_reap() 1162 siginfo->si_code = CLD_EXITED; in proc_to_reap() [all …]
|
/freebsd/bin/chmod/ |
H A D | chmod.c | 46 static volatile sig_atomic_t siginfo; variable 55 siginfo = 1; in siginfo_handler() 195 } else if (vflag || siginfo) { in main() 198 if (vflag > 1 || siginfo) { in main() 210 siginfo = 0; in main()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
H A D | NativeProcessNetBSD.cpp | 461 ptrace_siginfo_t siginfo; in Resume() 462 siginfo.psi_siginfo.si_signo = LLDB_INVALID_SIGNAL_NUMBER; in Resume() 463 return siginfo; in Resume() 470 ptrace_siginfo_t siginfo; in Resume() 471 siginfo.psi_siginfo.si_signo = signal; in Resume() 472 siginfo.psi_siginfo.si_code = SI_USER; in Resume() 473 siginfo.psi_siginfo.si_pid = getpid(); in Resume() 474 siginfo.psi_siginfo.si_uid = getuid(); in Resume() 476 siginfo.psi_lwpid = signaled_lwp; in Resume() 478 siginfo in Resume() 438 ptrace_siginfo_t siginfo; ComputeSignalInfo() local 447 ptrace_siginfo_t siginfo; ComputeSignalInfo() local 465 Expected<ptrace_siginfo_t> siginfo = Resume() local [all...] |
/freebsd/tests/sys/kqueue/ |
H A D | kqueue_peek_signal.c | 92 siginfo_t siginfo; in ATF_TC_BODY() local 93 rv = sigtimedwait(&set, &siginfo, &(struct timespec) { 0, 0 }); in ATF_TC_BODY() 96 rv = sigtimedwait(&set, &siginfo, &(struct timespec) { 0, 0 }); in ATF_TC_BODY()
|
/freebsd/tools/test/stress2/misc/ |
H A D | kevent16.sh | 76 siginfo_t siginfo; 78 rv = sigtimedwait(&set, &siginfo, &(struct timespec) { 0, 0 }); 81 rv = sigtimedwait(&set, &siginfo, &(struct timespec) { 0, 0 });
|
/freebsd/sys/contrib/openzfs/config/ |
H A D | kernel-siginfo.m4 | 6 ZFS_LINUX_TEST_SRC([siginfo], [ 15 ZFS_LINUX_TEST_RESULT([siginfo], [
|
/freebsd/usr.sbin/chown/ |
H A D | chown.c | 61 static volatile sig_atomic_t siginfo; variable 67 siginfo = 1; in siginfo_handler() 192 if (siginfo) { in main() 194 siginfo = 0; in main()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/ubsan/ |
H A D | ubsan_signals_standalone.cpp | 58 static void UBsanOnDeadlySignal(int signo, void *siginfo, void *context) { in UBsanOnDeadlySignal() argument 59 HandleDeadlySignal(siginfo, context, GetTid(), &OnStackUnwind, nullptr); in UBsanOnDeadlySignal()
|
/freebsd/sys/amd64/ia32/ |
H A D | ia32_signal.c | 442 struct __siginfo32 siginfo; in freebsd4_ia32_sendsig() local 452 siginfo_to_siginfo32(&ksi->ksi_info, &siginfo); in freebsd4_ia32_sendsig() 455 sig = siginfo.si_signo; in freebsd4_ia32_sendsig() 513 sf.sf_si = siginfo; in freebsd4_ia32_sendsig() 517 sf.sf_siginfo = siginfo.si_code; in freebsd4_ia32_sendsig() 518 sf.sf_addr = (u_int32_t)siginfo.si_addr; in freebsd4_ia32_sendsig() 553 struct __siginfo32 siginfo; in ia32_sendsig() local 564 siginfo_to_siginfo32(&ksi->ksi_info, &siginfo); in ia32_sendsig() 568 sig = siginfo.si_signo; in ia32_sendsig() 644 sf.sf_si = siginfo; in ia32_sendsig() [all …]
|
/freebsd/contrib/tnftp/src/ |
H A D | progressbar.c | 312 ptransfer(int siginfo) argument 322 if (!verbose && !progress && !siginfo) 362 if (siginfo && bytes > 0 && elapsed > 0.0 && filesize >= 0 378 (void)write(siginfo ? STDERR_FILENO : fileno(ttyout), buf, len);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_posix.cpp | 93 void LsanOnDeadlySignal(int signo, void *siginfo, void *context) { in LsanOnDeadlySignal() 94 HandleDeadlySignal(siginfo, context, GetCurrentThreadId(), &OnStackUnwind, in LsanOnDeadlySignal() 91 LsanOnDeadlySignal(int signo,void * siginfo,void * context) LsanOnDeadlySignal() argument
|
H A D | lsan.h | 41 void LsanOnDeadlySignal(int signo, void *siginfo, void *context);
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | bgscan_simple.c | 194 struct wpa_signal_info siginfo; in bgscan_simple_init() local 195 if (wpa_drv_signal_poll(wpa_s, &siginfo) == 0 && in bgscan_simple_init() 196 siginfo.data.signal >= data->signal_threshold) in bgscan_simple_init()
|
/freebsd/usr.bin/time/ |
H A D | time.c | 54 static void siginfo(int); 125 (void)signal(SIGINFO, siginfo); in main() 295 siginfo(int sig __unused) in siginfo() function
|
/freebsd/usr.bin/cmp/ |
H A D | cmp.c | 68 siginfo(int signo) in siginfo() function 241 (void)signal(SIGINFO, siginfo); in main()
|
/freebsd/bin/rm/ |
H A D | rm.c | 60 static void siginfo(int __unused); 146 (void)signal(SIGINFO, siginfo); in main() 533 siginfo(int sig __unused) in siginfo() function
|
/freebsd/bin/cp/ |
H A D | cp.c | 82 static void siginfo(int __unused); 176 (void)signal(SIGINFO, siginfo); in main() 563 siginfo(int sig __unused) 558 siginfo(int sig __unused) siginfo() function
|
/freebsd/usr.bin/du/ |
H A D | du.c | 72 static void siginfo(int __unused); 259 (void)signal(SIGINFO, siginfo); in main() 566 siginfo(int sig __unused) in siginfo() function
|
/freebsd/crypto/openssh/regress/unittests/test_helper/ |
H A D | fuzz.c | 202 siginfo(int unused __attribute__((__unused__))) in siginfo() function 236 signal(SIGINFO, siginfo); in fuzz_begin() 238 signal(SIGUSR1, siginfo); in fuzz_begin()
|
/freebsd/sys/arm64/arm64/ |
H A D | freebsd32_machdep.c | 355 struct __siginfo32 siginfo; in freebsd32_sendsig() local 360 siginfo_to_siginfo32(&ksi->ksi_info, &siginfo); in freebsd32_sendsig() 399 frame.sf_si = siginfo; in freebsd32_sendsig()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_posix.cpp | 304 auto si = static_cast<const siginfo_t *>(siginfo); in GetAddress() 309 auto si = static_cast<const siginfo_t *>(siginfo); in IsMemoryAccess() 314 return static_cast<const siginfo_t *>(siginfo)->si_signo; in GetType()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_internal.h | 106 void AsanOnDeadlySignal(int, void *siginfo, void *context);
|