lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 11 May 2022 11:27:26 -0700
From:   Daniel Latypov <>
To:     Kees Cook <>
Cc:     Nick Desaulniers <>,
        kernel test robot <>,
        Rasmus Villemoes <>,
        Vitor Massaru Iha <>,
        "Gustavo A. R. Silva" <>,,
Subject: Re: [PATCH] lib: overflow: Always build 64-bit test cases

On Wed, May 11, 2022 at 10:45 AM Kees Cook <> wrote:
> There shouldn't be a reason to not build the 64-bit test cases on 32-bit
> systems; the types exist there too. Remove the #ifdefs.
> Reported-by: kernel test robot <>
> Link:
> Fixes: 455a35a6cdb6 ("lib: add runtime test of check_*_overflow functions")
> Cc: Rasmus Villemoes <>
> Cc: Vitor Massaru Iha <>
> Cc: "Gustavo A. R. Silva" <>
> Cc: Daniel Latypov <>
> Signed-off-by: Kees Cook <>

Tested-by: Daniel Latypov <>

Makes sense and looks good to me, I was able to run it via
$ ./tools/testing/kunit/ run --arch=i386
--build_dir=kunit_i386/ overflow

Raw output was:
    # u64_overflow_test: 17 u64 arithmetic tests finished
    ok 7 - u64_overflow_test
    # s64_overflow_test: 21 s64 arithmetic tests finished
    ok 8 - s64_overflow_test

Powered by blists - more mailing lists