summaryrefslogtreecommitdiffstats
path: root/lib/vty.c
diff options
context:
space:
mode:
authorajs <ajs>2005-01-12 17:27:27 +0000
committerajs <ajs>2005-01-12 17:27:27 +0000
commit52d2cc927cf4138541a02776b41686ef84066c3d (patch)
treeda8c81889f239bc53d0de981be44e1093c65d4ac /lib/vty.c
parent50f38e5bfcbb23a8748f82bda379abc914b53e02 (diff)
downloadquagga-52d2cc927cf4138541a02776b41686ef84066c3d.tar.bz2
quagga-52d2cc927cf4138541a02776b41686ef84066c3d.tar.xz
2005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* configure.ac: Test for header file <ucontext.h> (for use in signal processing). * sigevent.c: (trap_default_signals) Use the SA_SIGINFO flag to pass additional siginfo_t and ucontext_t arguments to core_handler and exit_handler. (core_handler,exit_handler) Now invoked with 3 arguments (using SA_SIGINFO). Pass additional info to zlog_signal. (program_counter) New function to find program counter in ucontext_t, needs to be enhanced to support more platforms (currently works only on Linux/x86). * log.h: Change the zlog_signal prototype to add new arguments siginfo_t * and program_counter. * log.c: (zlog_signal) Add new arguments siginfo and program_counter. Include si_addr and program counter (if non-NULL) in message. And remove #ifdef HAVE_GLIBC_BACKTRACE around hex_append, since that is now used to render the si_addr and PC pointers.
Diffstat (limited to 'lib/vty.c')
0 files changed, 0 insertions, 0 deletions