All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH v5 0/4] syscalls: lchown: Convert to new API
@ 2025-08-29 21:01 Ricardo B. Marlière via ltp
  2025-08-29 21:02 ` [LTP] [PATCH v5 1/4] lib: Add SAFE_LCHOWN Ricardo B. Marlière via ltp
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Ricardo B. Marlière via ltp @ 2025-08-29 21:01 UTC (permalink / raw)
  To: Linux Test Project; +Cc: Ricardo B. Marlière

Signed-off-by: Ricardo B. Marlière <rbm@suse.com>
---
Changes in v5:
- lchown01: recover original test intent
- lchown02: simplified test description info print
- Link to v4: https://lore.kernel.org/r/20250828-conversions-lchown-v4-0-60dd9a0145f3@suse.com

Changes in v4:
- Merged lchown03 into lchown02
- Link to v3: https://lore.kernel.org/r/20250825-conversions-lchown-v3-0-2d261b3de236@suse.com

Changes in v3:
- Properly used buffer guards
- Rebased
- Link to v2: https://lore.kernel.org/r/20250806-conversions-lchown-v2-0-345590fefaae@suse.com

Changes in v2:
- Join test_case_t structs and arrays definitions
- Simplify overall by removing unneeded comments
- Use octal permission modes
- Use SAFE_TOUCH when possible
- lchown01: Removed unneeded use of geteuid() and getegid()
- lchown02: Merged all setup into a single function
- lchown03: Added test descriptions and used snprintf() instead of strcpy()
- Link to v1: https://lore.kernel.org/r/20250702-conversions-lchown-v1-0-ac7adb3af51d@suse.com

---
Ricardo B. Marlière (4):
      lib: Add SAFE_LCHOWN
      syscalls: lchown01: Convert to new API
      syscalls: lchown02: Convert to new API
      syscalls: lchown03: Merge into lchown02

 include/safe_macros_fn.h                    |   3 +
 include/tst_safe_macros.h                   |   3 +
 lib/safe_macros.c                           |  19 ++
 runtest/syscalls                            |   2 -
 testcases/kernel/syscalls/lchown/.gitignore |   2 -
 testcases/kernel/syscalls/lchown/Makefile   |   5 -
 testcases/kernel/syscalls/lchown/lchown01.c | 195 ++++-----------
 testcases/kernel/syscalls/lchown/lchown02.c | 357 +++++++---------------------
 testcases/kernel/syscalls/lchown/lchown03.c | 153 ------------
 9 files changed, 160 insertions(+), 579 deletions(-)
---
base-commit: f8c7b6c22db90db8e62d59cb869f6d622d45003f
change-id: 20250702-conversions-lchown-8dbc583f10b8

Best regards,
-- 
Ricardo B. Marlière <rbm@suse.com>


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-09-10 22:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-29 21:01 [LTP] [PATCH v5 0/4] syscalls: lchown: Convert to new API Ricardo B. Marlière via ltp
2025-08-29 21:02 ` [LTP] [PATCH v5 1/4] lib: Add SAFE_LCHOWN Ricardo B. Marlière via ltp
2025-08-29 21:02 ` [LTP] [PATCH v5 2/4] syscalls: lchown01: Convert to new API Ricardo B. Marlière via ltp
2025-09-02 13:41   ` Cyril Hrubis
2025-08-29 21:02 ` [LTP] [PATCH v5 3/4] syscalls: lchown02: " Ricardo B. Marlière via ltp
2025-09-02 14:20   ` Cyril Hrubis
2025-08-29 21:02 ` [LTP] [PATCH v5 4/4] syscalls: lchown03: Merge into lchown02 Ricardo B. Marlière via ltp
2025-09-02 14:27   ` Cyril Hrubis
2025-09-09 14:48     ` Ricardo B. Marlière via ltp
2025-09-10 15:51       ` Cyril Hrubis
2025-09-10 16:26         ` Cyril Hrubis
2025-09-10 22:16           ` Ricardo B. Marlière via ltp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.