[PATCH v2 0/7] Some futex parser tweaks and futex test

Eugene Syromyatnikov evgsyr at gmail.com
Mon Aug 29 20:54:58 UTC 2016


This patchset contains some initial proposal for the futex syscall test
along with some syscall parser formatting tweaks that appeared sensible
to me during the test's realisation.

Changes since v1:
 * Change regarding skipping val2 in REQUEUE commands was erroneous
   (I've overlooked when checked utilised arguments in kernel sources),
   so it is removed from the series. Futex test has been updated
   accordingly.
 * Futex test: val and va2 pointers renamed to uaddr and uaddr2,
   accordingly.
 * Futex test: ARG0..ARG3 renamed to ARG3..ARG6 in order to resemble
   numeration used in comments.
 * Futex test: instances of direct usage of magic constants replaced
   with appropriate macro usage (VAL/VAL_PR)
 * Futex test: some typo fixes, etc.
 * Other patches haven't been changed.

Eugene Syromyatnikov (7):
  Fix FUTEX_WAKE_OP compare function mask
  futex: Add handling of FUTEX_FD command
  futex: Some refinement to unknown command argument formatting
  Add xlat values for FUTEX_WAIT commands with FUTEX_CLOCK_REALTIME bit
    set
  futex: Use alternate form for val3 presented in hex
  futex: Avoid printing val when it is not used by the command
  tests: Add test for the futex syscall

 futex.c           |   28 ++-
 tests/Makefile.am |    2 +
 tests/futex.c     |  663 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/futex.test  |    8 +
 xlat/futexops.in  |    2 +
 5 files changed, 696 insertions(+), 7 deletions(-)
 create mode 100644 tests/futex.c
 create mode 100755 tests/futex.test

-- 
1.7.10.4





More information about the Strace-devel mailing list