Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [PATCH v3 0/2] shmctl03: Fix shmmax clamped to INT_MAX in 32bit compat mode
@ 2026-09-25  8:28 Petr Vorel
  2026-09-25  8:28 ` [LTP] [PATCH v3 1/2] " Petr Vorel
  2026-09-25  8:28 ` [LTP] [PATCH v3 2/2] shmctl03: Use test macros Petr Vorel
  0 siblings, 2 replies; 4+ messages in thread
From: Petr Vorel @ 2026-09-25  8:28 UTC (permalink / raw)
  To: ltp

Changes v2->v3:
* Drop first fix from Andrea:
  https://lore.kernel.org/ltp/20260924112514.2375626-2-pvorel@suse.cz/
  I'm no longer confident it's a good idea even if we document changed
  behavior. See my concern:
  https://lore.kernel.org/ltp/20260925080154.GC2387785@pevik/
  Maybe we should either handle this entirely in shmctl03.c as there is
  no other test which needs it.
* Use unsigned long instead of unsigned long long (no need for that big
  variable)
* Use correct macro TST_EXP_EQ_LU() (agent)
* Read shmmax only once (agent)
* TST_EXP_POSITIVE SAFE_SHMCTL() instead of safe_shmctl() (no TBROK
  instead of TFAIL in case of failure and it's probably slightly more
  readable)

Petr Vorel (2):
  shmctl03: Fix shmmax clamped to INT_MAX in 32bit compat mode
  shmctl03: Use test macros

 testcases/kernel/syscalls/shmctl/shmctl03.c | 24 ++++++++++-----------
 1 file changed, 12 insertions(+), 12 deletions(-)

-- 
2.55.0


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

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

end of thread, other threads:[~2026-09-25 11:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-25  8:28 [LTP] [PATCH v3 0/2] shmctl03: Fix shmmax clamped to INT_MAX in 32bit compat mode Petr Vorel
2026-09-25  8:28 ` [LTP] [PATCH v3 1/2] " Petr Vorel
2026-09-25 11:21   ` [LTP] " linuxtestproject.agent
2026-09-25  8:28 ` [LTP] [PATCH v3 2/2] shmctl03: Use test macros Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox