diff options
author | Ian Rogers <irogers@google.com> | 2024-10-25 22:54:48 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2024-10-28 13:04:52 -0300 |
commit | a5384c426744ebe41dafc6e5fa3acecc05e43462 (patch) | |
tree | 7080767d1c239f12a0d8dea9abdc07e9b59d7b6c /rust/exports.c | |
parent | 55f1b540d893da740a81200450014c45a8103f54 (diff) | |
download | linux-a5384c426744ebe41dafc6e5fa3acecc05e43462.tar.gz linux-a5384c426744ebe41dafc6e5fa3acecc05e43462.tar.bz2 linux-a5384c426744ebe41dafc6e5fa3acecc05e43462.zip |
perf cap: Add __NR_capget to arch/x86 unistd
As there are duplicated kernel headers in tools/include libc can pick
up the wrong definitions. This was causing the wrong system call for
capget in perf.
Reported-by: Adrian Hunter <adrian.hunter@intel.com>
Fixes: e25ebda78e230283 ("perf cap: Tidy up and improve capability testing")
Closes: https://lore.kernel.org/lkml/cc7d6bdf-1aeb-4179-9029-4baf50b59342@intel.com/
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20241026055448.312247-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'rust/exports.c')
0 files changed, 0 insertions, 0 deletions