1#include <clues/sysnrs/generic.hxx>
11const std::array<std::string_view, SYSTEM_CALL_COUNT> SYSTEM_CALL_NAMES = {
38 "clock_getres_time64",
42 "clock_nanosleep_time64",
168 "io_pgetevents_time64",
186 "landlock_create_ruleset",
187 "landlock_restrict_self",
237 "mq_timedreceive_time64",
239 "mq_timedsend_time64",
332 "rt_sigtimedwait_time64",
334 "sched_get_priority_max",
335 "sched_get_priority_min",
339 "sched_getscheduler",
340 "sched_rr_get_interval",
341 "sched_rr_get_interval_time64",
345 "sched_setscheduler",
361 "set_mempolicy_home_node",
485const std::map<std::string_view, SystemCallNr> SYSTEM_CALL_NAME_MAP = {
486 {std::string_view{
"accept"}, SystemCallNr::ACCEPT},
487 {std::string_view{
"accept4"}, SystemCallNr::ACCEPT4},
488 {std::string_view{
"access"}, SystemCallNr::ACCESS},
489 {std::string_view{
"acct"}, SystemCallNr::ACCT},
490 {std::string_view{
"add_key"}, SystemCallNr::ADD_KEY},
491 {std::string_view{
"adjtimex"}, SystemCallNr::ADJTIMEX},
492 {std::string_view{
"afs_syscall"}, SystemCallNr::AFS_SYSCALL},
493 {std::string_view{
"alarm"}, SystemCallNr::ALARM},
494 {std::string_view{
"arch_prctl"}, SystemCallNr::ARCH_PRCTL},
495 {std::string_view{
"bdflush"}, SystemCallNr::BDFLUSH},
496 {std::string_view{
"bind"}, SystemCallNr::BIND},
497 {std::string_view{
"bpf"}, SystemCallNr::BPF},
498 {std::string_view{
"break"}, SystemCallNr::BREAK},
499 {std::string_view{
"brk"}, SystemCallNr::BRK},
500 {std::string_view{
"cachestat"}, SystemCallNr::CACHESTAT},
501 {std::string_view{
"capget"}, SystemCallNr::CAPGET},
502 {std::string_view{
"capset"}, SystemCallNr::CAPSET},
503 {std::string_view{
"chdir"}, SystemCallNr::CHDIR},
504 {std::string_view{
"chmod"}, SystemCallNr::CHMOD},
505 {std::string_view{
"chown"}, SystemCallNr::CHOWN},
506 {std::string_view{
"chown32"}, SystemCallNr::CHOWN32},
507 {std::string_view{
"chroot"}, SystemCallNr::CHROOT},
508 {std::string_view{
"clock_adjtime"}, SystemCallNr::CLOCK_ADJTIME},
509 {std::string_view{
"clock_adjtime64"}, SystemCallNr::CLOCK_ADJTIME64},
510 {std::string_view{
"clock_getres"}, SystemCallNr::CLOCK_GETRES},
511 {std::string_view{
"clock_getres_time64"}, SystemCallNr::CLOCK_GETRES_TIME64},
512 {std::string_view{
"clock_gettime"}, SystemCallNr::CLOCK_GETTIME},
513 {std::string_view{
"clock_gettime64"}, SystemCallNr::CLOCK_GETTIME64},
514 {std::string_view{
"clock_nanosleep"}, SystemCallNr::CLOCK_NANOSLEEP},
515 {std::string_view{
"clock_nanosleep_time64"}, SystemCallNr::CLOCK_NANOSLEEP_TIME64},
516 {std::string_view{
"clock_settime"}, SystemCallNr::CLOCK_SETTIME},
517 {std::string_view{
"clock_settime64"}, SystemCallNr::CLOCK_SETTIME64},
518 {std::string_view{
"clone"}, SystemCallNr::CLONE},
519 {std::string_view{
"clone3"}, SystemCallNr::CLONE3},
520 {std::string_view{
"close"}, SystemCallNr::CLOSE},
521 {std::string_view{
"close_range"}, SystemCallNr::CLOSE_RANGE},
522 {std::string_view{
"connect"}, SystemCallNr::CONNECT},
523 {std::string_view{
"copy_file_range"}, SystemCallNr::COPY_FILE_RANGE},
524 {std::string_view{
"creat"}, SystemCallNr::CREAT},
525 {std::string_view{
"create_module"}, SystemCallNr::CREATE_MODULE},
526 {std::string_view{
"delete_module"}, SystemCallNr::DELETE_MODULE},
527 {std::string_view{
"dup"}, SystemCallNr::DUP},
528 {std::string_view{
"dup2"}, SystemCallNr::DUP2},
529 {std::string_view{
"dup3"}, SystemCallNr::DUP3},
530 {std::string_view{
"epoll_create"}, SystemCallNr::EPOLL_CREATE},
531 {std::string_view{
"epoll_create1"}, SystemCallNr::EPOLL_CREATE1},
532 {std::string_view{
"epoll_ctl"}, SystemCallNr::EPOLL_CTL},
533 {std::string_view{
"epoll_ctl_old"}, SystemCallNr::EPOLL_CTL_OLD},
534 {std::string_view{
"epoll_pwait"}, SystemCallNr::EPOLL_PWAIT},
535 {std::string_view{
"epoll_pwait2"}, SystemCallNr::EPOLL_PWAIT2},
536 {std::string_view{
"epoll_wait"}, SystemCallNr::EPOLL_WAIT},
537 {std::string_view{
"epoll_wait_old"}, SystemCallNr::EPOLL_WAIT_OLD},
538 {std::string_view{
"eventfd"}, SystemCallNr::EVENTFD},
539 {std::string_view{
"eventfd2"}, SystemCallNr::EVENTFD2},
540 {std::string_view{
"execve"}, SystemCallNr::EXECVE},
541 {std::string_view{
"execveat"}, SystemCallNr::EXECVEAT},
542 {std::string_view{
"exit"}, SystemCallNr::EXIT},
543 {std::string_view{
"exit_group"}, SystemCallNr::EXIT_GROUP},
544 {std::string_view{
"faccessat"}, SystemCallNr::FACCESSAT},
545 {std::string_view{
"faccessat2"}, SystemCallNr::FACCESSAT2},
546 {std::string_view{
"fadvise64"}, SystemCallNr::FADVISE64},
547 {std::string_view{
"fadvise64_64"}, SystemCallNr::FADVISE64_64},
548 {std::string_view{
"fallocate"}, SystemCallNr::FALLOCATE},
549 {std::string_view{
"fanotify_init"}, SystemCallNr::FANOTIFY_INIT},
550 {std::string_view{
"fanotify_mark"}, SystemCallNr::FANOTIFY_MARK},
551 {std::string_view{
"fchdir"}, SystemCallNr::FCHDIR},
552 {std::string_view{
"fchmod"}, SystemCallNr::FCHMOD},
553 {std::string_view{
"fchmodat"}, SystemCallNr::FCHMODAT},
554 {std::string_view{
"fchmodat2"}, SystemCallNr::FCHMODAT2},
555 {std::string_view{
"fchown"}, SystemCallNr::FCHOWN},
556 {std::string_view{
"fchown32"}, SystemCallNr::FCHOWN32},
557 {std::string_view{
"fchownat"}, SystemCallNr::FCHOWNAT},
558 {std::string_view{
"fcntl"}, SystemCallNr::FCNTL},
559 {std::string_view{
"fcntl64"}, SystemCallNr::FCNTL64},
560 {std::string_view{
"fdatasync"}, SystemCallNr::FDATASYNC},
561 {std::string_view{
"fgetxattr"}, SystemCallNr::FGETXATTR},
562 {std::string_view{
"file_getattr"}, SystemCallNr::FILE_GETATTR},
563 {std::string_view{
"file_setattr"}, SystemCallNr::FILE_SETATTR},
564 {std::string_view{
"finit_module"}, SystemCallNr::FINIT_MODULE},
565 {std::string_view{
"flistxattr"}, SystemCallNr::FLISTXATTR},
566 {std::string_view{
"flock"}, SystemCallNr::FLOCK},
567 {std::string_view{
"fork"}, SystemCallNr::FORK},
568 {std::string_view{
"fremovexattr"}, SystemCallNr::FREMOVEXATTR},
569 {std::string_view{
"fsconfig"}, SystemCallNr::FSCONFIG},
570 {std::string_view{
"fsetxattr"}, SystemCallNr::FSETXATTR},
571 {std::string_view{
"fsmount"}, SystemCallNr::FSMOUNT},
572 {std::string_view{
"fsopen"}, SystemCallNr::FSOPEN},
573 {std::string_view{
"fspick"}, SystemCallNr::FSPICK},
574 {std::string_view{
"fstat"}, SystemCallNr::FSTAT},
575 {std::string_view{
"fstat64"}, SystemCallNr::FSTAT64},
576 {std::string_view{
"fstatat64"}, SystemCallNr::FSTATAT64},
577 {std::string_view{
"fstatfs"}, SystemCallNr::FSTATFS},
578 {std::string_view{
"fstatfs64"}, SystemCallNr::FSTATFS64},
579 {std::string_view{
"fsync"}, SystemCallNr::FSYNC},
580 {std::string_view{
"ftime"}, SystemCallNr::FTIME},
581 {std::string_view{
"ftruncate"}, SystemCallNr::FTRUNCATE},
582 {std::string_view{
"ftruncate64"}, SystemCallNr::FTRUNCATE64},
583 {std::string_view{
"futex"}, SystemCallNr::FUTEX},
584 {std::string_view{
"futex_requeue"}, SystemCallNr::_FUTEX_REQUEUE},
585 {std::string_view{
"futex_time64"}, SystemCallNr::FUTEX_TIME64},
586 {std::string_view{
"futex_wait"}, SystemCallNr::_FUTEX_WAIT},
587 {std::string_view{
"futex_waitv"}, SystemCallNr::FUTEX_WAITV},
588 {std::string_view{
"futex_wake"}, SystemCallNr::_FUTEX_WAKE},
589 {std::string_view{
"futimesat"}, SystemCallNr::FUTIMESAT},
590 {std::string_view{
"get_kernel_syms"}, SystemCallNr::GET_KERNEL_SYMS},
591 {std::string_view{
"get_mempolicy"}, SystemCallNr::GET_MEMPOLICY},
592 {std::string_view{
"get_robust_list"}, SystemCallNr::GET_ROBUST_LIST},
593 {std::string_view{
"get_thread_area"}, SystemCallNr::GET_THREAD_AREA},
594 {std::string_view{
"getcpu"}, SystemCallNr::GETCPU},
595 {std::string_view{
"getcwd"}, SystemCallNr::GETCWD},
596 {std::string_view{
"getdents"}, SystemCallNr::GETDENTS},
597 {std::string_view{
"getdents64"}, SystemCallNr::GETDENTS64},
598 {std::string_view{
"getegid"}, SystemCallNr::GETEGID},
599 {std::string_view{
"getegid32"}, SystemCallNr::GETEGID32},
600 {std::string_view{
"geteuid"}, SystemCallNr::GETEUID},
601 {std::string_view{
"geteuid32"}, SystemCallNr::GETEUID32},
602 {std::string_view{
"getgid"}, SystemCallNr::GETGID},
603 {std::string_view{
"getgid32"}, SystemCallNr::GETGID32},
604 {std::string_view{
"getgroups"}, SystemCallNr::GETGROUPS},
605 {std::string_view{
"getgroups32"}, SystemCallNr::GETGROUPS32},
606 {std::string_view{
"getitimer"}, SystemCallNr::GETITIMER},
607 {std::string_view{
"getpeername"}, SystemCallNr::GETPEERNAME},
608 {std::string_view{
"getpgid"}, SystemCallNr::GETPGID},
609 {std::string_view{
"getpgrp"}, SystemCallNr::GETPGRP},
610 {std::string_view{
"getpid"}, SystemCallNr::GETPID},
611 {std::string_view{
"getpmsg"}, SystemCallNr::GETPMSG},
612 {std::string_view{
"getppid"}, SystemCallNr::GETPPID},
613 {std::string_view{
"getpriority"}, SystemCallNr::GETPRIORITY},
614 {std::string_view{
"getrandom"}, SystemCallNr::GETRANDOM},
615 {std::string_view{
"getresgid"}, SystemCallNr::GETRESGID},
616 {std::string_view{
"getresgid32"}, SystemCallNr::GETRESGID32},
617 {std::string_view{
"getresuid"}, SystemCallNr::GETRESUID},
618 {std::string_view{
"getresuid32"}, SystemCallNr::GETRESUID32},
619 {std::string_view{
"getrlimit"}, SystemCallNr::GETRLIMIT},
620 {std::string_view{
"getrusage"}, SystemCallNr::GETRUSAGE},
621 {std::string_view{
"getsid"}, SystemCallNr::GETSID},
622 {std::string_view{
"getsockname"}, SystemCallNr::GETSOCKNAME},
623 {std::string_view{
"getsockopt"}, SystemCallNr::GETSOCKOPT},
624 {std::string_view{
"gettid"}, SystemCallNr::GETTID},
625 {std::string_view{
"gettimeofday"}, SystemCallNr::GETTIMEOFDAY},
626 {std::string_view{
"getuid"}, SystemCallNr::GETUID},
627 {std::string_view{
"getuid32"}, SystemCallNr::GETUID32},
628 {std::string_view{
"getxattr"}, SystemCallNr::GETXATTR},
629 {std::string_view{
"getxattrat"}, SystemCallNr::GETXATTRAT},
630 {std::string_view{
"gtty"}, SystemCallNr::GTTY},
631 {std::string_view{
"idle"}, SystemCallNr::IDLE},
632 {std::string_view{
"init_module"}, SystemCallNr::INIT_MODULE},
633 {std::string_view{
"inotify_add_watch"}, SystemCallNr::INOTIFY_ADD_WATCH},
634 {std::string_view{
"inotify_init"}, SystemCallNr::INOTIFY_INIT},
635 {std::string_view{
"inotify_init1"}, SystemCallNr::INOTIFY_INIT1},
636 {std::string_view{
"inotify_rm_watch"}, SystemCallNr::INOTIFY_RM_WATCH},
637 {std::string_view{
"io_cancel"}, SystemCallNr::IO_CANCEL},
638 {std::string_view{
"io_destroy"}, SystemCallNr::IO_DESTROY},
639 {std::string_view{
"io_getevents"}, SystemCallNr::IO_GETEVENTS},
640 {std::string_view{
"io_pgetevents"}, SystemCallNr::IO_PGETEVENTS},
641 {std::string_view{
"io_pgetevents_time64"}, SystemCallNr::IO_PGETEVENTS_TIME64},
642 {std::string_view{
"io_setup"}, SystemCallNr::IO_SETUP},
643 {std::string_view{
"io_submit"}, SystemCallNr::IO_SUBMIT},
644 {std::string_view{
"io_uring_enter"}, SystemCallNr::IO_URING_ENTER},
645 {std::string_view{
"io_uring_register"}, SystemCallNr::IO_URING_REGISTER},
646 {std::string_view{
"io_uring_setup"}, SystemCallNr::IO_URING_SETUP},
647 {std::string_view{
"ioctl"}, SystemCallNr::IOCTL},
648 {std::string_view{
"ioperm"}, SystemCallNr::IOPERM},
649 {std::string_view{
"iopl"}, SystemCallNr::IOPL},
650 {std::string_view{
"ioprio_get"}, SystemCallNr::IOPRIO_GET},
651 {std::string_view{
"ioprio_set"}, SystemCallNr::IOPRIO_SET},
652 {std::string_view{
"ipc"}, SystemCallNr::IPC},
653 {std::string_view{
"kcmp"}, SystemCallNr::KCMP},
654 {std::string_view{
"kexec_file_load"}, SystemCallNr::KEXEC_FILE_LOAD},
655 {std::string_view{
"kexec_load"}, SystemCallNr::KEXEC_LOAD},
656 {std::string_view{
"keyctl"}, SystemCallNr::KEYCTL},
657 {std::string_view{
"kill"}, SystemCallNr::KILL},
658 {std::string_view{
"landlock_add_rule"}, SystemCallNr::LANDLOCK_ADD_RULE},
659 {std::string_view{
"landlock_create_ruleset"}, SystemCallNr::LANDLOCK_CREATE_RULESET},
660 {std::string_view{
"landlock_restrict_self"}, SystemCallNr::LANDLOCK_RESTRICT_SELF},
661 {std::string_view{
"lchown"}, SystemCallNr::LCHOWN},
662 {std::string_view{
"lchown32"}, SystemCallNr::LCHOWN32},
663 {std::string_view{
"lgetxattr"}, SystemCallNr::LGETXATTR},
664 {std::string_view{
"link"}, SystemCallNr::LINK},
665 {std::string_view{
"linkat"}, SystemCallNr::LINKAT},
666 {std::string_view{
"listen"}, SystemCallNr::LISTEN},
667 {std::string_view{
"listmount"}, SystemCallNr::LISTMOUNT},
668 {std::string_view{
"listxattr"}, SystemCallNr::LISTXATTR},
669 {std::string_view{
"listxattrat"}, SystemCallNr::LISTXATTRAT},
670 {std::string_view{
"llistxattr"}, SystemCallNr::LLISTXATTR},
671 {std::string_view{
"llseek"}, SystemCallNr::LLSEEK},
672 {std::string_view{
"lock"}, SystemCallNr::LOCK},
673 {std::string_view{
"lookup_dcookie"}, SystemCallNr::LOOKUP_DCOOKIE},
674 {std::string_view{
"lremovexattr"}, SystemCallNr::LREMOVEXATTR},
675 {std::string_view{
"lseek"}, SystemCallNr::LSEEK},
676 {std::string_view{
"lsetxattr"}, SystemCallNr::LSETXATTR},
677 {std::string_view{
"lsm_get_self_attr"}, SystemCallNr::LSM_GET_SELF_ATTR},
678 {std::string_view{
"lsm_list_modules"}, SystemCallNr::LSM_LIST_MODULES},
679 {std::string_view{
"lsm_set_self_attr"}, SystemCallNr::LSM_SET_SELF_ATTR},
680 {std::string_view{
"lstat"}, SystemCallNr::LSTAT},
681 {std::string_view{
"lstat64"}, SystemCallNr::LSTAT64},
682 {std::string_view{
"madvise"}, SystemCallNr::MADVISE},
683 {std::string_view{
"map_shadow_stack"}, SystemCallNr::MAP_SHADOW_STACK},
684 {std::string_view{
"mbind"}, SystemCallNr::MBIND},
685 {std::string_view{
"membarrier"}, SystemCallNr::MEMBARRIER},
686 {std::string_view{
"memfd_create"}, SystemCallNr::MEMFD_CREATE},
687 {std::string_view{
"memfd_secret"}, SystemCallNr::MEMFD_SECRET},
688 {std::string_view{
"migrate_pages"}, SystemCallNr::MIGRATE_PAGES},
689 {std::string_view{
"mincore"}, SystemCallNr::MINCORE},
690 {std::string_view{
"mkdir"}, SystemCallNr::MKDIR},
691 {std::string_view{
"mkdirat"}, SystemCallNr::MKDIRAT},
692 {std::string_view{
"mknod"}, SystemCallNr::MKNOD},
693 {std::string_view{
"mknodat"}, SystemCallNr::MKNODAT},
694 {std::string_view{
"mlock"}, SystemCallNr::MLOCK},
695 {std::string_view{
"mlock2"}, SystemCallNr::MLOCK2},
696 {std::string_view{
"mlockall"}, SystemCallNr::MLOCKALL},
697 {std::string_view{
"mmap"}, SystemCallNr::MMAP},
698 {std::string_view{
"mmap2"}, SystemCallNr::MMAP2},
699 {std::string_view{
"modify_ldt"}, SystemCallNr::MODIFY_LDT},
700 {std::string_view{
"mount"}, SystemCallNr::MOUNT},
701 {std::string_view{
"mount_setattr"}, SystemCallNr::MOUNT_SETATTR},
702 {std::string_view{
"move_mount"}, SystemCallNr::MOVE_MOUNT},
703 {std::string_view{
"move_pages"}, SystemCallNr::MOVE_PAGES},
704 {std::string_view{
"mprotect"}, SystemCallNr::MPROTECT},
705 {std::string_view{
"mpx"}, SystemCallNr::MPX},
706 {std::string_view{
"mq_getsetattr"}, SystemCallNr::MQ_GETSETATTR},
707 {std::string_view{
"mq_notify"}, SystemCallNr::MQ_NOTIFY},
708 {std::string_view{
"mq_open"}, SystemCallNr::MQ_OPEN},
709 {std::string_view{
"mq_timedreceive"}, SystemCallNr::MQ_TIMEDRECEIVE},
710 {std::string_view{
"mq_timedreceive_time64"}, SystemCallNr::MQ_TIMEDRECEIVE_TIME64},
711 {std::string_view{
"mq_timedsend"}, SystemCallNr::MQ_TIMEDSEND},
712 {std::string_view{
"mq_timedsend_time64"}, SystemCallNr::MQ_TIMEDSEND_TIME64},
713 {std::string_view{
"mq_unlink"}, SystemCallNr::MQ_UNLINK},
714 {std::string_view{
"mremap"}, SystemCallNr::MREMAP},
715 {std::string_view{
"mseal"}, SystemCallNr::MSEAL},
716 {std::string_view{
"msgctl"}, SystemCallNr::MSGCTL},
717 {std::string_view{
"msgget"}, SystemCallNr::MSGGET},
718 {std::string_view{
"msgrcv"}, SystemCallNr::MSGRCV},
719 {std::string_view{
"msgsnd"}, SystemCallNr::MSGSND},
720 {std::string_view{
"msync"}, SystemCallNr::MSYNC},
721 {std::string_view{
"munlock"}, SystemCallNr::MUNLOCK},
722 {std::string_view{
"munlockall"}, SystemCallNr::MUNLOCKALL},
723 {std::string_view{
"munmap"}, SystemCallNr::MUNMAP},
724 {std::string_view{
"name_to_handle_at"}, SystemCallNr::NAME_TO_HANDLE_AT},
725 {std::string_view{
"nanosleep"}, SystemCallNr::NANOSLEEP},
726 {std::string_view{
"newfstatat"}, SystemCallNr::NEWFSTATAT},
727 {std::string_view{
"newselect"}, SystemCallNr::NEWSELECT},
728 {std::string_view{
"nfsservctl"}, SystemCallNr::NFSSERVCTL},
729 {std::string_view{
"nice"}, SystemCallNr::NICE},
730 {std::string_view{
"oldfstat"}, SystemCallNr::OLDFSTAT},
731 {std::string_view{
"oldlstat"}, SystemCallNr::OLDLSTAT},
732 {std::string_view{
"oldolduname"}, SystemCallNr::OLDOLDUNAME},
733 {std::string_view{
"oldstat"}, SystemCallNr::OLDSTAT},
734 {std::string_view{
"olduname"}, SystemCallNr::OLDUNAME},
735 {std::string_view{
"open"}, SystemCallNr::OPEN},
736 {std::string_view{
"open_by_handle_at"}, SystemCallNr::OPEN_BY_HANDLE_AT},
737 {std::string_view{
"open_tree"}, SystemCallNr::OPEN_TREE},
738 {std::string_view{
"open_tree_attr"}, SystemCallNr::OPEN_TREE_ATTR},
739 {std::string_view{
"openat"}, SystemCallNr::OPENAT},
740 {std::string_view{
"openat2"}, SystemCallNr::OPENAT2},
741 {std::string_view{
"pause"}, SystemCallNr::PAUSE},
742 {std::string_view{
"perf_event_open"}, SystemCallNr::PERF_EVENT_OPEN},
743 {std::string_view{
"personality"}, SystemCallNr::PERSONALITY},
744 {std::string_view{
"pidfd_getfd"}, SystemCallNr::PIDFD_GETFD},
745 {std::string_view{
"pidfd_open"}, SystemCallNr::PIDFD_OPEN},
746 {std::string_view{
"pidfd_send_signal"}, SystemCallNr::PIDFD_SEND_SIGNAL},
747 {std::string_view{
"pipe"}, SystemCallNr::PIPE},
748 {std::string_view{
"pipe2"}, SystemCallNr::PIPE2},
749 {std::string_view{
"pivot_root"}, SystemCallNr::PIVOT_ROOT},
750 {std::string_view{
"pkey_alloc"}, SystemCallNr::PKEY_ALLOC},
751 {std::string_view{
"pkey_free"}, SystemCallNr::PKEY_FREE},
752 {std::string_view{
"pkey_mprotect"}, SystemCallNr::PKEY_MPROTECT},
753 {std::string_view{
"poll"}, SystemCallNr::POLL},
754 {std::string_view{
"ppoll"}, SystemCallNr::PPOLL},
755 {std::string_view{
"ppoll_time64"}, SystemCallNr::PPOLL_TIME64},
756 {std::string_view{
"prctl"}, SystemCallNr::PRCTL},
757 {std::string_view{
"pread64"}, SystemCallNr::PREAD64},
758 {std::string_view{
"preadv"}, SystemCallNr::PREADV},
759 {std::string_view{
"preadv2"}, SystemCallNr::PREADV2},
760 {std::string_view{
"prlimit64"}, SystemCallNr::PRLIMIT64},
761 {std::string_view{
"process_madvise"}, SystemCallNr::PROCESS_MADVISE},
762 {std::string_view{
"process_mrelease"}, SystemCallNr::PROCESS_MRELEASE},
763 {std::string_view{
"process_vm_readv"}, SystemCallNr::PROCESS_VM_READV},
764 {std::string_view{
"process_vm_writev"}, SystemCallNr::PROCESS_VM_WRITEV},
765 {std::string_view{
"prof"}, SystemCallNr::PROF},
766 {std::string_view{
"profil"}, SystemCallNr::PROFIL},
767 {std::string_view{
"pselect6"}, SystemCallNr::PSELECT6},
768 {std::string_view{
"pselect6_time64"}, SystemCallNr::PSELECT6_TIME64},
769 {std::string_view{
"ptrace"}, SystemCallNr::PTRACE},
770 {std::string_view{
"putpmsg"}, SystemCallNr::PUTPMSG},
771 {std::string_view{
"pwrite64"}, SystemCallNr::PWRITE64},
772 {std::string_view{
"pwritev"}, SystemCallNr::PWRITEV},
773 {std::string_view{
"pwritev2"}, SystemCallNr::PWRITEV2},
774 {std::string_view{
"query_module"}, SystemCallNr::QUERY_MODULE},
775 {std::string_view{
"quotactl"}, SystemCallNr::QUOTACTL},
776 {std::string_view{
"quotactl_fd"}, SystemCallNr::QUOTACTL_FD},
777 {std::string_view{
"read"}, SystemCallNr::READ},
778 {std::string_view{
"readahead"}, SystemCallNr::READAHEAD},
779 {std::string_view{
"readdir"}, SystemCallNr::READDIR},
780 {std::string_view{
"readlink"}, SystemCallNr::READLINK},
781 {std::string_view{
"readlinkat"}, SystemCallNr::READLINKAT},
782 {std::string_view{
"readv"}, SystemCallNr::READV},
783 {std::string_view{
"reboot"}, SystemCallNr::REBOOT},
784 {std::string_view{
"recvfrom"}, SystemCallNr::RECVFROM},
785 {std::string_view{
"recvmmsg"}, SystemCallNr::RECVMMSG},
786 {std::string_view{
"recvmmsg_time64"}, SystemCallNr::RECVMMSG_TIME64},
787 {std::string_view{
"recvmsg"}, SystemCallNr::RECVMSG},
788 {std::string_view{
"remap_file_pages"}, SystemCallNr::REMAP_FILE_PAGES},
789 {std::string_view{
"removexattr"}, SystemCallNr::REMOVEXATTR},
790 {std::string_view{
"removexattrat"}, SystemCallNr::REMOVEXATTRAT},
791 {std::string_view{
"rename"}, SystemCallNr::RENAME},
792 {std::string_view{
"renameat"}, SystemCallNr::RENAMEAT},
793 {std::string_view{
"renameat2"}, SystemCallNr::RENAMEAT2},
794 {std::string_view{
"request_key"}, SystemCallNr::REQUEST_KEY},
795 {std::string_view{
"restart_syscall"}, SystemCallNr::RESTART_SYSCALL},
796 {std::string_view{
"rmdir"}, SystemCallNr::RMDIR},
797 {std::string_view{
"rseq"}, SystemCallNr::RSEQ},
798 {std::string_view{
"rt_sigaction"}, SystemCallNr::RT_SIGACTION},
799 {std::string_view{
"rt_sigpending"}, SystemCallNr::RT_SIGPENDING},
800 {std::string_view{
"rt_sigprocmask"}, SystemCallNr::RT_SIGPROCMASK},
801 {std::string_view{
"rt_sigqueueinfo"}, SystemCallNr::RT_SIGQUEUEINFO},
802 {std::string_view{
"rt_sigreturn"}, SystemCallNr::RT_SIGRETURN},
803 {std::string_view{
"rt_sigsuspend"}, SystemCallNr::RT_SIGSUSPEND},
804 {std::string_view{
"rt_sigtimedwait"}, SystemCallNr::RT_SIGTIMEDWAIT},
805 {std::string_view{
"rt_sigtimedwait_time64"}, SystemCallNr::RT_SIGTIMEDWAIT_TIME64},
806 {std::string_view{
"rt_tgsigqueueinfo"}, SystemCallNr::RT_TGSIGQUEUEINFO},
807 {std::string_view{
"sched_get_priority_max"}, SystemCallNr::SCHED_GET_PRIORITY_MAX},
808 {std::string_view{
"sched_get_priority_min"}, SystemCallNr::SCHED_GET_PRIORITY_MIN},
809 {std::string_view{
"sched_getaffinity"}, SystemCallNr::SCHED_GETAFFINITY},
810 {std::string_view{
"sched_getattr"}, SystemCallNr::SCHED_GETATTR},
811 {std::string_view{
"sched_getparam"}, SystemCallNr::SCHED_GETPARAM},
812 {std::string_view{
"sched_getscheduler"}, SystemCallNr::SCHED_GETSCHEDULER},
813 {std::string_view{
"sched_rr_get_interval"}, SystemCallNr::SCHED_RR_GET_INTERVAL},
814 {std::string_view{
"sched_rr_get_interval_time64"}, SystemCallNr::SCHED_RR_GET_INTERVAL_TIME64},
815 {std::string_view{
"sched_setaffinity"}, SystemCallNr::SCHED_SETAFFINITY},
816 {std::string_view{
"sched_setattr"}, SystemCallNr::SCHED_SETATTR},
817 {std::string_view{
"sched_setparam"}, SystemCallNr::SCHED_SETPARAM},
818 {std::string_view{
"sched_setscheduler"}, SystemCallNr::SCHED_SETSCHEDULER},
819 {std::string_view{
"sched_yield"}, SystemCallNr::SCHED_YIELD},
820 {std::string_view{
"seccomp"}, SystemCallNr::SECCOMP},
821 {std::string_view{
"security"}, SystemCallNr::SECURITY},
822 {std::string_view{
"select"}, SystemCallNr::SELECT},
823 {std::string_view{
"semctl"}, SystemCallNr::SEMCTL},
824 {std::string_view{
"semget"}, SystemCallNr::SEMGET},
825 {std::string_view{
"semop"}, SystemCallNr::SEMOP},
826 {std::string_view{
"semtimedop"}, SystemCallNr::SEMTIMEDOP},
827 {std::string_view{
"semtimedop_time64"}, SystemCallNr::SEMTIMEDOP_TIME64},
828 {std::string_view{
"sendfile"}, SystemCallNr::SENDFILE},
829 {std::string_view{
"sendfile64"}, SystemCallNr::SENDFILE64},
830 {std::string_view{
"sendmmsg"}, SystemCallNr::SENDMMSG},
831 {std::string_view{
"sendmsg"}, SystemCallNr::SENDMSG},
832 {std::string_view{
"sendto"}, SystemCallNr::SENDTO},
833 {std::string_view{
"set_mempolicy"}, SystemCallNr::SET_MEMPOLICY},
834 {std::string_view{
"set_mempolicy_home_node"}, SystemCallNr::SET_MEMPOLICY_HOME_NODE},
835 {std::string_view{
"set_robust_list"}, SystemCallNr::SET_ROBUST_LIST},
836 {std::string_view{
"set_thread_area"}, SystemCallNr::SET_THREAD_AREA},
837 {std::string_view{
"set_tid_address"}, SystemCallNr::SET_TID_ADDRESS},
838 {std::string_view{
"setdomainname"}, SystemCallNr::SETDOMAINNAME},
839 {std::string_view{
"setfsgid"}, SystemCallNr::SETFSGID},
840 {std::string_view{
"setfsgid32"}, SystemCallNr::SETFSGID32},
841 {std::string_view{
"setfsuid"}, SystemCallNr::SETFSUID},
842 {std::string_view{
"setfsuid32"}, SystemCallNr::SETFSUID32},
843 {std::string_view{
"setgid"}, SystemCallNr::SETGID},
844 {std::string_view{
"setgid32"}, SystemCallNr::SETGID32},
845 {std::string_view{
"setgroups"}, SystemCallNr::SETGROUPS},
846 {std::string_view{
"setgroups32"}, SystemCallNr::SETGROUPS32},
847 {std::string_view{
"sethostname"}, SystemCallNr::SETHOSTNAME},
848 {std::string_view{
"setitimer"}, SystemCallNr::SETITIMER},
849 {std::string_view{
"setns"}, SystemCallNr::SETNS},
850 {std::string_view{
"setpgid"}, SystemCallNr::SETPGID},
851 {std::string_view{
"setpriority"}, SystemCallNr::SETPRIORITY},
852 {std::string_view{
"setregid"}, SystemCallNr::SETREGID},
853 {std::string_view{
"setregid32"}, SystemCallNr::SETREGID32},
854 {std::string_view{
"setresgid"}, SystemCallNr::SETRESGID},
855 {std::string_view{
"setresgid32"}, SystemCallNr::SETRESGID32},
856 {std::string_view{
"setresuid"}, SystemCallNr::SETRESUID},
857 {std::string_view{
"setresuid32"}, SystemCallNr::SETRESUID32},
858 {std::string_view{
"setreuid"}, SystemCallNr::SETREUID},
859 {std::string_view{
"setreuid32"}, SystemCallNr::SETREUID32},
860 {std::string_view{
"setrlimit"}, SystemCallNr::SETRLIMIT},
861 {std::string_view{
"setsid"}, SystemCallNr::SETSID},
862 {std::string_view{
"setsockopt"}, SystemCallNr::SETSOCKOPT},
863 {std::string_view{
"settimeofday"}, SystemCallNr::SETTIMEOFDAY},
864 {std::string_view{
"setuid"}, SystemCallNr::SETUID},
865 {std::string_view{
"setuid32"}, SystemCallNr::SETUID32},
866 {std::string_view{
"setxattr"}, SystemCallNr::SETXATTR},
867 {std::string_view{
"setxattrat"}, SystemCallNr::SETXATTRAT},
868 {std::string_view{
"sgetmask"}, SystemCallNr::SGETMASK},
869 {std::string_view{
"shmat"}, SystemCallNr::SHMAT},
870 {std::string_view{
"shmctl"}, SystemCallNr::SHMCTL},
871 {std::string_view{
"shmdt"}, SystemCallNr::SHMDT},
872 {std::string_view{
"shmget"}, SystemCallNr::SHMGET},
873 {std::string_view{
"shutdown"}, SystemCallNr::SHUTDOWN},
874 {std::string_view{
"sigaction"}, SystemCallNr::SIGACTION},
875 {std::string_view{
"sigaltstack"}, SystemCallNr::SIGALTSTACK},
876 {std::string_view{
"signal"}, SystemCallNr::SIGNAL},
877 {std::string_view{
"signalfd"}, SystemCallNr::SIGNALFD},
878 {std::string_view{
"signalfd4"}, SystemCallNr::SIGNALFD4},
879 {std::string_view{
"sigpending"}, SystemCallNr::SIGPENDING},
880 {std::string_view{
"sigprocmask"}, SystemCallNr::SIGPROCMASK},
881 {std::string_view{
"sigreturn"}, SystemCallNr::SIGRETURN},
882 {std::string_view{
"sigsuspend"}, SystemCallNr::SIGSUSPEND},
883 {std::string_view{
"socket"}, SystemCallNr::SOCKET},
884 {std::string_view{
"socketcall"}, SystemCallNr::SOCKETCALL},
885 {std::string_view{
"socketpair"}, SystemCallNr::SOCKETPAIR},
886 {std::string_view{
"splice"}, SystemCallNr::SPLICE},
887 {std::string_view{
"ssetmask"}, SystemCallNr::SSETMASK},
888 {std::string_view{
"stat"}, SystemCallNr::STAT},
889 {std::string_view{
"stat64"}, SystemCallNr::STAT64},
890 {std::string_view{
"statfs"}, SystemCallNr::STATFS},
891 {std::string_view{
"statfs64"}, SystemCallNr::STATFS64},
892 {std::string_view{
"statmount"}, SystemCallNr::STATMOUNT},
893 {std::string_view{
"statx"}, SystemCallNr::STATX},
894 {std::string_view{
"stime"}, SystemCallNr::STIME},
895 {std::string_view{
"stty"}, SystemCallNr::STTY},
896 {std::string_view{
"swapoff"}, SystemCallNr::SWAPOFF},
897 {std::string_view{
"swapon"}, SystemCallNr::SWAPON},
898 {std::string_view{
"symlink"}, SystemCallNr::SYMLINK},
899 {std::string_view{
"symlinkat"}, SystemCallNr::SYMLINKAT},
900 {std::string_view{
"sync"}, SystemCallNr::SYNC},
901 {std::string_view{
"sync_file_range"}, SystemCallNr::SYNC_FILE_RANGE},
902 {std::string_view{
"syncfs"}, SystemCallNr::SYNCFS},
903 {std::string_view{
"sysctl"}, SystemCallNr::SYSCTL},
904 {std::string_view{
"sysfs"}, SystemCallNr::SYSFS},
905 {std::string_view{
"sysinfo"}, SystemCallNr::SYSINFO},
906 {std::string_view{
"syslog"}, SystemCallNr::SYSLOG},
907 {std::string_view{
"tee"}, SystemCallNr::TEE},
908 {std::string_view{
"tgkill"}, SystemCallNr::TGKILL},
909 {std::string_view{
"time"}, SystemCallNr::TIME},
910 {std::string_view{
"timer_create"}, SystemCallNr::TIMER_CREATE},
911 {std::string_view{
"timer_delete"}, SystemCallNr::TIMER_DELETE},
912 {std::string_view{
"timer_getoverrun"}, SystemCallNr::TIMER_GETOVERRUN},
913 {std::string_view{
"timer_gettime"}, SystemCallNr::TIMER_GETTIME},
914 {std::string_view{
"timer_gettime64"}, SystemCallNr::TIMER_GETTIME64},
915 {std::string_view{
"timer_settime"}, SystemCallNr::TIMER_SETTIME},
916 {std::string_view{
"timer_settime64"}, SystemCallNr::TIMER_SETTIME64},
917 {std::string_view{
"timerfd_create"}, SystemCallNr::TIMERFD_CREATE},
918 {std::string_view{
"timerfd_gettime"}, SystemCallNr::TIMERFD_GETTIME},
919 {std::string_view{
"timerfd_gettime64"}, SystemCallNr::TIMERFD_GETTIME64},
920 {std::string_view{
"timerfd_settime"}, SystemCallNr::TIMERFD_SETTIME},
921 {std::string_view{
"timerfd_settime64"}, SystemCallNr::TIMERFD_SETTIME64},
922 {std::string_view{
"times"}, SystemCallNr::TIMES},
923 {std::string_view{
"tkill"}, SystemCallNr::TKILL},
924 {std::string_view{
"truncate"}, SystemCallNr::TRUNCATE},
925 {std::string_view{
"truncate64"}, SystemCallNr::TRUNCATE64},
926 {std::string_view{
"tuxcall"}, SystemCallNr::TUXCALL},
927 {std::string_view{
"ugetrlimit"}, SystemCallNr::UGETRLIMIT},
928 {std::string_view{
"ulimit"}, SystemCallNr::ULIMIT},
929 {std::string_view{
"umask"}, SystemCallNr::UMASK},
930 {std::string_view{
"umount"}, SystemCallNr::UMOUNT},
931 {std::string_view{
"umount2"}, SystemCallNr::UMOUNT2},
932 {std::string_view{
"uname"}, SystemCallNr::UNAME},
933 {std::string_view{
"unlink"}, SystemCallNr::UNLINK},
934 {std::string_view{
"unlinkat"}, SystemCallNr::UNLINKAT},
935 {std::string_view{
"unshare"}, SystemCallNr::UNSHARE},
936 {std::string_view{
"uprobe"}, SystemCallNr::UPROBE},
937 {std::string_view{
"uretprobe"}, SystemCallNr::URETPROBE},
938 {std::string_view{
"uselib"}, SystemCallNr::USELIB},
939 {std::string_view{
"userfaultfd"}, SystemCallNr::USERFAULTFD},
940 {std::string_view{
"ustat"}, SystemCallNr::USTAT},
941 {std::string_view{
"utime"}, SystemCallNr::UTIME},
942 {std::string_view{
"utimensat"}, SystemCallNr::UTIMENSAT},
943 {std::string_view{
"utimensat_time64"}, SystemCallNr::UTIMENSAT_TIME64},
944 {std::string_view{
"utimes"}, SystemCallNr::UTIMES},
945 {std::string_view{
"vfork"}, SystemCallNr::VFORK},
946 {std::string_view{
"vhangup"}, SystemCallNr::VHANGUP},
947 {std::string_view{
"vm86"}, SystemCallNr::VM86},
948 {std::string_view{
"vm86old"}, SystemCallNr::VM86OLD},
949 {std::string_view{
"vmsplice"}, SystemCallNr::VMSPLICE},
950 {std::string_view{
"vserver"}, SystemCallNr::VSERVER},
951 {std::string_view{
"wait4"}, SystemCallNr::WAIT4},
952 {std::string_view{
"waitid"}, SystemCallNr::WAITID},
953 {std::string_view{
"waitpid"}, SystemCallNr::WAITPID},
954 {std::string_view{
"write"}, SystemCallNr::WRITE},
955 {std::string_view{
"writev"}, SystemCallNr::WRITEV},