lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 23 Feb 2018 15:11:35 -0700
From:   Shuah Khan <shuahkh@....samsung.com>
To:     shuah@...nel.org, dvhart@...radead.org, tbird20d@...il.com
Cc:     Shuah Khan <shuahkh@....samsung.com>, tglx@...utronix.de,
        mingo@...hat.com, peterz@...radead.org,
        linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: [PATCH 0/5] Handling for TAP header level

This patch series is a result discussion with Tim Bird about nested TAP
header handling. Based on the discussion, I am introducing a environment
variable to prevent nested TAP headers. These patches improve the run_tests
output and the output from the script generated by emit_tests.
    
This first patch in this series adds environment variable KSFT_TAP_LEVEL
to avoid printing nested TAP headers for each test. lib.mk run_tests
target prints TAP header before invoking the test program or test script.
Tests need a way to suppress TAP headers if it is already printed out.

This new environment variable adds a way for ksft_print_header()
print TAP header only when KSFT_TAP_LEVEL isn't set.
  
The second patch in this series changes lib.mk run_tests target to set
KSFT_TAP_LEVEL before running tests.

The third patch changes Makefile to export KSFT_TAP_LEVEL and adds
TAP and KSFT_TAP_LEVEL handling to emit_tests target.
 
Forth and fifth patches make changes to size and futex tests to
prevent nested TAP headers to take advantage of the framework
change in the first patch.

Shuah Khan (5):
  selftests: kselftest framework: add handling for TAP header level
  selftests: lib.mk set KSFT_TAP_LEVEL to prevent nested TAP headers
  selftests: Makefile set KSFT_TAP_LEVEL to prevent nested TAP headers
  selftests: size call ksft_print_header() to print TAP header
  selftests: futex Makefile add top level TAP header echo to RUN_TESTS

 tools/testing/selftests/Makefile        | 10 +++++++++-
 tools/testing/selftests/futex/Makefile  |  3 +++
 tools/testing/selftests/kselftest.h     |  3 ++-
 tools/testing/selftests/lib.mk          |  1 +
 tools/testing/selftests/size/get_size.c |  4 +++-
 5 files changed, 18 insertions(+), 3 deletions(-)

-- 
2.14.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ