Skip to content

Commit dbd7ad9

Browse files
fullzer4JohnTitor
authored andcommitted
aarch64: add missing SYS_sendfile and SYS_fadvise64 constants
1 parent 61b9c27 commit dbd7ad9

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

libc-test/semver/linux-aarch64.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ SKF_NET_OFF
7676
SO_PRIORITY
7777
SO_PROTOCOL
7878
SYS_accept
79+
SYS_fadvise64
7980
SYS_fstat
8081
SYS_msgctl
8182
SYS_msgget
@@ -90,6 +91,7 @@ SYS_semctl
9091
SYS_semget
9192
SYS_semop
9293
SYS_semtimedop
94+
SYS_sendfile
9395
SYS_setrlimit
9496
SYS_shmat
9597
SYS_shmctl

src/unix/linux_like/linux/gnu/b64/aarch64/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -712,6 +712,7 @@ pub const SYS_pread64: c_long = 67;
712712
pub const SYS_pwrite64: c_long = 68;
713713
pub const SYS_preadv: c_long = 69;
714714
pub const SYS_pwritev: c_long = 70;
715+
pub const SYS_sendfile: c_long = 71;
715716
pub const SYS_pselect6: c_long = 72;
716717
pub const SYS_ppoll: c_long = 73;
717718
pub const SYS_signalfd4: c_long = 74;
@@ -863,6 +864,7 @@ pub const SYS_keyctl: c_long = 219;
863864
pub const SYS_clone: c_long = 220;
864865
pub const SYS_execve: c_long = 221;
865866
pub const SYS_mmap: c_long = 222;
867+
pub const SYS_fadvise64: c_long = 223;
866868
pub const SYS_swapon: c_long = 224;
867869
pub const SYS_swapoff: c_long = 225;
868870
pub const SYS_mprotect: c_long = 226;

src/unix/linux_like/linux/musl/b64/aarch64/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ pub const SYS_pread64: c_long = 67;
388388
pub const SYS_pwrite64: c_long = 68;
389389
pub const SYS_preadv: c_long = 69;
390390
pub const SYS_pwritev: c_long = 70;
391+
pub const SYS_sendfile: c_long = 71;
391392
pub const SYS_pselect6: c_long = 72;
392393
pub const SYS_ppoll: c_long = 73;
393394
pub const SYS_signalfd4: c_long = 74;
@@ -539,6 +540,7 @@ pub const SYS_keyctl: c_long = 219;
539540
pub const SYS_clone: c_long = 220;
540541
pub const SYS_execve: c_long = 221;
541542
pub const SYS_mmap: c_long = 222;
543+
pub const SYS_fadvise64: c_long = 223;
542544
pub const SYS_swapon: c_long = 224;
543545
pub const SYS_swapoff: c_long = 225;
544546
pub const SYS_mprotect: c_long = 226;

0 commit comments

Comments
 (0)