mig-sandbox/syscall_mappings.h

378 строки
5.0 KiB
C

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Contributors:
// Alexandru Tudorica <tudalex@gmail.com>
// vladimirdiaconescu <vladimirdiaconescu@users.noreply.github.com>
// Teodora Baluta <teobaluta@gmail.com>
const char * const syscall_mappings[] = { "restart_syscall",
"exit",
"fork",
"read",
"write",
"open",
"close",
"waitpid",
"creat",
"link",
"unlink",
"execve",
"chdir",
"time",
"mknod",
"chmod",
"lchown",
"break",
"oldstat",
"lseek",
"getpid",
"mount",
"umount",
"setuid",
"getuid",
"stime",
"ptrace",
"alarm",
"oldfstat",
"pause",
"utime",
"stty",
"gtty",
"access",
"nice",
"ftime",
"sync",
"kill",
"rename",
"mkdir",
"rmdir",
"dup",
"pipe",
"times",
"prof",
"brk",
"setgid",
"getgid",
"signal",
"geteuid",
"getegid",
"acct",
"umount2",
"lock",
"ioctl",
"fcntl",
"mpx",
"setpgid",
"ulimit",
"oldolduname",
"umask",
"chroot",
"ustat",
"dup2",
"getppid",
"getpgrp",
"setsid",
"sigaction",
"sgetmask",
"ssetmask",
"setreuid",
"setregid",
"sigsuspend",
"sigpending",
"sethostname",
"setrlimit",
"getrlimit",
"getrusage",
"gettimeofday",
"settimeofday",
"getgroups",
"setgroups",
"select",
"symlink",
"oldlstat",
"readlink",
"uselib",
"swapon",
"reboot",
"readdir",
"mmap",
"munmap",
"truncate",
"ftruncate",
"fchmod",
"fchown",
"getpriority",
"setpriority",
"profil",
"statfs",
"fstatfs",
"ioperm",
"socketcall",
"syslog",
"setitimer",
"getitimer",
"stat",
"lstat",
"fstat",
"olduname",
"iopl",
"vhangup",
"idle",
"vm86old",
"wait4",
"swapoff",
"sysinfo",
"ipc",
"fsync",
"sigreturn",
"clone",
"setdomainname",
"uname",
"modify_ldt",
"adjtimex",
"mprotect",
"sigprocmask",
"create_module",
"init_module",
"delete_module",
"get_kernel_syms",
"quotactl",
"getpgid",
"fchdir",
"bdflush",
"sysfs",
"personality",
"afs_syscall",
"setfsuid",
"setfsgid",
"_llseek",
"getdents",
"_newselect",
"flock",
"msync",
"readv",
"writev",
"getsid",
"fdatasync",
"_sysctl",
"mlock",
"munlock",
"mlockall",
"munlockall",
"sched_setparam",
"sched_getparam",
"sched_setscheduler",
"sched_getscheduler",
"sched_yield",
"sched_get_priority_max",
"sched_get_priority_min",
"sched_rr_get_interval",
"nanosleep",
"mremap",
"setresuid",
"getresuid",
"vm86",
"query_module",
"poll",
"nfsservctl",
"setresgid",
"getresgid",
"prctl",
"rt_sigreturn",
"rt_sigaction",
"rt_sigprocmask",
"rt_sigpending",
"rt_sigtimedwait",
"rt_sigqueueinfo",
"rt_sigsuspend",
"pread64",
"pwrite64",
"chown",
"getcwd",
"capget",
"capset",
"sigaltstack",
"sendfile",
"getpmsg",
"putpmsg",
"vfork",
"ugetrlimit",
"mmap2",
"truncate64",
"ftruncate64",
"stat64",
"lstat64",
"fstat64",
"lchown32",
"getuid32",
"getgid32",
"geteuid32",
"getegid32",
"setreuid32",
"setregid32",
"getgroups32",
"setgroups32",
"fchown32",
"setresuid32",
"getresuid32",
"setresgid32",
"getresgid32",
"chown32",
"setuid32",
"setgid32",
"setfsuid32",
"setfsgid32",
"pivot_root",
"mincore",
"madvise",
"getdents64",
"fcntl64",
"unkown syscall 222",
"unkown syscall 223",
"gettid",
"readahead",
"setxattr",
"lsetxattr",
"fsetxattr",
"getxattr",
"lgetxattr",
"fgetxattr",
"listxattr",
"llistxattr",
"flistxattr",
"removexattr",
"lremovexattr",
"fremovexattr",
"tkill",
"sendfile64",
"futex",
"sched_setaffinity",
"sched_getaffinity",
"set_thread_area",
"get_thread_area",
"io_setup",
"io_destroy",
"io_getevents",
"io_submit",
"io_cancel",
"fadvise64",
"unkown syscall 251",
"exit_group",
"lookup_dcookie",
"epoll_create",
"epoll_ctl",
"epoll_wait",
"remap_file_pages",
"set_tid_address",
"timer_create",
"timer_settime",
"timer_gettime",
"timer_getoverrun",
"timer_delete",
"clock_settime",
"clock_gettime",
"clock_getres",
"clock_nanosleep",
"statfs64",
"fstatfs64",
"tgkill",
"utimes",
"fadvise64_64",
"vserver",
"mbind",
"get_mempolicy",
"set_mempolicy",
"mq_open",
"mq_unlink",
"mq_timedsend",
"mq_timedreceive",
"mq_notify",
"mq_getsetattr",
"kexec_load",
"waitid",
"unkown syscall 285",
"add_key",
"request_key",
"keyctl",
"ioprio_set",
"ioprio_get",
"inotify_init",
"inotify_add_watch",
"inotify_rm_watch",
"migrate_pages",
"openat",
"mkdirat",
"mknodat",
"fchownat",
"futimesat",
"fstatat64",
"unlinkat",
"renameat",
"linkat",
"symlinkat",
"readlinkat",
"fchmodat",
"faccessat",
"pselect6",
"ppoll",
"unshare",
"set_robust_list",
"get_robust_list",
"splice",
"sync_file_range",
"tee",
"vmsplice",
"move_pages",
"getcpu",
"epoll_pwait",
"utimensat",
"signalfd",
"timerfd_create",
"eventfd",
"fallocate",
"timerfd_settime",
"timerfd_gettime",
"signalfd4",
"eventfd2",
"epoll_create1",
"dup3",
"pipe2",
"inotify_init1",
"preadv",
"pwritev",
"rt_tgsigqueueinfo",
"perf_event_open",
"recvmmsg",
"fanotify_init",
"fanotify_mark",
"prlimit64",
"name_to_handle_at",
"open_by_handle_at",
"clock_adjtime",
"syncfs",
"sendmmsg",
"setns",
"process_vm_readv",
"process_vm_writev",
"kcmp",
"finit_module",
"sched_setattr",
"sched_getattr",
"renameat2",
"seccomp",
"getrandom",
"memfd_create",
"bpf",
"execveat",
"unkown syscall 359",
"unkown syscall 360",
"unkown syscall 361",
"unkown syscall 362",
"unkown syscall 363",
"unkown syscall 364",
"unkown syscall 365",
};