Skip to contentSkip to conversation

fchmod05: Convert docs to docparse

PATCH In review Ma Xinjian via ltp 2 participants 2 messages Dec 16, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fchmod05: Convert docs to docparse

---
 testcases/kernel/syscalls/fchmod/fchmod05.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
testcases/kernel/syscalls/fchmod/fchmod05.c +10 -10
index 0c731d601..e5de86117 100644
@@ -2,18 +2,18 @@
 /*
  * Copyright (c) International Business Machines  Corp., 2001
  * Author: Wayne Boyer
+ */
+
+/*\
+ * [Description]
  *
- * Test Description:
- *  Verify that, fchmod(2) will succeed to change the mode of a directory
- *  but fails to set the setgid bit on it if invoked by non-root (uid != 0)
- *  process with the following constraints,
- *	- the process is the owner of the directory.
- *	- the effective group ID or one of the supplementary group ID's of the
- *	  process is not equal to the group ID of the directory.
+ * Verify that, fchmod(2) will succeed to change the mode of a directory
+ * but fails to set the setgid bit on it if invoked by non-root (uid != 0)
+ * process with the following constraints,
  *
- * Expected Result:
- *  fchmod() should return value 0 on success and though succeeds to change
- *  the mode of a directory but fails to set setgid bit on it.
+ * - the process is the owner of the directory.
+ * - the effective group ID or one of the supplementary group ID's of the
+ *   process is not equal to the group ID of the directory.
  */
 
 #include <pwd.h>
Signature · 5 lines
2.47.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
#1 lore raw

Hi Ma Xinjian,

merged together with nanosleep01 and nanosleep04.
Thanks!

Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp