Re: [patch 10/18] entry: Use syscall number instead of rereading it

From: Philippe Mathieu-Daudé

Date: Thu Jul 09 2026 - 07:36:51 EST


On 9/7/26 13:20, Philippe Mathieu-Daudé wrote:
On 7/7/26 21:06, Thomas Gleixner wrote:
rseq_syscall_enter_work() is invoked before the syscall number can be
modified. So there is no point in rereading it from pt_regs.

Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxx>
---
  include/linux/entry-common.h |    9 +++++----
  1 file changed, 5 insertions(+), 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxxxxxxxx>