authorgravatar for robin@voetter.nlRobin Voetter <robin@voetter.nl> 2019-08-29 00:54:57+02:00
committergravatar for robin@voetter.nlRobin Voetter <robin@voetter.nl> 2019-08-29 00:54:57+02:00
log223b773e038b7af6ee1dec1c69836c135049d1ba
tree88c974392c87c6d92ffb06f34d4baf1bc32d16b9
parent50c37c75d1208bb8a0bf5b2792e4a1d69d6f7110

Add more syscall constants


1 files changed, 35 insertions(+), 0 deletions(-)

std/os/bits/linux/arm-eabi.zig+35
......@@ -231,6 +231,7 @@ pub const SYS_statfs64 = 266;
231231pub const SYS_fstatfs64 = 267;
232232pub const SYS_tgkill = 268;
233233pub const SYS_utimes = 269;
234pub const SYS_fadvise64_64 = 270;
234235pub const SYS_arm_fadvise64_64 = 270;
235236pub const SYS_pciconfig_iobase = 271;
236237pub const SYS_pciconfig_read = 272;
......@@ -302,6 +303,7 @@ pub const SYS_unshare = 337;
302303pub const SYS_set_robust_list = 338;
303304pub const SYS_get_robust_list = 339;
304305pub const SYS_splice = 340;
306pub const SYS_sync_file_range2 = 341;
305307pub const SYS_arm_sync_file_range = 341;
306308pub const SYS_tee = 342;
307309pub const SYS_vmsplice = 343;
......@@ -361,6 +363,39 @@ pub const SYS_pkey_free = 396;
361363pub const SYS_statx = 397;
362364pub const SYS_rseq = 398;
363365pub const SYS_io_pgetevents = 399;
366pub const SYS_migrate_pages = 400;
367pub const SYS_kexec_file_load = 401;
368pub const SYS_clock_gettime64 = 403;
369pub const SYS_clock_settime64 = 404;
370pub const SYS_clock_adjtime64 = 405;
371pub const SYS_clock_getres_time64 = 406;
372pub const SYS_clock_nanosleep_time64 = 407;
373pub const SYS_timer_gettime64 = 408;
374pub const SYS_timer_settime64 = 409;
375pub const SYS_timerfd_gettime64 = 410;
376pub const SYS_timerfd_settime64 = 411;
377pub const SYS_utimensat_time64 = 412;
378pub const SYS_pselect6_time64 = 413;
379pub const SYS_ppoll_time64 = 414;
380pub const SYS_io_pgetevents_time64 = 416;
381pub const SYS_recvmmsg_time64 = 417;
382pub const SYS_mq_timedsend_time64 = 418;
383pub const SYS_mq_timedreceive_time64 = 419;
384pub const SYS_semtimedop_time64 = 420;
385pub const SYS_rt_sigtimedwait_time64 = 421;
386pub const SYS_futex_time64 = 422;
387pub const SYS_sched_rr_get_interval_time64 = 423;
388pub const SYS_pidfd_send_signal = 424;
389pub const SYS_io_uring_setup = 425;
390pub const SYS_io_uring_enter = 426;
391pub const SYS_io_uring_register = 427;
392
393pub const SYS_breakpoint = 0x0f0001;
394pub const SYS_cacheflush = 0x0f0002;
395pub const SYS_usr26 = 0x0f0003;
396pub const SYS_usr32 = 0x0f0004;
397pub const SYS_set_tls = 0x0f0005;
398pub const SYS_get_tls = 0x0f0006;
364399
365400pub const O_CREAT = 0o100;
366401pub const O_EXCL = 0o200;