Home
last modified time | relevance | path

Searched refs:siginfo (Results 1 – 25 of 55) sorted by relevance

123

/freebsd/bin/chflags/
H A Dchflags.c45 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 Dproc_util.c211 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 Dwc.c61 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 Dkern_exit.c1050 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 Dchmod.c46 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 DNativeProcessNetBSD.cpp461 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 Dkqueue_peek_signal.c92 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 Dkevent16.sh76 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 Dkernel-siginfo.m46 ZFS_LINUX_TEST_SRC([siginfo], [
15 ZFS_LINUX_TEST_RESULT([siginfo], [
/freebsd/usr.sbin/chown/
H A Dchown.c61 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 Dubsan_signals_standalone.cpp58 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 Dia32_signal.c442 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 Dprogressbar.c312 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 Dlsan_posix.cpp93 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 Dlsan.h41 void LsanOnDeadlySignal(int signo, void *siginfo, void *context);
/freebsd/contrib/wpa/wpa_supplicant/
H A Dbgscan_simple.c194 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 Dtime.c54 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 Dcmp.c68 siginfo(int signo) in siginfo() function
241 (void)signal(SIGINFO, siginfo); in main()
/freebsd/bin/rm/
H A Drm.c60 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 Dcp.c82 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 Ddu.c72 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 Dfuzz.c202 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 Dfreebsd32_machdep.c355 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 Dsanitizer_posix.cpp304 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 Dasan_internal.h106 void AsanOnDeadlySignal(int, void *siginfo, void *context);

123