lists.openwall.net   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  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87ldp1spcv.ffs@tglx>
Date: Sun, 06 Jul 2025 10:19:44 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Ben Zong-You Xie <ben717@...estech.com>
Cc: mingo@...hat.com, peterz@...radead.org, dvhart@...radead.org,
 dave@...olabs.net, andrealmeid@...lia.com, shuah@...nel.org,
 linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
 tim609@...estech.com, Ben Zong-You Xie <ben717@...estech.com>, Cynthia
 Huang <cynthia@...estech.com>
Subject: Re: [PATCH v2] selftests: futex: define SYS_futex on 32-bit
 architectures with 64-bit time_t

On Fri, Jun 27 2025 at 17:08, Ben Zong-You Xie wrote:

> glibc does not define SYS_futex for 32-bit architectures using 64-bit

Kinda. The kernel does not provide sys_futex() on 32-bit architectures,
which do not support 32-bit time representations. As a consequence glibc
obviously cannot define SYS_futex either.

> time_t e.g. riscv32, therefore this test fails to compile since it does not
> find SYS_futex in C library headers. Define SYS_futex as SYS_futex_time64
> in this situation to ensure successful compilation and compatibility.
>
> Signed-off-by: Cynthia Huang <cynthia@...estech.com>
> Signed-off-by: Ben Zong-You Xie <ben717@...estech.com>
> ---
> Changes since v1:
>   - Fix the SOB chain

Mostly.

If Cynthia authored the patch, then this still lacks a 'From: Cynthia...'
at the top of the change log so she can be identified as the
author. Otherwise tooling will attribute autorship to you.

Thanks,

        tglx

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ