Skip to contentSkip to conversation

Remove tomoyo testing suite

PATCH In review Andrea Cervesato 4 participants 4 messages Mar 7, 2023 – Mar 13, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Remove tomoyo testing suite

From: Andrea Cervesato <[email protected]>

The tomoyo testing suite is built and installed inside the LTP testcases folder, but it's not used and maintained anymore.
This patch removes it, so we get rid of ltp_clone_quick as well and make some space in the installation folder.

---
 testcases/kernel/security/tomoyo/.gitignore   |   9 -
 testcases/kernel/security/tomoyo/Makefile     |  29 -
 testcases/kernel/security/tomoyo/README       |  58 --
 testcases/kernel/security/tomoyo/include.h    | 379 ----------
 testcases/kernel/security/tomoyo/newns.c      |  49 --
 testcases/kernel/security/tomoyo/testall.sh   |  46 --
 .../security/tomoyo/tomoyo_accept_test.c      | 146 ----
 .../kernel/security/tomoyo/tomoyo_file_test.c | 304 --------
 .../security/tomoyo/tomoyo_filesystem_test.c  | 633 -----------------
 .../security/tomoyo/tomoyo_new_file_test.c    | 627 -----------------
 .../kernel/security/tomoyo/tomoyo_new_test.c  | 652 ------------------
 .../security/tomoyo/tomoyo_policy_io_test.c   | 195 ------
 .../tomoyo/tomoyo_policy_memory_test.c        | 358 ----------
 .../security/tomoyo/tomoyo_rewrite_test.c     | 169 -----
 14 files changed, 3654 deletions(-)
 delete mode 100644 testcases/kernel/security/tomoyo/.gitignore
 delete mode 100644 testcases/kernel/security/tomoyo/Makefile
 delete mode 100644 testcases/kernel/security/tomoyo/README
 delete mode 100644 testcases/kernel/security/tomoyo/include.h
 delete mode 100644 testcases/kernel/security/tomoyo/newns.c
 delete mode 100644 testcases/kernel/security/tomoyo/testall.sh
 delete mode 100644 testcases/kernel/security/tomoyo/tomoyo_accept_test.c
 delete mode 100644 testcases/kernel/security/tomoyo/tomoyo_file_test.c
 delete mode 100644 testcases/kernel/security/tomoyo/tomoyo_filesystem_test.c
 delete mode 100644 testcases/kernel/security/tomoyo/tomoyo_new_file_test.c
 delete mode 100644 testcases/kernel/security/tomoyo/tomoyo_new_test.c
 delete mode 100644 testcases/kernel/security/tomoyo/tomoyo_policy_io_test.c
 delete mode 100644 testcases/kernel/security/tomoyo/tomoyo_policy_memory_test.c
 delete mode 100644 testcases/kernel/security/tomoyo/tomoyo_rewrite_test.c
testcases/kernel/security/tomoyo/.gitignore deleted +0 -9
deleted file mode 100644
index 698646d93..000000000
@@ -1,9 +0,0 @@
-/newns
-/tomoyo_accept_test
-/tomoyo_file_test
-/tomoyo_filesystem_test
-/tomoyo_new_file_test
-/tomoyo_new_test
-/tomoyo_policy_io_test
-/tomoyo_policy_memory_test
-/tomoyo_rewrite_test
testcases/kernel/security/tomoyo/Makefile deleted +0 -29
deleted file mode 100644
index 00e4cc3ed..000000000
@@ -1,29 +0,0 @@
-#
-#    kernel/security/smack testcase Makefile
-#
-#    Copyright (C) 2009, Cisco Systems Inc.
-#
-#    This program is free software; you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation; either version 2 of the License, or
-#    (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License along
-#    with this program; if not, write to the Free Software Foundation, Inc.,
-#    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-#
-# Ngie Cooper, July 2009
-#
-
-top_srcdir		?= ../../../..
-
-include $(top_srcdir)/include/mk/testcases.mk
-
-INSTALL_TARGETS		:= testall.sh
-
-include $(top_srcdir)/include/mk/generic_leaf_target.mk
testcases/kernel/security/tomoyo/README deleted +0 -58

58 lines not on this page · raw message

testcases/kernel/security/tomoyo/include.h deleted +0 -379

379 lines not on this page · raw message

testcases/kernel/security/tomoyo/newns.c deleted +0 -49

49 lines not on this page · raw message

testcases/kernel/security/tomoyo/testall.sh deleted +0 -46

46 lines not on this page · raw message

testcases/kernel/security/tomoyo/tomoyo_accept_test.c deleted +0 -146

146 lines not on this page · raw message

testcases/kernel/security/tomoyo/tomoyo_file_test.c deleted +0 -304

304 lines not on this page · raw message

testcases/kernel/security/tomoyo/tomoyo_filesystem_test.c deleted +0 -633

633 lines not on this page · raw message

testcases/kernel/security/tomoyo/tomoyo_new_file_test.c deleted +0 -627

627 lines not on this page · raw message

testcases/kernel/security/tomoyo/tomoyo_new_test.c deleted +0 -652

652 lines not on this page · raw message

testcases/kernel/security/tomoyo/tomoyo_policy_io_test.c deleted +0 -195

68 lines not on this page · raw message

testcases/kernel/security/tomoyo/tomoyo_policy_memory_test.c deleted +0 -358

358 lines not on this page · raw message

testcases/kernel/security/tomoyo/tomoyo_rewrite_test.c deleted +0 -169

169 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 5 lines
2.35.3


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

Part of the diff is not shown here. View the raw message.

Acked-by on v2 1/1
#3 lore raw
In reply to Andrea Cervesato
Quoted 9 lines · Andrea Cervesato

From: Andrea Cervesato <[email protected]>

The tomoyo testing suite is built and installed inside the LTP testcases folder, but it's not used and maintained anymore.
This patch removes it, so we get rid of ltp_clone_quick as well and make some space in the installation folder.

TBH, this might be the best thing to come out of removing ltp_clone_quick.

Signature · 5 lines
Thank you,
Richard.

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp