Home
last modified time | relevance | path

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

1234

/external/linux-kselftest/tools/testing/selftests/ptrace/
Dpeeksiginfo.c109 siginfo_t siginfo[SIGNR]; in check_direct_path() local
122 ret = sys_ptrace(PTRACE_PEEKSIGINFO, child, &arg, siginfo); in check_direct_path()
132 if (siginfo[j].si_code == si_code && in check_direct_path()
133 siginfo[j].si_int == i) in check_direct_path()
137 shared, i, siginfo[j].si_code, siginfo[j].si_int); in check_direct_path()
154 siginfo_t siginfo[SIGNR]; in main() local
179 siginfo->si_code = TEST_SICODE_SHARE; in main()
180 siginfo->si_int = i; in main()
181 sys_rt_sigqueueinfo(child, SIGRTMIN, siginfo); in main()
183 siginfo->si_code = TEST_SICODE_PRIV; in main()
[all …]
/external/conscrypt/test-support/src/java/org/conscrypt/
DConscryptInstrumentationListener.java134 SignalMaskInfo siginfo = new SignalMaskInfo(); in maybeDumpNativeCoverage() local
135 if (!siginfo.isValid()) { in maybeDumpNativeCoverage()
140 if (!siginfo.isCaught(COVERAGE_SIGNAL)) { in maybeDumpNativeCoverage()
159 siginfo.refresh(); in maybeDumpNativeCoverage()
161 if (siginfo.isValid() && siginfo.isBlocked(COVERAGE_SIGNAL)) { in maybeDumpNativeCoverage()
164 siginfo.refresh(); in maybeDumpNativeCoverage()
165 if (siginfo.isValid() && !siginfo.isBlocked(COVERAGE_SIGNAL)) { in maybeDumpNativeCoverage()
/external/e2fsprogs/e2fsck/
Dsigcatcher.c334 static void die_signal_handler(int signum, siginfo_t *siginfo, in die_signal_handler() argument
341 if (siginfo->si_code == SI_USER) in die_signal_handler()
342 fprintf(stderr, "(sent from pid %u) ", siginfo->si_pid); in die_signal_handler()
343 cp = lookup_table(siginfo->si_code, generic_code_table); in die_signal_handler()
348 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
352 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
356 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
360 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
364 lookup_table_fallback(siginfo->si_code, in die_signal_handler()
367 fprintf(stderr, "si code=%d ", siginfo->si_code); in die_signal_handler()
[all …]
/external/google-breakpad/src/client/linux/handler/
Dexception_handler.cc424 memcpy(&context.siginfo, info, sizeof(siginfo_t)); in HandleSignal()
456 siginfo_t siginfo = {}; in SimulateSignalDelivery() local
459 siginfo.si_code = SI_USER; in SimulateSignalDelivery()
460 siginfo.si_pid = getpid(); in SimulateSignalDelivery()
463 return HandleSignal(sig, &siginfo, &context); in SimulateSignalDelivery()
664 memset(&context.siginfo, 0, sizeof(context.siginfo)); in WriteMinidump()
665 context.siginfo.si_signo = MD_EXCEPTION_CODE_LIN_DUMP_REQUESTED; in WriteMinidump()
667 context.siginfo.si_addr = in WriteMinidump()
670 context.siginfo.si_addr = in WriteMinidump()
673 context.siginfo.si_addr = in WriteMinidump()
[all …]
/external/crosvm/sys_util/src/
Dsignalfd.rs101 let mut siginfo: signalfd_siginfo = unsafe { mem::zeroed() }; in read() localVariable
112 &mut siginfo as *mut signalfd_siginfo as *mut c_void, in read()
125 Ok(Some(siginfo)) in read()
171 let siginfo = sigrt_fd.read().unwrap().unwrap(); in read() localVariable
172 assert_eq!(siginfo.ssi_signo, sigid as u32); in read()
Dsignal.rs213 let mut siginfo: siginfo_t = mem::zeroed(); in clear_signal() localVariable
220 let ret = sigtimedwait(&sigset, &mut siginfo, &ts); in clear_signal()
/external/compiler-rt/lib/asan/
Dasan_posix.cc36 void AsanOnDeadlySignal(int signo, void *siginfo, void *context) { in AsanOnDeadlySignal() argument
38 int code = (int)((siginfo_t*)siginfo)->si_code; in AsanOnDeadlySignal()
42 SignalContext sig = SignalContext::Create(siginfo, context); in AsanOnDeadlySignal()
Dasan_internal.h86 void AsanOnDeadlySignal(int, void *siginfo, void *context);
/external/linux-kselftest/tools/testing/selftests/breakpoints/
Dbreakpoint_test_arm64.c115 siginfo_t siginfo; in run_test() local
173 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo) != 0) { in run_test()
179 if (siginfo.si_code != TRAP_HWBKPT) { in run_test()
181 "Unexpected si_code %d\n", siginfo.si_code); in run_test()
/external/compiler-rt/test/asan/TestCases/Posix/
Dallow_user_segv.cc14 void User_OnSIGSEGV(int signum, siginfo_t *siginfo, void *context) { in User_OnSIGSEGV() argument
26 original_sigaction.sa_sigaction(signum, siginfo, context); in User_OnSIGSEGV()
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dptrace.cc115 siginfo_t siginfo; in main() local
116 res = ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo); in main()
118 assert(siginfo.si_pid == pid); in main()
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
Dmemtoy.h47 siginfo_t *siginfo; /* signal info, if signalled != 0 */ member
80 #define signalled(GCP) (GCP->siginfo != NULL)
Dmemtoy.c178 gcp->siginfo = &infocopy; in signal_handler()
252 glctx.siginfo = NULL; in reset_signal()
270 siginfo_t *info = gcp->siginfo; in show_siginfo()
356 if (gcp->siginfo != NULL) { in touch_memory()
/external/kernel-headers/original/uapi/asm-arm/asm/
Dsignal.h8 struct siginfo;
102 void (*_sa_sigaction)(int, struct siginfo *, void *);
/external/kernel-headers/original/uapi/asm-x86/asm/
Dsignal.h11 struct siginfo;
106 void (*_sa_sigaction)(int, struct siginfo *, void *);
/external/wpa_supplicant_8/wpa_supplicant/
Dbgscan_simple.c138 struct wpa_signal_info siginfo; in bgscan_simple_init() local
139 if (wpa_drv_signal_poll(wpa_s, &siginfo) == 0 && in bgscan_simple_init()
140 siginfo.current_signal >= data->signal_threshold) in bgscan_simple_init()
/external/igt-gpu-tools/runner/
Dexecutor.c483 struct signalfd_siginfo siginfo; in monitor_output() local
727 s = read(sigfd, &siginfo, sizeof(siginfo)); in monitor_output()
732 } else if (siginfo.ssi_signo == SIGCHLD) { in monitor_output()
750 strsignal(siginfo.ssi_signo)); in monitor_output()
1248 struct signalfd_siginfo siginfo; in should_die_because_signal() local
1260 ret = read(sigfd, &siginfo, sizeof(siginfo)); in should_die_because_signal()
1267 if (siginfo.ssi_signo == SIGCHLD) { in should_die_because_signal()
1271 strsignal(siginfo.ssi_signo)); in should_die_because_signal()
/external/linux-kselftest/android/patches/
D0017-seccomp_bpf.patch8 * we need to use the kernel's siginfo.h file and trick glibc
13 # include <asm/siginfo.h>
/external/ltp/testcases/kernel/sched/process_stress/
Dprocess.c789 } siginfo[] = { local
820 for (i = 0; siginfo[i].signum != -1; i++) {
822 sigaddset(&action.sa_mask, siginfo[i].signum);
824 SIGADDSET(action.sa_mask, siginfo[i].signum);
826 rc = sigaction(siginfo[i].signum, &action, NULL);
828 sprintf(tmpstr, "sigaction: %s\n", siginfo[i].signame);
832 siginfo[i].signame, errno);
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-hwbreak.c194 siginfo_t siginfo; in check_success() local
202 ptrace(PTRACE_GETSIGINFO, child_pid, NULL, &siginfo); in check_success()
205 (unsigned long)siginfo.si_addr < saddr || in check_success()
206 (unsigned long)siginfo.si_addr > eaddr) { in check_success()
/external/linux-kselftest/tools/testing/selftests/cgroup/
Dtest_freezer.c644 siginfo_t siginfo; in test_cgfreezer_ptrace() local
679 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo)) in test_cgfreezer_ptrace()
770 siginfo_t siginfo; in test_cgfreezer_ptraced() local
805 if (ptrace(PTRACE_GETSIGINFO, pid, NULL, &siginfo)) in test_cgfreezer_ptraced()
/external/crosvm/src/plugin/
Dmod.rs689 Ok(Some(siginfo)) => { in run_config()
692 if siginfo.ssi_pid == plugin.pid() as u32 { in run_config()
699 pid: siginfo.ssi_pid, in run_config()
700 signo: siginfo.ssi_signo, in run_config()
701 status: siginfo.ssi_status, in run_config()
702 code: siginfo.ssi_code, in run_config()
/external/u-boot/arch/powerpc/include/asm/
Dsignal.h7 struct siginfo;
/external/elfutils/backends/
Dlinux-core-note.c67 struct EBLHOOK(siginfo) in EBLHOOK() argument
91 struct EBLHOOK(siginfo) pr_info; in EBLHOOK()
/external/libunwind/tests/
Dia64-test-setjmp.c62 sighandler (int signal, void *siginfo, void *sigcontext) in sighandler() argument

1234