[PULL v2] signal-safe logging and input ABI 18

Peter Hutterer peter.hutterer at who-t.net
Mon Jul 2 17:25:47 PDT 2012


Changes to v1:
- 32 bit issues fixed by squashing in
http://patchwork.freedesktop.org/patch/10876/ and
http://patchwork.freedesktop.org/patch/10877/

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 fdd838e563b6bbf45b240a330e4d69cb952d4e77:

  Bump to ABI_XINPUT_VERSION 18 (2012-07-03 10:11:24 +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                             |  175 +++++++++++++++++++++++++++++++++-
 os/osinit.c                          |    8 +-
 os/utils.c                           |   46 +++++++++
 test/.gitignore                      |    1 +
 test/Makefile.am                     |    3 +-
 test/signal-logging.c                |  115 ++++++++++++++++++++++
 19 files changed, 423 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/20120703/4c511b3b/attachment.pgp>


More information about the xorg-devel mailing list