summaryrefslogtreecommitdiffstats
path: root/tools/include
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2021-02-16 15:52:16 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-02-16 15:52:16 +0100
commitc1bd8a2b9fbc304995fb03356f878579e50d3dd8 (patch)
treec5599739225f20c52f56c189bed786d68de64368 /tools/include
parentperf arm-spe: Set sample's data source field (diff)
parentperf probe: Fix kretprobe issue caused by GCC bug (diff)
downloadlinux-c1bd8a2b9fbc304995fb03356f878579e50d3dd8.tar.xz
linux-c1bd8a2b9fbc304995fb03356f878579e50d3dd8.zip
Merge branch 'perf/urgent' into perf/core
To get some fixes that didn't made into 5.11. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/include')
-rw-r--r--tools/include/uapi/linux/prctl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/prctl.h b/tools/include/uapi/linux/prctl.h
index 90deb41c8a34..667f1aed091c 100644
--- a/tools/include/uapi/linux/prctl.h
+++ b/tools/include/uapi/linux/prctl.h
@@ -251,5 +251,8 @@ struct prctl_mm_map {
#define PR_SET_SYSCALL_USER_DISPATCH 59
# define PR_SYS_DISPATCH_OFF 0
# define PR_SYS_DISPATCH_ON 1
+/* The control values for the user space selector when dispatch is enabled */
+# define SYSCALL_DISPATCH_FILTER_ALLOW 0
+# define SYSCALL_DISPATCH_FILTER_BLOCK 1
#endif /* _LINUX_PRCTL_H */