git: a3d1d4e88ae7 - main - arm64 linux: Allow FUTEX_REQUEUE on arm64 by setting the brand flag

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sat, 24 Oct 2026 02:31:06 UTC
The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=a3d1d4e88ae7435cfc32a886999dcde2173839cd

commit a3d1d4e88ae7435cfc32a886999dcde2173839cd
Author:     Joy <amutu@amutu.com>
AuthorDate: 2026-10-24 02:28:42 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-10-24 02:28:42 +0000

    arm64 linux: Allow FUTEX_REQUEUE on arm64 by setting the brand flag
    
    Better change is to provide the dedicated musl brandinfo, as it is done
    on amd64/i386, which should be done later.
    
    PR:     299836
    MFC after:      1 week
---
 sys/arm64/linux/linux_sysvec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/arm64/linux/linux_sysvec.c b/sys/arm64/linux/linux_sysvec.c
index c1589c764d45..b61eb6534d75 100644
--- a/sys/arm64/linux/linux_sysvec.c
+++ b/sys/arm64/linux/linux_sysvec.c
@@ -600,7 +600,8 @@ static const Elf64_Brandinfo linux_glibc2brand = {
 	.sysvec		= &elf_linux_sysvec,
 	.interp_newpath	= NULL,
 	.brand_note	= &linux64_brandnote,
-	.flags		= BI_CAN_EXEC_DYN | BI_BRAND_NOTE
+	.flags		= BI_CAN_EXEC_DYN | BI_BRAND_NOTE |
+	    LINUX_BI_FUTEX_REQUEUE,
 };
 
 const Elf64_Brandinfo *linux_brandlist[] = {