* [LTP] [PATCH 1/2] iopl01: Convert docs to docparse
@ 2024-02-27 8:56 Yang Xu via ltp
2024-02-27 8:56 ` [LTP] [PATCH 2/2] iopl02: " Yang Xu via ltp
2024-03-06 14:23 ` [LTP] [PATCH 1/2] iopl01: " Avinesh Kumar
0 siblings, 2 replies; 4+ messages in thread
From: Yang Xu via ltp @ 2024-02-27 8:56 UTC (permalink / raw)
To: ltp
Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
---
testcases/kernel/syscalls/iopl/iopl01.c | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/testcases/kernel/syscalls/iopl/iopl01.c b/testcases/kernel/syscalls/iopl/iopl01.c
index 70e2a7ff1..8eadc03c9 100644
--- a/testcases/kernel/syscalls/iopl/iopl01.c
+++ b/testcases/kernel/syscalls/iopl/iopl01.c
@@ -1,17 +1,18 @@
// 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>
*/
-/*
+/*\
+ * [Description]
+ *
* This is a basic test for iopl(2) system call.
*
* Test the system call for possible privelege levels.
* As the privelge level for a normal process is 0, start by
* setting/changing the level to 0.
- *
- * Author: Subhab Biswas <subhabrata.biswas@wipro.com>
*/
#include <errno.h>
--
2.43.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [LTP] [PATCH 2/2] iopl02: Convert docs to docparse
2024-02-27 8:56 [LTP] [PATCH 1/2] iopl01: Convert docs to docparse Yang Xu via ltp
@ 2024-02-27 8:56 ` Yang Xu via ltp
2024-03-06 14:23 ` [LTP] [PATCH 1/2] iopl01: " Avinesh Kumar
1 sibling, 0 replies; 4+ messages in thread
From: Yang Xu via ltp @ 2024-02-27 8:56 UTC (permalink / raw)
To: ltp
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
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [LTP] [PATCH 1/2] iopl01: Convert docs to docparse
2024-02-27 8:56 [LTP] [PATCH 1/2] iopl01: Convert docs to docparse Yang Xu via ltp
2024-02-27 8:56 ` [LTP] [PATCH 2/2] iopl02: " Yang Xu via ltp
@ 2024-03-06 14:23 ` Avinesh Kumar
2024-03-21 13:27 ` Petr Vorel
1 sibling, 1 reply; 4+ messages in thread
From: Avinesh Kumar @ 2024-03-06 14:23 UTC (permalink / raw)
To: ltp
Hi,
Reviewed-by: Avinesh Kumar <akumar@suse.de>
for both the patches.
@pvorel,
Can you please also fix below typos when you merge this.
On Tuesday, February 27, 2024 9:56:40 AM CET Yang Xu via ltp wrote:
> Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
> ---
> testcases/kernel/syscalls/iopl/iopl01.c | 11 ++++++-----
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/testcases/kernel/syscalls/iopl/iopl01.c
> b/testcases/kernel/syscalls/iopl/iopl01.c index 70e2a7ff1..8eadc03c9 100644
> --- a/testcases/kernel/syscalls/iopl/iopl01.c
> +++ b/testcases/kernel/syscalls/iopl/iopl01.c
> @@ -1,17 +1,18 @@
> // 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>
> */
>
> -/*
> +/*\
> + * [Description]
> + *
> * This is a basic test for iopl(2) system call.
> *
> * Test the system call for possible privelege levels.
s/privelege/privilege
> * As the privelge level for a normal process is 0, start by
s/privelge/privilege
> * setting/changing the level to 0.
> - *
> - * Author: Subhab Biswas <subhabrata.biswas@wipro.com>
> */
>
> #include <errno.h>
Regards,
Avinesh
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-03-21 13:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-27 8:56 [LTP] [PATCH 1/2] iopl01: Convert docs to docparse Yang Xu via ltp
2024-02-27 8:56 ` [LTP] [PATCH 2/2] iopl02: " Yang Xu via ltp
2024-03-06 14:23 ` [LTP] [PATCH 1/2] iopl01: " Avinesh Kumar
2024-03-21 13:27 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox