Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_sigqueue.cpp46 siginfo_t siginfo; in pthread_sigqueue() local
47 siginfo.si_code = SI_QUEUE; in pthread_sigqueue()
48 siginfo.si_pid = getpid(); in pthread_sigqueue()
49 siginfo.si_uid = getuid(); in pthread_sigqueue()
50 siginfo.si_value = value; in pthread_sigqueue()
52 return syscall(__NR_rt_tgsigqueueinfo, getpid(), tid, sig, &siginfo) ? errno : 0; in pthread_sigqueue()
/bionic/libc/include/bits/
Dsignal_types.h73 void (*sa_sigaction)(int, struct siginfo*, void*); \
91 void (*sa_sigaction)(int, struct siginfo*, void*);
102 void (*sa_sigaction)(int, struct siginfo*, void*);
/bionic/tests/
Dpidfd_test.cpp51 siginfo_t siginfo; in TEST() local
52 int rc = waitid(P_PIDFD, pidfd.get(), &siginfo, WEXITED); in TEST()
58 ASSERT_EQ(child, siginfo.si_pid); in TEST()
Dsys_ptrace_test.cpp196 siginfo_t siginfo; in run_watchpoint_test() local
197 ASSERT_EQ(0, ptrace(PTRACE_GETSIGINFO, child, nullptr, &siginfo)) << strerror(errno); in run_watchpoint_test()
198 ASSERT_EQ(TRAP_HWBKPT, siginfo.si_code); in run_watchpoint_test()
200 ASSERT_LE(&data, siginfo.si_addr); in run_watchpoint_test()
201 ASSERT_GT((&data) + 1, siginfo.si_addr); in run_watchpoint_test()
367 siginfo_t siginfo; in TEST() local
368 ASSERT_EQ(0, ptrace(PTRACE_GETSIGINFO, child, nullptr, &siginfo)) << strerror(errno); in TEST()
369 ASSERT_EQ(TRAP_HWBKPT, siginfo.si_code); in TEST()
Dsignal_test.cpp778 static siginfo received; in TEST()
781 handler.sa_sigaction = [](int, siginfo_t* siginfo, void*) { received = *siginfo; }; in TEST() argument
786 siginfo sent; in TEST()
/bionic/libc/kernel/uapi/asm-arm/asm/
Dsignal.h22 struct siginfo;
70 void(* _sa_sigaction) (int, struct siginfo *, void *);
/bionic/libc/kernel/uapi/asm-x86/asm/
Dsignal.h25 struct siginfo;
74 void(* _sa_sigaction) (int, struct siginfo *, void *);
/bionic/libfdtrack/
Dfdtrack.cpp82 sa.sa_sigaction = [](int, siginfo_t* siginfo, void*) { in ctor() argument
83 if (siginfo->si_code == SI_QUEUE && siginfo->si_int == 1) { in ctor()
/bionic/libc/kernel/uapi/asm-generic/
Dsiginfo.h101 typedef struct siginfo { struct