[LTP] [PATCH 2/6] syscalls/kill05: Fix test description metadata

Ricardo B. Marlière rbm@suse.com
Wed May 14 12:49:55 CEST 2025


From: Ricardo B. Marlière <rbm@suse.com>

Signed-off-by: Ricardo B. Marlière <rbm@suse.com>
---
 testcases/kernel/syscalls/kill/kill05.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/testcases/kernel/syscalls/kill/kill05.c b/testcases/kernel/syscalls/kill/kill05.c
index 8ec71be49abcbb072b8744b5dee29da95428a64b..3c317e2fcb08c64531b597be37f39f2f8ab3d416 100644
--- a/testcases/kernel/syscalls/kill/kill05.c
+++ b/testcases/kernel/syscalls/kill/kill05.c
@@ -2,8 +2,6 @@
 /*
  * Copyright (c) International Business Machines  Corp., 2001
  *
- * Test case to check that kill() fails when passed a pid owned by another user.
- *
  * HISTORY
  *	07/2001 Ported by Wayne Boyer
  *
@@ -12,9 +10,10 @@
  *        segfault in case of error with this syscall).
  *      - Fix deletion of IPC memory segment. Segment was not correctly
  *        deleted due to the change of uid during the test.
- *
- * RESTRICTIONS
- *	This test must be run as root.
+ */
+
+/*\
+ * Test case to check that kill() fails when passed a pid owned by another user.
  */
 
 #include <sys/wait.h>

-- 
2.49.0



More information about the ltp mailing list