All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH v5 0/3] syscalls/modify_ldt: Refactor into new API
@ 2025-03-31 17:43 Ricardo B. Marliere via ltp
  2025-03-31 17:43 ` [LTP] [PATCH v5 1/3] syscalls/modify_ldt: Add lapi/ldt.h Ricardo B. Marliere via ltp
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Ricardo B. Marliere via ltp @ 2025-03-31 17:43 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:
- Removed unnecessary #error
- Removed const specifier in cve-2015-3290.c
- Improved modify_ldt02 test description
- Added run_child() in modify_ldt02
- Removed unnecessary #include "lapi/ldt.h" in files that include common.h
- Extended coverage in modify_ldt01
- Link to v4: https://lore.kernel.org/r/20250328-conversions-modify_ldt-v4-0-a5ee7b8d82aa@suse.com

Changes in v4:
- Re-added the asm/ldt.h include directive
- Link to v3: https://lore.kernel.org/r/20250328-conversions-modify_ldt-v3-0-f6b6ee1c9144@suse.com

Changes in v3:
- Dropped the set_thread_area01 patch for a later series
- Squashed modify_ldt03 commit into modify_ldt01
- Renamed struct tst_case to tcase
- Removed fallback definition of struct user_desc
- Link to v2: https://lore.kernel.org/r/20250327-conversions-modify_ldt-v2-0-2907d4d3f6c0@suse.com

Changes in v2:
- Also refactored set_thread_area01
- Merged simple tests (including the existing modify_ldt03) into
modify_ldt01 instead of splitting it
- Added SAFE_MODIFY_LDT() macro
- Removed check to asm/ldt.h in configure.ac
- Used tst_syscall() instead of syscall() in modify_ldt() @ lapi/ldt.h
- Link to v1: https://lore.kernel.org/r/20250324-conversions-modify_ldt-v1-0-8d6d82f10768@suse.com

---
Ricardo B. Marlière (3):
      syscalls/modify_ldt: Add lapi/ldt.h
      syscalls/modify_ldt02: Refactor into new API
      syscalls/modify_ldt01: Refactor into new API

 configure.ac                                       |   1 -
 include/lapi/ldt.h                                 |  34 +++
 testcases/cve/cve-2015-3290.c                      |  37 +--
 testcases/cve/cve-2017-17053.c                     |  10 +-
 testcases/kernel/syscalls/fork/fork05.c            |   5 +-
 testcases/kernel/syscalls/modify_ldt/.gitignore    |   5 +-
 testcases/kernel/syscalls/modify_ldt/common.h      |  30 +++
 .../kernel/syscalls/modify_ldt/modify_ldt01.c      | 261 +++++----------------
 .../kernel/syscalls/modify_ldt/modify_ldt02.c      | 223 ++++--------------
 .../kernel/syscalls/modify_ldt/modify_ldt03.c      | 105 ---------
 10 files changed, 183 insertions(+), 528 deletions(-)
---
base-commit: 0a0a77c444b56483bdde5046feeb518c96f5e4a2
change-id: 20250324-conversions-modify_ldt-816329223f6e

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-04-01 13:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-31 17:43 [LTP] [PATCH v5 0/3] syscalls/modify_ldt: Refactor into new API Ricardo B. Marliere via ltp
2025-03-31 17:43 ` [LTP] [PATCH v5 1/3] syscalls/modify_ldt: Add lapi/ldt.h Ricardo B. Marliere via ltp
2025-04-01  8:48   ` Petr Vorel
2025-04-01  8:56     ` Andrea Cervesato via ltp
2025-04-01 10:21       ` Petr Vorel
2025-04-01 13:55     ` Ricardo B. Marli��re via ltp
2025-04-01 10:29   ` Petr Vorel
2025-04-01 10:45     ` Ricardo B. Marli��re via ltp
2025-03-31 17:43 ` [LTP] [PATCH v5 2/3] syscalls/modify_ldt02: Refactor into new API Ricardo B. Marliere via ltp
2025-03-31 17:43 ` [LTP] [PATCH v5 3/3] syscalls/modify_ldt01: " Ricardo B. Marliere via ltp
2025-03-31 17:55   ` Ricardo B. Marli��re via ltp
2025-03-31 17:58     ` 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.