Skip to content

Commit a75f934

Browse files
committed
Add missing syscall numbers for aarch64-musl
1 parent eb079df commit a75f934

File tree

1 file changed

+5
-1
lines changed
  • src/unix/linux_like/linux/musl/b64/aarch64

1 file changed

+5
-1
lines changed

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ pub const MAP_POPULATE: ::c_int = 0x08000;
170170
pub const MAP_NONBLOCK: ::c_int = 0x010000;
171171
pub const MAP_STACK: ::c_int = 0x020000;
172172
pub const MAP_HUGETLB: ::c_int = 0x040000;
173-
pub const MAP_SYNC : ::c_int = 0x080000;
173+
pub const MAP_SYNC: ::c_int = 0x080000;
174174

175175
pub const SOCK_STREAM: ::c_int = 1;
176176
pub const SOCK_DGRAM: ::c_int = 2;
@@ -284,6 +284,10 @@ pub const SYS_umount2: ::c_long = 39;
284284
pub const SYS_mount: ::c_long = 40;
285285
pub const SYS_pivot_root: ::c_long = 41;
286286
pub const SYS_nfsservctl: ::c_long = 42;
287+
pub const SYS_statfs: ::c_long = 43;
288+
pub const SYS_fstatfs: ::c_long = 44;
289+
pub const SYS_truncate: ::c_long = 45;
290+
pub const SYS_ftruncate: ::c_long = 46;
287291
pub const SYS_fallocate: ::c_long = 47;
288292
pub const SYS_faccessat: ::c_long = 48;
289293
pub const SYS_chdir: ::c_long = 49;

0 commit comments

Comments
 (0)