Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools headers UAPI: Sync linux/prctl.h with the kernel sources

To pick a new prctl introduced in:

36a6c843fd0d8e02 ("entry: Use different define for selector variable in SUD")

That don't result in any changes in tooling:

$ tools/perf/trace/beauty/prctl_option.sh > before
$ cp include/uapi/linux/prctl.h tools/include/uapi/linux/prctl.h
$ tools/perf/trace/beauty/prctl_option.sh > after
$ diff -u before after

Just silences this perf tools build warning:

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Gabriel Krisman Bertazi <krisman@collabora.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+3
+3
tools/include/uapi/linux/prctl.h
··· 251 251 #define PR_SET_SYSCALL_USER_DISPATCH 59 252 252 # define PR_SYS_DISPATCH_OFF 0 253 253 # define PR_SYS_DISPATCH_ON 1 254 + /* The control values for the user space selector when dispatch is enabled */ 255 + # define SYSCALL_DISPATCH_FILTER_ALLOW 0 256 + # define SYSCALL_DISPATCH_FILTER_BLOCK 1 254 257 255 258 #endif /* _LINUX_PRCTL_H */