libk  system_calls.h at [9ea8c28897]

File arch/x86.lin.64/system_calls.h artifact f2700fc28d part of check-in 9ea8c28897


/* this file was generated from the Linux kernel source
 * file /arch/x86/entry/syscalls/syscall_64.tbl. since
 * the x86-64 syscalls are a special case and are unlikely
 * to change in the future, the code used to generate this
 * header was not preserved. */

#ifndef KIplatform_syscall
#define KIplatform_syscall

enum k_platform_syscall {

	k_platform_syscall_read = 0,
	k_platform_syscall_write = 1,
	k_platform_syscall_open = 2,
	k_platform_syscall_close = 3,
	k_platform_syscall_stat = 4,
	k_platform_syscall_fstat = 5,
	k_platform_syscall_lstat = 6,
	k_platform_syscall_poll = 7,
	k_platform_syscall_lseek = 8,
	k_platform_syscall_mmap = 9,
	k_platform_syscall_mprotect = 10,
	k_platform_syscall_munmap = 11,
	k_platform_syscall_brk = 12,
	k_platform_syscall_rt_sigprocmask = 14,
	k_platform_syscall_pread64 = 17,
	k_platform_syscall_pwrite64 = 18,
	k_platform_syscall_access = 21,
	k_platform_syscall_pipe = 22,
	k_platform_syscall_select = 23,
	k_platform_syscall_sched_yield = 24,
	k_platform_syscall_mremap = 25,
	k_platform_syscall_msync = 26,
	k_platform_syscall_mincore = 27,
	k_platform_syscall_madvise = 28,
	k_platform_syscall_shmget = 29,
	k_platform_syscall_shmat = 30,
	k_platform_syscall_shmctl = 31,
	k_platform_syscall_dup = 32,
	k_platform_syscall_dup2 = 33,
	k_platform_syscall_pause = 34,
	k_platform_syscall_nanosleep = 35,
	k_platform_syscall_getitimer = 36,
	k_platform_syscall_alarm = 37,
	k_platform_syscall_setitimer = 38,
	k_platform_syscall_getpid = 39,
	k_platform_syscall_sendfile = 40,
	k_platform_syscall_socket = 41,
	k_platform_syscall_connect = 42,
	k_platform_syscall_accept = 43,
	k_platform_syscall_sendto = 44,
	k_platform_syscall_shutdown = 48,
	k_platform_syscall_bind = 49,
	k_platform_syscall_listen = 50,
	k_platform_syscall_getsockname = 51,
	k_platform_syscall_getpeername = 52,
	k_platform_syscall_socketpair = 53,
	k_platform_syscall_clone = 56,
	k_platform_syscall_fork = 57,
	k_platform_syscall_vfork = 58,
	k_platform_syscall_exit = 60,
	k_platform_syscall_wait4 = 61,
	k_platform_syscall_kill = 62,
	k_platform_syscall_uname = 63,
	k_platform_syscall_semget = 64,
	k_platform_syscall_semop = 65,
	k_platform_syscall_semctl = 66,
	k_platform_syscall_shmdt = 67,
	k_platform_syscall_msgget = 68,
	k_platform_syscall_msgsnd = 69,
	k_platform_syscall_msgrcv = 70,
	k_platform_syscall_msgctl = 71,
	k_platform_syscall_fcntl = 72,
	k_platform_syscall_flock = 73,
	k_platform_syscall_fsync = 74,
	k_platform_syscall_fdatasync = 75,
	k_platform_syscall_truncate = 76,
	k_platform_syscall_ftruncate = 77,
	k_platform_syscall_getdents = 78,
	k_platform_syscall_getcwd = 79,
	k_platform_syscall_chdir = 80,
	k_platform_syscall_fchdir = 81,
	k_platform_syscall_rename = 82,
	k_platform_syscall_mkdir = 83,
	k_platform_syscall_rmdir = 84,
	k_platform_syscall_creat = 85,
	k_platform_syscall_link = 86,
	k_platform_syscall_unlink = 87,
	k_platform_syscall_symlink = 88,
	k_platform_syscall_readlink = 89,
	k_platform_syscall_chmod = 90,
	k_platform_syscall_fchmod = 91,
	k_platform_syscall_chown = 92,
	k_platform_syscall_fchown = 93,
	k_platform_syscall_lchown = 94,
	k_platform_syscall_umask = 95,
	k_platform_syscall_gettimeofday = 96,
	k_platform_syscall_getrlimit = 97,
	k_platform_syscall_getrusage = 98,
	k_platform_syscall_sysinfo = 99,
	k_platform_syscall_times = 100,
	k_platform_syscall_getuid = 102,
	k_platform_syscall_syslog = 103,
	k_platform_syscall_getgid = 104,
	k_platform_syscall_setuid = 105,
	k_platform_syscall_setgid = 106,
	k_platform_syscall_geteuid = 107,
	k_platform_syscall_getegid = 108,
	k_platform_syscall_setpgid = 109,
	k_platform_syscall_getppid = 110,
	k_platform_syscall_getpgrp = 111,
	k_platform_syscall_setsid = 112,
	k_platform_syscall_setreuid = 113,
	k_platform_syscall_setregid = 114,
	k_platform_syscall_getgroups = 115,
	k_platform_syscall_setgroups = 116,
	k_platform_syscall_setresuid = 117,
	k_platform_syscall_getresuid = 118,
	k_platform_syscall_setresgid = 119,
	k_platform_syscall_getresgid = 120,
	k_platform_syscall_getpgid = 121,
	k_platform_syscall_setfsuid = 122,
	k_platform_syscall_setfsgid = 123,
	k_platform_syscall_getsid = 124,
	k_platform_syscall_capget = 125,
	k_platform_syscall_capset = 126,
	k_platform_syscall_rt_sigsuspend = 130,
	k_platform_syscall_utime = 132,
	k_platform_syscall_mknod = 133,
	k_platform_syscall_personality = 135,
	k_platform_syscall_ustat = 136,
	k_platform_syscall_statfs = 137,
	k_platform_syscall_fstatfs = 138,
	k_platform_syscall_sysfs = 139,
	k_platform_syscall_getpriority = 140,
	k_platform_syscall_setpriority = 141,
	k_platform_syscall_sched_setparam = 142,
	k_platform_syscall_sched_getparam = 143,
	k_platform_syscall_sched_setscheduler = 144,
	k_platform_syscall_sched_getscheduler = 145,
	k_platform_syscall_sched_get_priority_max = 146,
	k_platform_syscall_sched_get_priority_min = 147,
	k_platform_syscall_sched_rr_get_interval = 148,
	k_platform_syscall_mlock = 149,
	k_platform_syscall_munlock = 150,
	k_platform_syscall_mlockall = 151,
	k_platform_syscall_munlockall = 152,
	k_platform_syscall_vhangup = 153,
	k_platform_syscall_modify_ldt = 154,
	k_platform_syscall_pivot_root = 155,
	k_platform_syscall_prctl = 157,
	k_platform_syscall_arch_prctl = 158,
	k_platform_syscall_adjtimex = 159,
	k_platform_syscall_setrlimit = 160,
	k_platform_syscall_chroot = 161,
	k_platform_syscall_sync = 162,
	k_platform_syscall_acct = 163,
	k_platform_syscall_settimeofday = 164,
	k_platform_syscall_mount = 165,
	k_platform_syscall_umount2 = 166,
	k_platform_syscall_swapon = 167,
	k_platform_syscall_swapoff = 168,
	k_platform_syscall_reboot = 169,
	k_platform_syscall_sethostname = 170,
	k_platform_syscall_setdomainname = 171,
	k_platform_syscall_iopl = 172,
	k_platform_syscall_ioperm = 173,
	k_platform_syscall_init_module = 175,
	k_platform_syscall_delete_module = 176,
	k_platform_syscall_quotactl = 179,
	k_platform_syscall_getpmsg = 181,
	k_platform_syscall_putpmsg = 182,
	k_platform_syscall_afs_syscall = 183,
	k_platform_syscall_tuxcall = 184,
	k_platform_syscall_security = 185,
	k_platform_syscall_gettid = 186,
	k_platform_syscall_readahead = 187,
	k_platform_syscall_setxattr = 188,
	k_platform_syscall_lsetxattr = 189,
	k_platform_syscall_fsetxattr = 190,
	k_platform_syscall_getxattr = 191,
	k_platform_syscall_lgetxattr = 192,
	k_platform_syscall_fgetxattr = 193,
	k_platform_syscall_listxattr = 194,
	k_platform_syscall_llistxattr = 195,
	k_platform_syscall_flistxattr = 196,
	k_platform_syscall_removexattr = 197,
	k_platform_syscall_lremovexattr = 198,
	k_platform_syscall_fremovexattr = 199,
	k_platform_syscall_tkill = 200,
	k_platform_syscall_time = 201,
	k_platform_syscall_futex = 202,
	k_platform_syscall_sched_setaffinity = 203,
	k_platform_syscall_sched_getaffinity = 204,
	k_platform_syscall_io_destroy = 207,
	k_platform_syscall_io_getevents = 208,
	k_platform_syscall_io_cancel = 210,
	k_platform_syscall_lookup_dcookie = 212,
	k_platform_syscall_epoll_create = 213,
	k_platform_syscall_remap_file_pages = 216,
	k_platform_syscall_getdents64 = 217,
	k_platform_syscall_set_tid_address = 218,
	k_platform_syscall_restart_syscall = 219,
	k_platform_syscall_semtimedop = 220,
	k_platform_syscall_fadvise64 = 221,
	k_platform_syscall_timer_settime = 223,
	k_platform_syscall_timer_gettime = 224,
	k_platform_syscall_timer_getoverrun = 225,
	k_platform_syscall_timer_delete = 226,
	k_platform_syscall_clock_settime = 227,
	k_platform_syscall_clock_gettime = 228,
	k_platform_syscall_clock_getres = 229,
	k_platform_syscall_clock_nanosleep = 230,
	k_platform_syscall_exit_group = 231,
	k_platform_syscall_epoll_wait = 232,
	k_platform_syscall_epoll_ctl = 233,
	k_platform_syscall_tgkill = 234,
	k_platform_syscall_utimes = 235,
	k_platform_syscall_mbind = 237,
	k_platform_syscall_set_mempolicy = 238,
	k_platform_syscall_get_mempolicy = 239,
	k_platform_syscall_mq_open = 240,
	k_platform_syscall_mq_unlink = 241,
	k_platform_syscall_mq_timedsend = 242,
	k_platform_syscall_mq_timedreceive = 243,
	k_platform_syscall_mq_getsetattr = 245,
	k_platform_syscall_add_key = 248,
	k_platform_syscall_request_key = 249,
	k_platform_syscall_keyctl = 250,
	k_platform_syscall_ioprio_set = 251,
	k_platform_syscall_ioprio_get = 252,
	k_platform_syscall_inotify_init = 253,
	k_platform_syscall_inotify_add_watch = 254,
	k_platform_syscall_inotify_rm_watch = 255,
	k_platform_syscall_migrate_pages = 256,
	k_platform_syscall_openat = 257,
	k_platform_syscall_mkdirat = 258,
	k_platform_syscall_mknodat = 259,
	k_platform_syscall_fchownat = 260,
	k_platform_syscall_futimesat = 261,
	k_platform_syscall_newfstatat = 262,
	k_platform_syscall_unlinkat = 263,
	k_platform_syscall_renameat = 264,
	k_platform_syscall_linkat = 265,
	k_platform_syscall_symlinkat = 266,
	k_platform_syscall_readlinkat = 267,
	k_platform_syscall_fchmodat = 268,
	k_platform_syscall_faccessat = 269,
	k_platform_syscall_pselect6 = 270,
	k_platform_syscall_ppoll = 271,
	k_platform_syscall_unshare = 272,
	k_platform_syscall_splice = 275,
	k_platform_syscall_tee = 276,
	k_platform_syscall_sync_file_range = 277,
	k_platform_syscall_utimensat = 280,
	k_platform_syscall_epoll_pwait = 281,
	k_platform_syscall_signalfd = 282,
	k_platform_syscall_timerfd_create = 283,
	k_platform_syscall_eventfd = 284,
	k_platform_syscall_fallocate = 285,
	k_platform_syscall_timerfd_settime = 286,
	k_platform_syscall_timerfd_gettime = 287,
	k_platform_syscall_accept4 = 288,
	k_platform_syscall_signalfd4 = 289,
	k_platform_syscall_eventfd2 = 290,
	k_platform_syscall_epoll_create1 = 291,
	k_platform_syscall_dup3 = 292,
	k_platform_syscall_pipe2 = 293,
	k_platform_syscall_inotify_init1 = 294,
	k_platform_syscall_perf_event_open = 298,
	k_platform_syscall_fanotify_init = 300,
	k_platform_syscall_fanotify_mark = 301,
	k_platform_syscall_prlimit64 = 302,
	k_platform_syscall_name_to_handle_at = 303,
	k_platform_syscall_open_by_handle_at = 304,
	k_platform_syscall_clock_adjtime = 305,
	k_platform_syscall_syncfs = 306,
	k_platform_syscall_setns = 308,
	k_platform_syscall_getcpu = 309,
	k_platform_syscall_kcmp = 312,
	k_platform_syscall_finit_module = 313,
	k_platform_syscall_sched_setattr = 314,
	k_platform_syscall_sched_getattr = 315,
	k_platform_syscall_renameat2 = 316,
	k_platform_syscall_seccomp = 317,
	k_platform_syscall_getrandom = 318,
	k_platform_syscall_memfd_create = 319,
	k_platform_syscall_kexec_file_load = 320,
	k_platform_syscall_bpf = 321,
	k_platform_syscall_userfaultfd = 323,
	k_platform_syscall_membarrier = 324,
	k_platform_syscall_mlock2 = 325,
	k_platform_syscall_copy_file_range = 326,
	k_platform_syscall_pkey_mprotect = 329,
	k_platform_syscall_pkey_alloc = 330,
	k_platform_syscall_pkey_free = 331,
	k_platform_syscall_statx = 332,
	k_platform_syscall_io_pgetevents = 333,
	k_platform_syscall_rseq = 334,
	k_platform_syscall_pidfd_send_signal = 424,
	k_platform_syscall_io_uring_setup = 425,
	k_platform_syscall_io_uring_enter = 426,
	k_platform_syscall_io_uring_register = 427,
	k_platform_syscall_open_tree = 428,
	k_platform_syscall_move_mount = 429,
	k_platform_syscall_fsopen = 430,
	k_platform_syscall_fsconfig = 431,
	k_platform_syscall_fsmount = 432,
	k_platform_syscall_fspick = 433,
	k_platform_syscall_pidfd_open = 434,
	k_platform_syscall_clone3 = 435,

};

#endif