Skip to content

Conversation

laomaiweng
Copy link
Contributor

See issue #128.

This PR adds support for ARM private syscalls in update-tables.sh:

  • __ARM_NR_breakpoint
  • __ARM_NR_cacheflush
  • __ARM_NR_usr26
  • __ARM_NR_usr32
  • __ARM_NR_set_tls
  • __ARM_NR_get_tls

ARM is the only arch with a different format of syscall numbers that I know of.

I didn't commit the updated tables for 6.15.0-rc1, because for some reason when I regenerate them, all the syscall numbers for arch x32 change. (This happens even when I regenerate from a fresh master clone so it's not related to the changes in this branch.)

@hrw
Copy link
Owner

hrw commented Aug 1, 2025

You need to have x32 development headers available.

@laomaiweng
Copy link
Contributor Author

Ok thanks, it works indeed. I just regenerated and pushed the syscalls data for a 6.15.0-rc1 kernel.

@hrw
Copy link
Owner

hrw commented Aug 19, 2025

As I rebase rather than merge - can you rewrite commit message using description of this PR as commit message?

@laomaiweng
Copy link
Contributor Author

Ok, do you want me to squash the 2 commits together too?

@hrw
Copy link
Owner

hrw commented Aug 22, 2025

No. Those commits are separate things.

See issue hrw#128 / PR hrw#129.

This commit adds support for ARM private syscalls in *update-tables.sh*:

* `__ARM_NR_breakpoint`
* `__ARM_NR_cacheflush`
* `__ARM_NR_usr26`
* `__ARM_NR_usr32`
* `__ARM_NR_set_tls`
* `__ARM_NR_get_tls`

ARM is the only arch with a different format of syscall numbers that I know of.
@laomaiweng laomaiweng force-pushed the feature/private-syscalls branch from 06df7e2 to 85413c1 Compare August 22, 2025 13:44
@laomaiweng
Copy link
Contributor Author

Rewrote the commit message, let me know if that's what you had in mind.

@hrw hrw merged commit 4af8cfc into hrw:master Aug 25, 2025
hrw pushed a commit that referenced this pull request Aug 25, 2025
See issue #128 / PR #129.

This commit adds support for ARM private syscalls in *update-tables.sh*:

* `__ARM_NR_breakpoint`
* `__ARM_NR_cacheflush`
* `__ARM_NR_usr26`
* `__ARM_NR_usr32`
* `__ARM_NR_set_tls`
* `__ARM_NR_get_tls`

ARM is the only arch with a different format of syscall numbers that I know of.
@hrw
Copy link
Owner

hrw commented Aug 25, 2025

Thanks for your contribution.

@laomaiweng laomaiweng deleted the feature/private-syscalls branch August 25, 2025 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants