[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <246f6f89-78f7-4b47-8260-8d2e3c9e0f0a@kernel.org>
Date: Tue, 17 Oct 2023 10:24:26 +0200
From: Jiri Slaby <jirislaby@...nel.org>
To: Andrei Vagin <avagin@...gle.com>,
Kees Cook <keescook@...omium.org>,
Peter Zijlstra <peterz@...radead.org>
Cc: linux-kernel@...r.kernel.org,
Christian Brauner <brauner@...nel.org>,
Chen Yu <yu.c.chen@...el.com>, avagin@...il.com,
Andy Lutomirski <luto@...capital.net>,
Dietmar Eggemann <dietmar.eggemann@....com>,
Ingo Molnar <mingo@...hat.com>,
Juri Lelli <juri.lelli@...hat.com>,
Peter Oskolkov <posk@...gle.com>,
Tycho Andersen <tycho@...ho.pizza>,
Will Drewry <wad@...omium.org>,
Vincent Guittot <vincent.guittot@...aro.org>
Subject: Re: [PATCH 6/6] perf/benchmark: add a new benchmark for
seccom_unotify
On 08. 03. 23, 8:32, Andrei Vagin wrote:
> --- a/tools/arch/x86/include/uapi/asm/unistd_32.h
> +++ b/tools/arch/x86/include/uapi/asm/unistd_32.h
> @@ -23,3 +23,6 @@
> #ifndef __NR_setns
> #define __NR_setns 346
> #endif
> +#ifdef __NR_seccomp
Ouch. s/ifdef/ifndef/
bench/sched-seccomp-notify.c:46:24: error: '__NR_seccomp' undeclared
Will send a fix.
> +#define __NR_seccomp 354
> +#endif
> diff --git a/tools/arch/x86/include/uapi/asm/unistd_64.h b/tools/arch/x86/include/uapi/asm/unistd_64.h
> index a6f7fe84d4df..e0549617f9d7 100644
> --- a/tools/arch/x86/include/uapi/asm/unistd_64.h
> +++ b/tools/arch/x86/include/uapi/asm/unistd_64.h
> @@ -23,3 +23,6 @@
> #ifndef __NR_getcpu
> #define __NR_getcpu 309
> #endif
> +#ifndef __NR_seccomp
This one is good...
--
js
suse labs
Powered by blists - more mailing lists