Re: [PATCH 18/23] tools headers UAPI: Sync sched.h with the kernel

From: Christian Brauner
Date: Tue Dec 03 2019 - 10:44:57 EST


On Tue, Dec 03, 2019 at 10:56:01AM -0300, Arnaldo Carvalho de Melo wrote:
> From: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> To get the changes in:
>
> 0acefef58451 ("Merge tag 'threads-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux")
> 49cb2fc42ce4 ("fork: extend clone3() to support setting a PID")
> fa729c4df558 ("clone3: validate stack arguments")
> b612e5df4587 ("clone3: add CLONE_CLEAR_SIGHAND")
>
> This file gets rebuilt, but no changes ensues:
>
> CC /tmp/build/perf/trace/beauty/clone.o
>
> This addresses this perf build warning:
>
> Warning: Kernel ABI header at 'tools/include/uapi/linux/sched.h' differs from latest version at 'include/uapi/linux/sched.h'
> diff -u tools/include/uapi/linux/sched.h include/uapi/linux/sched.
>
> The CLONE_CLEAR_SIGHAND one will be used in tools/perf/trace/beauty/clone.c
> in a followup patch to show that string when this bit is set in the
> syscall arg. Keeping a copy of this file allows us to build this in
> older systems and have the binary support printing that flag whenever
> that system gets its kernel updated to one where this feature is
> present.
>
> Cc: Adrian Hunter <adrian.hunter@xxxxxxxxx>
> Cc: Adrian Reber <areber@xxxxxxxxxx>
> Cc: Christian Brauner <christian.brauner@xxxxxxxxxx>
> Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
> Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
> Link: https://lkml.kernel.org/n/tip-nprqsvvzbhzoy64cbvos6c5b@xxxxxxxxxxxxxx
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

Thanks!
Acked-by: Christian Brauner <christian.brauner@xxxxxxxxxx>