Skip to content

Use documented unassigned syscall numbers in tests - #15458

Merged
copybara-service[bot] merged 2 commits into
masterfrom
test/cl995243474
Oct 8, 2026
Merged

copybara-service[bot] merged 2 commits into
masterfrom
test/cl995243474

Conversation

@copybara-service

Copy link
Copy Markdown

Use documented unassigned syscall numbers in tests

Make the bad-syscall and seccomp tests build when ARM64 headers do not define __NR_arch_specific_syscall. ARM64 switched to generated syscall headers in 1; use the documented reserved slots instead of that marker.

Preserve the ARM64 choice and select an unassigned RISC-V slot, avoiding its now-implemented riscv_hwprobe syscall in the ENOSYS test.

Assisted-by: Codex

FUTURE_COPYBARA_INTEGRATE_REVIEW=#15373 from tamird:syscall-reserved-slots 6b486ed

Make the bad-syscall and seccomp tests build when ARM64 headers do not
define __NR_arch_specific_syscall. ARM64 switched to generated syscall
headers in [1]; use the documented reserved slots instead of that marker.

Preserve the ARM64 choice and select an unassigned RISC-V slot, avoiding
its now-implemented riscv_hwprobe syscall in the ENOSYS test.

[1]: torvalds/linux@e632bca07

Assisted-by: Codex
@copybara-service copybara-service Bot added the exported Issue was exported automatically label Oct 7, 2026
@copybara-service
copybara-service Bot force-pushed the test/cl995243474 branch 2 times, most recently from d44326f to be68fa9 Compare October 7, 2026 21:19
@copybara-service
copybara-service Bot requested a review from relkochta as a code owner October 7, 2026 21:19
@copybara-service
copybara-service Bot merged commit 8ffe2d9 into master Oct 8, 2026
7 of 10 checks passed
@copybara-service
copybara-service Bot deleted the test/cl995243474 branch October 8, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants