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: <2f09184f-c7dc-45f4-a398-e1194ecf7a47@kernel.org>
Date:   Tue, 17 Oct 2023 10:30:57 +0200
From:   Jiri Slaby <jirislaby@...nel.org>
To:     keescook@...omium.org
Cc:     linux-kernel@...r.kernel.org, Andrei Vagin <avagin@...gle.com>,
        "Peter Zijlstra (Intel)" <peterz@...radead.org>
Subject: Re: [PATCH] perf/benchmark: fix seccom_unotify benchmark for 32-bit

Ignore this one, I mangled authorship.

On 17. 10. 23, 10:29, Jiri Slaby (SUSE) wrote:
> From: Andrei Vagin <avagin@...gle.com>
> 
> Commit 7d5cb68af638 (perf/benchmark: add a new benchmark for
> seccom_unotify) added a reference to __NR_seccomp into perf. This is
> fine as it added also a definition of __NR_seccomp for 64-bit. But it
> failed to do so for 32-bit as instead of ifndef, ifdef was used.
> 
> Fix this typo (so fix the build of perf on 32-bit).
> 
> Fixes: 7d5cb68af638 (perf/benchmark: add a new benchmark for seccom_unotify)
> Cc: Andrei Vagin <avagin@...gle.com>
> Cc: "Peter Zijlstra (Intel)" <peterz@...radead.org>
> Cc: Kees Cook <keescook@...omium.org>
> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@...nel.org>
> ---
>   tools/arch/x86/include/uapi/asm/unistd_32.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/arch/x86/include/uapi/asm/unistd_32.h b/tools/arch/x86/include/uapi/asm/unistd_32.h
> index 4798f9d18fe8..9de35df1afc3 100644
> --- a/tools/arch/x86/include/uapi/asm/unistd_32.h
> +++ b/tools/arch/x86/include/uapi/asm/unistd_32.h
> @@ -26,6 +26,6 @@
>   #ifndef __NR_setns
>   #define __NR_setns 346
>   #endif
> -#ifdef __NR_seccomp
> +#ifndef __NR_seccomp
>   #define __NR_seccomp 354
>   #endif

-- 
js
suse labs

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ