All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH v4 0/4] New Fuzzy Sync library API
@ 2018-11-05 15:42 Richard Palethorpe
  2018-11-05 15:42 ` [LTP] [PATCH v4 1/4] tst_timer: Add nano second conversions Richard Palethorpe
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Richard Palethorpe @ 2018-11-05 15:42 UTC (permalink / raw)
  To: ltp

Changes for V4:

* Increase fzsync timeout to 50% of the overall LTP test timeout
* Increase default iterations to 3 million
* Set cve-2014-0196 iterations to 50,000
* Increase sample iterations for cve-2016-7117

With these defaults almost all of the tests should reliably trigger their
bugs while not taking more than 30 seconds to execute on server grade
hardware. On slow embedded systems the tests should also be fairly reliable,
however will take up to 150 seconds.

Hopefully none of the tests will exit with a warning on slow systems because
they failed to complete the sampling phase. However on a very slow system
cve-2016-7117 will probably not have time to finish the sampling phase, but
this bug is simply very difficult to reproduce[1] on some kernels and a long
sampling time is required to get the optimal delay bias.

[1] To be more accurate, it is very difficult to cause a visible fault on some
kernels. The bug may always be riably triggered with the test, but the
probability of an illegal memory access are low.

Richard Palethorpe (4):
  tst_timer: Add nano second conversions
  fzsync: Simplify API with start/end race calls and limit exec time
  Convert tests to use fzsync_{start,end}_race API
  fzsync: Add delay bias for difficult races

 include/tst_fuzzy_sync.h                      | 781 ++++++++++++++----
 include/tst_timer.h                           |  11 +
 lib/newlib_tests/test16.c                     |  62 +-
 testcases/cve/cve-2014-0196.c                 |  39 +-
 testcases/cve/cve-2016-7117.c                 |  61 +-
 testcases/cve/cve-2017-2671.c                 |  32 +-
 testcases/kernel/syscalls/inotify/inotify09.c |  33 +-
 .../kernel/syscalls/ipc/shmctl/shmctl05.c     |  30 +-
 8 files changed, 725 insertions(+), 324 deletions(-)

-- 
2.18.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2018-12-03 11:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 15:42 [LTP] [PATCH v4 0/4] New Fuzzy Sync library API Richard Palethorpe
2018-11-05 15:42 ` [LTP] [PATCH v4 1/4] tst_timer: Add nano second conversions Richard Palethorpe
2018-11-05 15:42 ` [LTP] [PATCH v4 2/4] fzsync: Simplify API with start/end race calls and limit exec time Richard Palethorpe
2018-11-22 15:41   ` Cyril Hrubis
2018-11-23 14:55     ` Richard Palethorpe
2018-11-05 15:42 ` [LTP] [PATCH v4 3/4] Convert tests to use fzsync_{start, end}_race API Richard Palethorpe
2018-11-05 15:42 ` [LTP] [PATCH v4 4/4] fzsync: Add delay bias for difficult races Richard Palethorpe
2018-11-29 15:19   ` Cyril Hrubis
2018-11-16 14:33 ` [LTP] [PATCH v4 0/4] New Fuzzy Sync library API Li Wang
2018-11-20 11:35   ` Richard Palethorpe
2018-11-20 13:09     ` Cyril Hrubis
2018-12-03 11:40       ` Richard Palethorpe
2018-11-22 15:35 ` Cyril Hrubis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.