From 223b773e038b7af6ee1dec1c69836c135049d1ba Mon Sep 17 00:00:00 2001 From: Robin Voetter Date: Thu, 29 Aug 2019 00:54:57 +0200 Subject: [PATCH] Add more syscall constants --- std/os/bits/linux/arm-eabi.zig | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/std/os/bits/linux/arm-eabi.zig b/std/os/bits/linux/arm-eabi.zig index ea4c452eb6..956e40a2ce 100644 --- a/std/os/bits/linux/arm-eabi.zig +++ b/std/os/bits/linux/arm-eabi.zig @@ -231,6 +231,7 @@ pub const SYS_statfs64 = 266; pub const SYS_fstatfs64 = 267; pub const SYS_tgkill = 268; pub const SYS_utimes = 269; +pub const SYS_fadvise64_64 = 270; pub const SYS_arm_fadvise64_64 = 270; pub const SYS_pciconfig_iobase = 271; pub const SYS_pciconfig_read = 272; @@ -302,6 +303,7 @@ pub const SYS_unshare = 337; pub const SYS_set_robust_list = 338; pub const SYS_get_robust_list = 339; pub const SYS_splice = 340; +pub const SYS_sync_file_range2 = 341; pub const SYS_arm_sync_file_range = 341; pub const SYS_tee = 342; pub const SYS_vmsplice = 343; @@ -361,6 +363,39 @@ pub const SYS_pkey_free = 396; pub const SYS_statx = 397; pub const SYS_rseq = 398; pub const SYS_io_pgetevents = 399; +pub const SYS_migrate_pages = 400; +pub const SYS_kexec_file_load = 401; +pub const SYS_clock_gettime64 = 403; +pub const SYS_clock_settime64 = 404; +pub const SYS_clock_adjtime64 = 405; +pub const SYS_clock_getres_time64 = 406; +pub const SYS_clock_nanosleep_time64 = 407; +pub const SYS_timer_gettime64 = 408; +pub const SYS_timer_settime64 = 409; +pub const SYS_timerfd_gettime64 = 410; +pub const SYS_timerfd_settime64 = 411; +pub const SYS_utimensat_time64 = 412; +pub const SYS_pselect6_time64 = 413; +pub const SYS_ppoll_time64 = 414; +pub const SYS_io_pgetevents_time64 = 416; +pub const SYS_recvmmsg_time64 = 417; +pub const SYS_mq_timedsend_time64 = 418; +pub const SYS_mq_timedreceive_time64 = 419; +pub const SYS_semtimedop_time64 = 420; +pub const SYS_rt_sigtimedwait_time64 = 421; +pub const SYS_futex_time64 = 422; +pub const SYS_sched_rr_get_interval_time64 = 423; +pub const SYS_pidfd_send_signal = 424; +pub const SYS_io_uring_setup = 425; +pub const SYS_io_uring_enter = 426; +pub const SYS_io_uring_register = 427; + +pub const SYS_breakpoint = 0x0f0001; +pub const SYS_cacheflush = 0x0f0002; +pub const SYS_usr26 = 0x0f0003; +pub const SYS_usr32 = 0x0f0004; +pub const SYS_set_tls = 0x0f0005; +pub const SYS_get_tls = 0x0f0006; pub const O_CREAT = 0o100; pub const O_EXCL = 0o200;