Skip to content

Commit 63ded11

Browse files
olsajirimhiramat
authored andcommitted
uprobe: Change uretprobe syscall scope and number
After discussing with Arnd [1] it's preferable to change uretprobe syscall number to 467 to omit the merge conflict with xattrat syscalls. Also changing the ABI to 'common' which will ease up the global scripts/syscall.tbl management. One consequence is we generate uretprobe syscall numbers for ABIs that do not support uretprobe syscall, but the syscall still returns -ENOSYS when called in that ABI. [1] https://lore.kernel.org/lkml/[email protected]/ Link: https://lore.kernel.org/all/[email protected]/ Fixes: 190fec7 ("uprobe: Wire up uretprobe system call") Suggested-by: Arnd Bergmann <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Signed-off-by: Masami Hiramatsu (Google) <[email protected]>
1 parent b10545b commit 63ded11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/entry/syscalls/syscall_64.tbl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@
384384
460 common lsm_set_self_attr sys_lsm_set_self_attr
385385
461 common lsm_list_modules sys_lsm_list_modules
386386
462 common mseal sys_mseal
387-
463 64 uretprobe sys_uretprobe
387+
467 common uretprobe sys_uretprobe
388388

389389
#
390390
# Due to a historical design error, certain syscalls are numbered differently

0 commit comments

Comments
 (0)