kernel: take into account that trace_sys_enter can change a syscall number
The gVisor XEMU module depends on this b behaviour.
BUG=b/183648601
TEST=presubmit
SOURCE=GVISOR(8dc70b01a9096ea6a6e09f309749f6322519bd7f)
RELEASE_NOTE=None
Fixes: b6ec413461034 ("core/entry: Report syscall correctly for trace and audit")
Signed-off-by: Andrei Vagin <avagin@google.com>
Change-Id: Ie1d78f15db492636071bfa06812bee2c0ea9f751
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/17931
Reviewed-by: Bhasker Hariharan <bhaskerh@google.com>
Reviewed-by: Oleksandr Tymoshenko <ovt@google.com>
Tested-by: Oleksandr Tymoshenko <ovt@google.com>
(cherry picked from commit 8dc70b01a9096ea6a6e09f309749f6322519bd7f)
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/17175
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
1 file changed