Skip to content

Commit fc45e65

Browse files
committed
tools headers UAPI: Sync linux/prctl.h with the kernel sources
To pick the changes in: 9a10064 ("mm: add a field to store names for private anonymous memory") 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 $ This actually adds a new prctl arg, but it has to be dealt with differently, as it is not in sequence with the other arguments. Just silences this perf tools build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/prctl.h' differs from latest version at 'include/uapi/linux/prctl.h' diff -u tools/include/uapi/linux/prctl.h include/uapi/linux/prctl.h Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Colin Cross <ccross@google.com> Cc: Ian Rogers <irogers@google.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kees Cook <keescook@chromium.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Suren Baghdasaryan <surenb@google.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 1001983 commit fc45e65

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/include/uapi/linux/prctl.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,4 +272,7 @@ struct prctl_mm_map {
272272
# define PR_SCHED_CORE_SCOPE_THREAD_GROUP 1
273273
# define PR_SCHED_CORE_SCOPE_PROCESS_GROUP 2
274274

275+
#define PR_SET_VMA 0x53564d41
276+
# define PR_SET_VMA_ANON_NAME 0
277+
275278
#endif /* _LINUX_PRCTL_H */

0 commit comments

Comments
 (0)