]> Git Repo - linux.git/commitdiff
uprobe: Change uretprobe syscall scope and number
authorJiri Olsa <[email protected]>
Fri, 12 Jul 2024 13:52:27 +0000 (15:52 +0200)
committerMasami Hiramatsu (Google) <[email protected]>
Mon, 15 Jul 2024 05:48:28 +0000 (14:48 +0900)
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/784a34e5-4654-44c9-9c07-f9f4ffd952a0@app.fastmail.com/

Link: https://lore.kernel.org/all/[email protected]/
Fixes: 190fec72df4a ("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]>
arch/x86/entry/syscalls/syscall_64.tbl

index 6452c2ec469aa9cb009d1bf2cdcaf8c8ab6e0982..dabf1982de6d4ef9ec394ccc3c7fa44605dcb0da 100644 (file)
 460    common  lsm_set_self_attr       sys_lsm_set_self_attr
 461    common  lsm_list_modules        sys_lsm_list_modules
 462    common  mseal                   sys_mseal
-463    64      uretprobe               sys_uretprobe
+467    common  uretprobe               sys_uretprobe
 
 #
 # Due to a historical design error, certain syscalls are numbered differently
This page took 0.054684 seconds and 4 git commands to generate.