Skip to content
linux-kselftest-5.2-rc1-2

This kselftest second update for Linux 5.2-rc1 consists of

Kselftest framework fixes from Shuah Khan

- kselftest framework bpf build/test workflow regression fix
- Fix to kselftest install to use default install path
- Fix to kselftest KBUILD_OUTPUT builds to not clutter main
  KBUILD_OUTPUT directory with selftest objects

- .gitignore fixes from Kelsey Skunberg

- rseq selftests updates from Mathieu Desnoyers and Martin Schwidefsky:

  They change the per-architecture pre-abort signatures to ensure those
  are valid trap instructions.

  The way exit points are presented to debuggers is enhanced, ensuring
  all exit points are present, so debuggers don't have to disassemble
  rseq critical section to properly skip over them.

  Discussions with the glibc community is reaching a consensus of exposing
  a __rseq_handled symbol from glibc to coexist with rseq early adopters.
  Update the rseq selftest code to expose and use this symbol.

  Support for compiling asm goto with clang is added with the
  "-no-integrated-as" compiler switch, similarly to the top level kernel
  Makefile.

- kselftest Makefile test run output refactoring and making test
  output TAP13 compliant from Kees Cook:

  This re-factors the selftest Makefiles to extract the test running logic
  to be reused between "run_tests" and "emit_tests", while also fixing
  up the test output to be TAP version 13 compliant:
	- added "plan" line
	- fixed result line syntax
	- moved all test output to be "# "-prefixed as TAP "diagnostic"
	  lines

  The prefixing code includes a fallback mode for limited execution
  environments.

  Additionally, the plan lines are fixed for all callers of kselftest.h.