[LTP] [PATCH v1 2/2] security/dirtyc0w_shmem: Drop useless needs_tmpdir tag

David Hildenbrand david@redhat.com
Fri Nov 25 13:31:29 CET 2022


Compilation points out that:
  testcases/kernel/security/dirtyc0w_shmem/dirtyc0w_shmem.c: useless tag:
  needs_tmpdir

needs_tmpdir is implied by needs_checkpoints, so we can drop it.

Signed-off-by: David Hildenbrand <david@redhat.com>
---
 testcases/kernel/security/dirtyc0w_shmem/dirtyc0w_shmem.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/testcases/kernel/security/dirtyc0w_shmem/dirtyc0w_shmem.c b/testcases/kernel/security/dirtyc0w_shmem/dirtyc0w_shmem.c
index 1e3b194e7..14b8f8317 100644
--- a/testcases/kernel/security/dirtyc0w_shmem/dirtyc0w_shmem.c
+++ b/testcases/kernel/security/dirtyc0w_shmem/dirtyc0w_shmem.c
@@ -109,7 +109,6 @@ static struct tst_test test = {
 	.needs_checkpoints = 1,
 	.forks_child = 1,
 	.needs_root = 1,
-	.needs_tmpdir = 1,
 	.max_runtime = 120,
 	.setup = setup,
 	.cleanup = cleanup,
-- 
2.38.1



More information about the ltp mailing list