diff options
-rw-r--r-- | coregrind/m_libcsignal.c | 20 | ||||
-rw-r--r-- | include/pub_tool_libcsignal.h | 2 |
2 files changed, 0 insertions, 22 deletions
diff --git a/coregrind/m_libcsignal.c b/coregrind/m_libcsignal.c index 4810da30..4e812341 100644 --- a/coregrind/m_libcsignal.c +++ b/coregrind/m_libcsignal.c @@ -163,12 +163,6 @@ Int VG_(sigaction) ( Int signum, const struct vki_sigaction* act, } -Int VG_(sigaltstack)( const vki_stack_t* ss, vki_stack_t* oss ) -{ - SysRes res = VG_(do_syscall2)(__NR_sigaltstack, (UWord)ss, (UWord)oss); - return res.isError ? -1 : 0; -} - Int VG_(sigtimedwait)( const vki_sigset_t *set, vki_siginfo_t *info, const struct vki_timespec *timeout ) { @@ -218,20 +212,6 @@ Int VG_(tkill)( ThreadId tid, Int signo ) return res.isError ? -1 : 0; } -Int VG_(sigpending) ( vki_sigset_t* set ) -{ -// Nb: AMD64/Linux doesn't have __NR_sigpending; it only provides -// __NR_rt_sigpending. This function will have to be abstracted in some -// way to account for this. In the meantime, the easy option is to forget -// about it for AMD64 until it's needed. -#if defined(VGA_amd64) - I_die_here; -#else - SysRes res = VG_(do_syscall1)(__NR_sigpending, (UWord)set); - return res.isError ? -1 : 0; -#endif -} - /*--------------------------------------------------------------------*/ /*--- end ---*/ /*--------------------------------------------------------------------*/ diff --git a/include/pub_tool_libcsignal.h b/include/pub_tool_libcsignal.h index 8463bb3e..1a222d9d 100644 --- a/include/pub_tool_libcsignal.h +++ b/include/pub_tool_libcsignal.h @@ -63,11 +63,9 @@ extern Int VG_(sigtimedwait)( const vki_sigset_t *, vki_siginfo_t *, const struct vki_timespec * ); extern Int VG_(signal) ( Int signum, void (*sighandler)(Int) ); -extern Int VG_(sigaltstack) ( const vki_stack_t* ss, vki_stack_t* oss ); extern Int VG_(kill) ( Int pid, Int signo ); extern Int VG_(tkill) ( ThreadId tid, Int signo ); -extern Int VG_(sigpending) ( vki_sigset_t* set ); #endif // __PUB_TOOL_LIBCBSIGNAL_H |