summaryrefslogtreecommitdiff
path: root/src/sys/syscall.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/syscall.rs')
-rw-r--r--src/sys/syscall.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sys/syscall.rs b/src/sys/syscall.rs
index c80defa2..f3ec60e0 100644
--- a/src/sys/syscall.rs
+++ b/src/sys/syscall.rs
@@ -24,6 +24,16 @@ mod arch {
pub static MEMFD_CREATE: Syscall = 356;
}
+#[cfg(target_arch = "aarch64")]
+mod arch {
+ use libc::c_long;
+
+ pub type Syscall = c_long;
+
+ pub static SYSPIVOTROOT: Syscall = 41;
+ pub static MEMFD_CREATE: Syscall = 279;
+}
+
#[cfg(target_arch = "arm")]
mod arch {
use libc::c_long;