[LTP] [PATCH 0/2] shmctl03 fix on 32bit compat mode
Petr Vorel
pvorel@suse.cz
Fri Sep 18 14:50:19 CEST 2026
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
More information about the ltp
mailing list