test-kernel-security: update test test_190_config_have_stack_protector for riscv64
The new riscv64 architecture does not yet support stack protector so
disable this for test for kernels 5.8 and lower on riscv64. As yet,
it's still to early to know when this will be implemented for this
architecture, so make the test fail for 5.9+ so we can catch this
config setting being disabled for new releases until it gets implemented.
Signed-off-by: Colin Ian King <email address hidden>
test-kernel-security: update test test_185_config_stack_protector_strong for riscv64
The new riscv64 architecture does not yet support STACKPROTECTOR_STRONG so
disable this for test for kernels 5.8 and lower on riscv64. As yet,
it's still to early to know when this will be implemented for this
architecture, so make the test fail for 5.9+ so we can catch this
config setting being disabled for new releases until it gets implemented.
Signed-off-by: Colin Ian King <email address hidden>
test-kernel-security: update test test_180_config_stack_protector for riscv64
The new riscv64 architecture does not yet support stack proctector so
disabled this for test for kernels 5.8 and lower on riscv64. As yet,
it's still to early to know when this will be implemented for this
architecture, so make the test fail for 5.9+ so we can catch this
config setting being disabled for new releases until it gets implemented.
Signed-off-by: Colin Ian King <email address hidden>
test-apparmor: add upstream tests patch for FIPS systems
For the FIPS recertification kernel testing, the regression tests need a
patch to grant access to the FIPs self test files, in particular for the
dbus tests because the dbus daemon links against libgcrypt.