From d880cd26c9a10fff47e15c64cb424c964351c217 Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Fri, 11 Oct 2024 14:09:11 +0200 Subject: [PATCH 1/2] LTP: tw: aarch64: Minimize LTP_TAINT_EXPECTED value for cve According to a68add8 only 0x13801 is needed as a base value for LTP tests on Tumbleweed. Add also RPi specific 0x400 - "Staging driver was loaded" => 0x13c01. This effectively removes Leap/SLES specific "Unsupported module was loaded" (0x80000000). Fixes: 51b2002 ("LTP: tw: aarch64: Add expected taint flag for RPi4") Signed-off-by: Petr Vorel --- job_groups/opensuse_tumbleweed_aarch64.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/job_groups/opensuse_tumbleweed_aarch64.yaml b/job_groups/opensuse_tumbleweed_aarch64.yaml index cae90e8a..fe511aae 100644 --- a/job_groups/opensuse_tumbleweed_aarch64.yaml +++ b/job_groups/opensuse_tumbleweed_aarch64.yaml @@ -645,7 +645,7 @@ scenarios: machine: RPi4 settings: PASSWORD: linux - LTP_TAINT_EXPECTED: '0x80013c01' + LTP_TAINT_EXPECTED: '0x13c01' - qemu: machine: RPi4 settings: From 21c07abc3ed9d78c8c05c1ad618370504150ed7c Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Wed, 4 Sep 2024 07:56:53 +0200 Subject: [PATCH 2/2] Tumbleweed: RPi4: Add LTP containers, commands, syscalls It's useful to test these also on bare metal machine. Generally containers runtest file should not need any LTP_TAINT_EXPECTED setup, but RPi needs for any LTP job 0x400 (Staging driver was loaded). The others jobs use 0x13c01 (0x13801 from a68add8 with RPi specific 0x400). Signed-off-by: Petr Vorel --- job_groups/opensuse_tumbleweed_aarch64.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/job_groups/opensuse_tumbleweed_aarch64.yaml b/job_groups/opensuse_tumbleweed_aarch64.yaml index fe511aae..9ec9edfa 100644 --- a/job_groups/opensuse_tumbleweed_aarch64.yaml +++ b/job_groups/opensuse_tumbleweed_aarch64.yaml @@ -641,11 +641,26 @@ scenarios: machine: RPi4 settings: PASSWORD: linux + - jeos-ltp-commands: + machine: RPi4 + settings: + LTP_TAINT_EXPECTED: '0x13c01' + PASSWORD: linux + - jeos-ltp-containers: + machine: RPi4 + settings: + PASSWORD: linux + LTP_TAINT_EXPECTED: '0x400' - jeos-ltp-cve: machine: RPi4 settings: PASSWORD: linux LTP_TAINT_EXPECTED: '0x13c01' + - jeos-ltp-syscalls: + machine: RPi4 + settings: + LTP_TAINT_EXPECTED: '0x13c01' + PASSWORD: linux - qemu: machine: RPi4 settings: