All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 0/2] shmctl03 fix on 32bit compat mode
@ 2026-09-18 12:50 Petr Vorel
  2026-09-18 12:50 ` [LTP] [PATCH 1/2] tst_assert: Use 'long long' to fix 32bit compat mode truncation Petr Vorel
  2026-09-18 12:50 ` [LTP] [PATCH 2/2] shmctl03: Fix shmmax clamped to INT_MAX in 32bit compat mode Petr Vorel
  0 siblings, 2 replies; 7+ messages in thread
From: Petr Vorel @ 2026-09-18 12:50 UTC (permalink / raw)
  To: ltp

Hi all,

this is yet another attempt to fix shmctl03 on 32 bit compat mode,
alternative to Wei's suggestion [1]. We should merge one of these.

Code suggested by Andrea, I turn it into 2 commits.
Based on the fact that general code was needed only for shmctl03, adding
extra enums is probably not worth.

Kind regards,
Petr

[1] https://patchwork.kernel.org/project/ltp/list/?series=1156943&state=*

Andrea Cervesato (2):
  tst_assert: Use 'long long' to fix 32bit compat mode truncation
  shmctl03: Fix shmmax clamped to INT_MAX in 32bit compat mode

 lib/tst_assert.c                            | 9 +++++----
 testcases/kernel/syscalls/shmctl/shmctl03.c | 6 +++++-
 2 files changed, 10 insertions(+), 5 deletions(-)

-- 
2.55.0


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

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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-18 12:50 [LTP] [PATCH 0/2] shmctl03 fix on 32bit compat mode Petr Vorel
2026-09-18 12:50 ` [LTP] [PATCH 1/2] tst_assert: Use 'long long' to fix 32bit compat mode truncation Petr Vorel
2026-09-18 17:06   ` [LTP] " linuxtestproject.agent
2026-09-22  7:35     ` Petr Vorel
2026-09-18 12:50 ` [LTP] [PATCH 2/2] shmctl03: Fix shmmax clamped to INT_MAX in 32bit compat mode Petr Vorel
2026-09-23 11:11   ` Cyril Hrubis
2026-09-24 11:03     ` Petr Vorel

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.