Skip to content

Commit

Permalink
aarch64: Remove bogus arch_specific_syscall
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonwhite committed Oct 12, 2022
1 parent d831b19 commit 288d146
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/arch/aarch64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,6 @@ syscall_enum! {
accept4 = 242,
/// See [recvmmsg(2)](https://man7.org/linux/man-pages/man2/recvmmsg.2.html) for more info on this syscall.
recvmmsg = 243,
/// See [arch_specific_syscall(2)](https://man7.org/linux/man-pages/man2/arch_specific_syscall.2.html) for more info on this syscall.
arch_specific_syscall = 244,
/// See [wait4(2)](https://man7.org/linux/man-pages/man2/wait4.2.html) for more info on this syscall.
wait4 = 260,
/// See [prlimit64(2)](https://man7.org/linux/man-pages/man2/prlimit64.2.html) for more info on this syscall.
Expand Down
6 changes: 6 additions & 0 deletions syscalls-gen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,12 @@ impl<'a> Header<'a> {
continue;
}

if name == "arch_specific_syscall" {
// This is a placeholder for a block of 16 syscalls
// that are reserved for future use.
continue;
}

if self.blocklist.contains(&name) {
continue;
}
Expand Down

0 comments on commit 288d146

Please sign in to comment.