[PULL] signal-safe logging and input ABI 18

Peter Hutterer peter.hutterer at who-t.net
Thu Jun 21 17:57:35 PDT 2012


The following changes since commit 8dc70acbf3d82611ac9ec1ec2a52edcc01934850:

  Merge remote-tracking branch 'alanc/master' (2012-06-14 13:04:29 -0700)

are available in the git repository at:


  git://people.freedesktop.org/~whot/xserver sigsafe-logging-varargs

for you to fetch changes up to 70f4956a81a50f4edcfcdbb474e4a9a3cce1df74:

  Bump to ABI_XINPUT_VERSION 18 (2012-06-22 10:53:59 +1000)

----------------------------------------------------------------
Chase Douglas (15):
      Add global variable inSignalContext
      Save log file file descriptor for signal context logging
      Add FormatUInt64{,Hex}() for formatting numbers in a signal safe manner
      Add LogMessageVerbSigSafe() for logging messages while in signal context
      Add ErrorFSigSafe() alternative to ErrorF()
      Print backtrace in a signal-safe manner
      Make BUG_WARN* signal safe
      Warn when attempting to log in a signal unsafe manner from signal context
      Log messages in GetTouchEvents() in a signal safe manner
      Log messages in TouchBeginDDXTouch() in a signal-safe manner
      Log mieq enqueue overflow in a signal safe manner
      Log safely in fatal signal handler
      Log in UnloadModuleOrDriver() in a signal safe manner
      Log in LoaderUnload() in a signal safe manner
      Log in OsVendorFatalError() in a signal safe manner

Peter Hutterer (3):
      xfree86: constify InputInfoPtr->type_name
      xfree86: constify InputDriverPtr->driverName and default_options
      Bump to ABI_XINPUT_VERSION 18

 dix/getevents.c                      |    4 +-
 dix/touch.c                          |    5 +-
 hw/xfree86/common/xf86Init.c         |   14 +--
 hw/xfree86/common/xf86Module.h       |    2 +-
 hw/xfree86/common/xf86Xinput.h       |    6 +-
 hw/xfree86/loader/loader.c           |    2 +-
 hw/xfree86/loader/loadmod.c          |    5 +-
 hw/xfree86/os-support/shared/sigio.c |    4 +
 include/globals.h                    |    3 +
 include/misc.h                       |   10 +-
 include/os.h                         |   13 +++
 mi/mieq.c                            |   19 ++--
 os/backtrace.c                       |   49 ++++++----
 os/log.c                             |  166 +++++++++++++++++++++++++++++++++-
 os/osinit.c                          |    8 +-
 os/utils.c                           |   46 ++++++++++
 test/.gitignore                      |    1 +
 test/Makefile.am                     |    3 +-
 test/signal-logging.c                |  115 +++++++++++++++++++++++
 19 files changed, 414 insertions(+), 61 deletions(-)
 create mode 100644 test/signal-logging.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120622/ef146dec/attachment.pgp>


More information about the xorg-devel mailing list