]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
seccomp: passthrough uprobe systemcall without filtering
authorJiri Olsa <jolsa@kernel.org>
Sun, 20 Jul 2025 11:21:30 +0000 (13:21 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 21 Aug 2025 18:09:26 +0000 (20:09 +0200)
commit89d1d8434d246c96309a6068dfcf9e36dc61227b
tree515d8a5a7e318e175da9bea303df04f0e85daaef
parent52718438af2ac8323aeea41b6f59da0962cb73b6
seccomp: passthrough uprobe systemcall without filtering

Adding uprobe as another exception to the seccomp filter alongside
with the uretprobe syscall.

Same as the uretprobe the uprobe syscall is installed by kernel as
replacement for the breakpoint exception and is limited to x86_64
arch and isn't expected to ever be supported in i386.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20250720112133.244369-21-jolsa@kernel.org
kernel/seccomp.c