linux/tools/testing/selftests/powerpc/security
Russell Currey cb662608e5 selftests/powerpc: Use date instead of EPOCHSECONDS in mitigation-patching.sh
The EPOCHSECONDS environment variable was added in bash 5.0 (released
2019).  Some distributions of the "stable" and "long-term" variety ship
older versions of bash than this, so swap to using the date command
instead.

"%s" was added to coreutils `date` in 1993 so we should be good, but who
knows, it is a GNU extension and not part of the POSIX spec for `date`.

Signed-off-by: Russell Currey <ruscur@russell.cc>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211025102436.19177-1-ruscur@russell.cc
2021-10-27 22:34:02 +11:00
..
.gitignore selftests/powerpc: update .gitignore 2020-12-04 01:01:21 +11:00
branch_loops.S selftests/powerpc: Add a test of spectre_v2 mitigations 2019-10-30 15:43:57 +11:00
entry_flush.c selftests/powerpc: Fix L1D flushing tests for Power10 2021-03-24 14:09:29 +11:00
flush_utils.c selftests/powerpc: Add uaccess flush test 2021-04-23 01:38:03 +10:00
flush_utils.h selftests/powerpc: Add uaccess flush test 2021-04-23 01:38:03 +10:00
Makefile selftests/powerpc: Add test of mitigation patching 2021-05-17 15:27:47 +10:00
mitigation-patching.sh selftests/powerpc: Use date instead of EPOCHSECONDS in mitigation-patching.sh 2021-10-27 22:34:02 +11:00
rfi_flush.c selftests/powerpc: Fix L1D flushing tests for Power10 2021-03-24 14:09:29 +11:00
spectre_v2.c selftests/powerpc: Skip security tests on older CPUs 2020-09-08 22:24:05 +10:00
uaccess_flush.c selftests/powerpc: Add uaccess flush test 2021-04-23 01:38:03 +10:00