[LTP] [PATCH 2/2] iopl02: Convert docs to docparse
Yang Xu
xuyang2018.jy@fujitsu.com
Tue Feb 27 09:56:41 CET 2024
Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
---
testcases/kernel/syscalls/iopl/iopl02.c | 18 ++++++++----------
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/testcases/kernel/syscalls/iopl/iopl02.c b/testcases/kernel/syscalls/iopl/iopl02.c
index 7301442f9..1a588590e 100644
--- a/testcases/kernel/syscalls/iopl/iopl02.c
+++ b/testcases/kernel/syscalls/iopl/iopl02.c
@@ -1,19 +1,17 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
- * Copyright (c) Linux Test Project, 2020
- * Copyright (c) Wipro Technologies Ltd, 2002
+ * Copyright (c) Linux Test Project, 2020
+ * Copyright (c) Wipro Technologies Ltd, 2002
+ * Author: Subhab Biswas <subhabrata.biswas@wipro.com>
*/
-/*
- * This is an error test for iopl(2) system call.
+/*\
+ * [Description]
*
- * Verify that
- * 1) iopl(2) returns -1 and sets errno to EINVAL for privilege
- * level greater than 3.
- * 2) iopl(2) returns -1 and sets errno to EPERM if the current
- * user is not the super-user.
+ * Test for iopl(2) system call error.
*
- * Author: Subhab Biswas <subhabrata.biswas@wipro.com>
+ * - iopl(2) fail with EINVAL when privilege level greater than 3.
+ * - iopl(2) fail with EPERM when the current user is not the super-user.
*/
#include <errno.h>
--
2.43.0
More information about the ltp
mailing list