]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 2 Nov 2025 13:15:20 +0000 (22:15 +0900)
commit1c0462f28bb770fc57c93eec23fd8f934c8bcd7b
tree3c21578cdadab7ccada5ee38f21afb55aabbd81e
parentd6c55b581ca723f777657823b0466d3544ff0c35
seccomp: passthrough uprobe systemcall without filtering

[ Upstream commit 89d1d8434d246c96309a6068dfcf9e36dc61227b ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/seccomp.c