https://bugs.kde.org/show_bug.cgi?id=506967

--- Comment #2 from [email protected] ---
Created attachment 183301
  --> https://bugs.kde.org/attachment.cgi?id=183301&action=edit
WIP patch

I've attempted to model mallinfo2() after mallinfo().  My attached WIP patch
does compile fine.  But running the following test:

> $ ./vg-in-place 
> ./auxprogs/auxchecks/ltp-full-20250530/testcases/kernel/syscalls/mallinfo2/mallinfo2_01
>   |& fgrep overflow
> mallinfo2_01.c:35: TFAIL: hblkhd member of struct mallinfo2 overflow?
> $

Makes me think that the new override function mallinfo2() still somehow isn't
properly wired in.

Without valgrind, the testcase does pass:

> $ 
> ./auxprogs/auxchecks/ltp-full-20250530/testcases/kernel/syscalls/mallinfo2/mallinfo2_01
>  
> tst_test.c:1953: TINFO: LTP version: VALGRIND_3_25_0-117-gbd1e857cd
> tst_test.c:1956: TINFO: Tested kernel: 6.12.11-200.fc41.x86_64 #1 SMP 
> PREEMPT_DYNAMIC Fri Jan 24 04:59:58 UTC 2025 x86_64
> tst_kconfig.c:88: TINFO: Parsing kernel config 
> '/lib/modules/6.12.11-200.fc41.x86_64/config'
> tst_test.c:1774: TINFO: Overall timeout per run is 0h 00m 30s
> mallinfo2_01.c:37: TPASS: hblkhd member of struct mallinfo2 doesn't overflow
>
> Summary:
> passed   1
> failed   0
> broken   0
> skipped  0
> warnings 0
> $

Any thoughts?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to