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] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 25 Nov 2021 10:07:23 +1100
From:   Michael Ellerman <mpe@...erman.id.au>
To:     André Almeida <andrealmeid@...labora.com>,
        linux-kernel@...r.kernel.org, arnd@...db.de, geert@...ux-m68k.org,
        monstr@...str.eu, ysato@...rs.sourceforge.jp, dalias@...c.org,
        davem@...emloft.net, chris@...kel.net, jcmvbkbc@...il.com,
        linux-alpha@...r.kernel.org, linux-ia64@...r.kernel.org,
        linux-m68k@...ts.linux-m68k.org, linuxppc-dev@...ts.ozlabs.org,
        linux-sh@...r.kernel.org, sparclinux@...r.kernel.org,
        linux-xtensa@...ux-xtensa.org
Cc:     akpm@...ux-foundation.org, andrealmeid@...labora.com,
        bigeasy@...utronix.de, boqun.feng@...il.com,
        linux-next@...r.kernel.org, lkft-triage@...ts.linaro.org,
        longman@...hat.com, minchan@...nel.org, mingo@...hat.com,
        naresh.kamboju@...aro.org, peterz@...radead.org, rob@...dley.net,
        senozhatsky@...omium.org, sfr@...b.auug.org.au,
        umgwanakikbuti@...il.com, will@...nel.org
Subject: Re: [PATCH 1/1] futex: Wireup futex_waitv syscall

André Almeida <andrealmeid@...labora.com> writes:
> diff --git a/arch/powerpc/kernel/syscalls/syscall.tbl b/arch/powerpc/kernel/syscalls/syscall.tbl
> index 7bef917cc84e..15109af9d075 100644
> --- a/arch/powerpc/kernel/syscalls/syscall.tbl
> +++ b/arch/powerpc/kernel/syscalls/syscall.tbl
> @@ -528,3 +528,4 @@
>  446	common	landlock_restrict_self		sys_landlock_restrict_self
>  # 447 reserved for memfd_secret
>  448	common	process_mrelease		sys_process_mrelease
> +449	common  futex_waitv                     sys_futex_waitv

Tested-by: Michael Ellerman <mpe@...erman.id.au> (powerpc)

The selftest doesn't build with old headers, I needed this:

diff --git a/tools/testing/selftests/futex/include/futex2test.h b/tools/testing/selftests/futex/include/futex2test.h
index 9d305520e849..e6422321e9d0 100644
--- a/tools/testing/selftests/futex/include/futex2test.h
+++ b/tools/testing/selftests/futex/include/futex2test.h
@@ -8,6 +8,10 @@

 #define u64_to_ptr(x) ((void *)(uintptr_t)(x))

+#ifndef __NR_futex_waitv
+#define __NR_futex_waitv 449
+#endif
+
 /**
  * futex_waitv - Wait at multiple futexes, wake on any
  * @waiters:    Array of waiters


cheers

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ