最終更新:2013-01-07 (月) 09:40:46 (2818d)  

arch/x86/include/asm/unistd_32.h
Top / arch / x86 / include / asm / unistd_32.h

下記はLinux 3.2のもの。

番号名システムコール番号関数名
__NR_restart_syscall?restart_syscall?0sys_restart_syscall?
__NR_exit?exit1sys_exit?
__NR_fork?fork2ptregs_fork?
__NR_read?read3sys_read?
__NR_write?write4sys_write?
__NR_open?open5sys_open
__NR_close?close?6sys_close?
__NR_waitpid?waitpid?7sys_waitpid?
__NR_creat?creat?8sys_creat?
__NR_link?link?9sys_link?
__NR_unlink?unlink10sys_unlink?
__NR_execve?execve11ptregs_execve?
__NR_chdir?chdir?12sys_chdir?
__NR_time?time13sys_time?
__NR_mknod?mknod14sys_mknod?
__NR_chmod?chmod15sys_chmod?
__NR_lchown?lchown?16sys_lchown16?
__NR_break?break17sys_ni_syscall?
__NR_oldstat?oldstat?18sys_stat?
__NR_lseek?lseek19sys_lseek?
__NR_getpid?getpid20sys_getpid?
__NR_mount?mount21sys_mount
__NR_umount?umount22sys_oldumount?
__NR_setuid?setuid23sys_setuid16?
__NR_getuid?getuid?24sys_getuid16?
__NR_stime?stime?25sys_stime?
__NR_ptrace?ptrace26sys_ptrace?
__NR_alarm?alarm?27sys_alarm?
__NR_oldfstat?oldfstat?28sys_fstat?
__NR_pause?pause29sys_pause?
__NR_utime?utime?30sys_utime?
__NR_stty?stty31sys_ni_syscall?
__NR_gtty?gtty?32sys_ni_syscall?
__NR_access?access33sys_access?
__NR_nice?nice34sys_nice?
__NR_ftime?ftime?35sys_ni_syscall?
__NR_sync?sync36sys_sync?
__NR_kill?kill37sys_kill?
__NR_rename?rename?38sys_rename?
__NR_mkdir?mkdir39sys_mkdir?
__NR_rmdir?rmdir40sys_rmdir?
__NR_dup?dup?41sys_dup?
__NR_pipe?pipe?42sys_pipe?
__NR_times?times?43sys_times?
__NR_prof?prof?44sys_ni_syscall?
__NR_brk?brk?45sys_brk?
__NR_setgid?setgid46sys_setgid16?
__NR_getgid?getgid?47sys_getgid16?
__NR_signal?signal?48sys_signal?
__NR_geteuid?geteuid?49sys_geteuid16?
__NR_getegid?getegid?50sys_getegid16?
__NR_acct?acct?51sys_acct?
__NR_umount2?umount2?52sys_umount?
__NR_lock?lock53sys_ni_syscall?
__NR_ioctl?ioctl54sys_ioctl?
__NR_fcntl?fcntl55sys_fcntl?
__NR_mpx?mpx?56sys_ni_syscall?
__NR_setpgid?setpgid?57sys_setpgid?
__NR_ulimit?ulimit58sys_ni_syscall?
__NR_oldolduname?oldolduname?59sys_olduname?
__NR_umask?umask60sys_umask?
__NR_chroot?chroot61sys_chroot?
__NR_ustat?ustat?62sys_ustat?
__NR_dup2?dup2?63sys_dup2?
__NR_getppid?getppid?64sys_getppid?
__NR_getpgrp?getpgrp?65sys_getpgrp?
__NR_setsid?setsid?66sys_setsid?
__NR_sigaction?sigaction?67sys_sigaction?
__NR_sgetmask?sgetmask?68sys_sgetmask?
__NR_ssetmask?ssetmask?69sys_ssetmask?
__NR_setreuid?setreuid?70sys_setreuid16?
__NR_setregid?setregid?71sys_setregid16?
__NR_sigsuspend?sigsuspend?72sys_sigsuspend?
__NR_sigpending?sigpending?73sys_sigpending?
__NR_sethostname?sethostname?74sys_sethostname?
__NR_setrlimit?setrlimit?75sys_setrlimit?
__NR_getrlimit?getrlimit (Back compatible 2Gig limited rlimit)?76sys_old_getrlimit?
__NR_getrusage?getrusage77sys_getrusage?
__NR_gettimeofday?gettimeofday78sys_gettimeofday?
__NR_settimeofday?settimeofday?79sys_settimeofday?
__NR_getgroups?getgroups?80sys_getgroups16?
__NR_setgroups?setgroups?81sys_setgroups16?
__NR_select?select82sys_old_select?
__NR_symlink?symlink?83sys_symlink?
__NR_oldlstat?oldlstat?84sys_lstat?
__NR_readlink?readlink85sys_readlink?
__NR_uselib?uselib?86sys_uselib?
__NR_swapon?swapon87sys_swapon?
__NR_reboot?reboot88sys_reboot?
__NR_readdir?readdir?89sys_old_readdir?
__NR_mmap?mmap90sys_old_mmap?
__NR_munmap?munmap?91sys_munmap?
__NR_truncate?truncate?92sys_truncate?
__NR_ftruncate?ftruncate?93sys_ftruncate?
__NR_fchmod?fchmod?94sys_fchmod?
__NR_fchown?fchown?95sys_fchown16?
__NR_getpriority?getpriority?96sys_getpriority?
__NR_setpriority?setpriority?97sys_setpriority?
__NR_profil?profil?98sys_ni_syscall?
__NR_statfs?statfs?99sys_statfs?
__NR_fstatfs?fstatfs?100sys_fstatfs?
__NR_ioperm?ioperm?101sys_ioperm?
__NR_socketcall?socketcall?102sys_socketcall?
__NR_syslog?syslog103sys_syslog?
__NR_setitimer?setitimer104sys_setitimer?
__NR_getitimer?getitimer?105sys_getitimer?
__NR_stat?stat?106sys_newstat?
__NR_lstat?lstat?107sys_newlstat?
__NR_fstat?fstat108sys_newfstat?
__NR_olduname?olduname?109sys_uname?
__NR_iopl?iopl?110ptregs_iopl?
__NR_vhangup?vhangup?111sys_vhangup?
__NR_idle?idle?112sys_ni_syscall?
__NR_vm86old?vm86old?113ptregs_vm86old?
__NR_wait4?wait4?114sys_wait4?
__NR_swapoff?swapoff115sys_swapoff?
__NR_sysinfo?sysinfo116sys_sysinfo?
__NR_ipc?ipc?117sys_ipc?
__NR_fsync?fsync?118sys_fsync?
__NR_sigreturn?sigreturn?119ptregs_sigreturn?
__NR_clone?clone?120ptregs_clone?
__NR_setdomainname?setdomainname?121sys_setdomainname?
__NR_uname?uname122sys_newuname?
__NR_modify_ldt?modify_ldt?123sys_modify_ldt?
__NR_adjtimex?adjtimex?124sys_adjtimex?
__NR_mprotect?mprotect?125sys_mprotect?
__NR_sigprocmask?sigprocmask?126sys_sigprocmask?
__NR_create_module?create_module?127sys_ni_syscall?
__NR_init_module?init_module128sys_init_module
__NR_delete_module?delete_module?129sys_delete_module?
__NR_get_kernel_syms?get_kernel_syms?130sys_ni_syscall?
__NR_quotactl?quotactl?131sys_quotactl?
__NR_getpgid?getpgid?132sys_getpgid?
__NR_fchdir?fchdir?133sys_fchdir?
__NR_bdflush?bdflush?134sys_bdflush?
__NR_sysfs?sysfs135sys_sysfs?
__NR_personality?personality?136sys_personality?
__NR_afs_syscall?afs_syscall(Syscall for Andrew File System)?137sys_ni_syscall?
__NR_setfsuid?setfsuid?138sys_setfsuid16?
__NR_setfsgid?setfsgid?139sys_setfsgid16?
__NR__llseek?_llseek?140sys_llseek?
__NR_getdents?getdents?141sys_getdents?
__NR__newselect?_newselect?142sys_select?
__NR_flock?flock?143sys_flock?
__NR_msync?msync?144sys_msync?
__NR_readv?readv?145sys_readv?
__NR_writev?writev?146sys_writev?
__NR_getsid?getsid?147sys_getsid?
__NR_fdatasync?fdatasync?148sys_fdatasync?
__NR__sysctl?_sysctl?149sys_sysctl?
__NR_mlock?mlock?150sys_mlock?
__NR_munlock?munlock?151sys_munlock?
__NR_mlockall?mlockall?152sys_mlockall?
__NR_munlockall?munlockall?153sys_munlockall?
__NR_sched_setparam?sched_setparam?154sys_sched_setparam?
__NR_sched_getparam?sched_getparam?155sys_sched_getparam?
__NR_sched_setscheduler?sched_setscheduler?156sys_sched_setscheduler?
__NR_sched_getscheduler?sched_getscheduler?157sys_sched_getscheduler?
__NR_sched_yield?sched_yield?158sys_sched_yield?
__NR_sched_get_priority_max?sched_get_priority_max?159sys_sched_get_priority_max?
__NR_sched_get_priority_min?sched_get_priority_min?160sys_sched_get_priority_min?
__NR_sched_rr_get_interval?sched_rr_get_interval?161sys_sched_rr_get_interval?
__NR_nanosleep?nanosleep162sys_nanosleep?
__NR_mremap?mremap?163sys_mremap?
__NR_setresuid?setresuid?164sys_setresuid16?
__NR_getresuid?getresuid?165sys_getresuid16?
__NR_vm86?vm86?166ptregs_vm86?
__NR_query_module?query_module?167sys_ni_syscall?
__NR_poll?poll168sys_poll?
__NR_nfsservctl?nfsservctl?169sys_ni_syscall?
__NR_setresgid?setresgid?170sys_setresgid16?
__NR_getresgid?getresgid?171sys_getresgid16?
__NR_prctl?prctl?172sys_prctl?
__NR_rt_sigreturn?rt_sigreturn?173ptregs_rt_sigreturn?
__NR_rt_sigaction?rt_sigaction?174sys_rt_sigaction?
__NR_rt_sigprocmask?rt_sigprocmask?175sys_rt_sigprocmask?
__NR_rt_sigpending?rt_sigpending?176sys_rt_sigpending?
__NR_rt_sigtimedwait?rt_sigtimedwait?177sys_rt_sigtimedwait?
__NR_rt_sigqueueinfo?rt_sigqueueinfo?178sys_rt_sigqueueinfo?
__NR_rt_sigsuspend?rt_sigsuspend?179sys_rt_sigsuspend?
__NR_pread64?pread64?180sys_pread64?
__NR_pwrite64?pwrite64?181sys_pwrite64?
__NR_chown?chown182sys_chown16?
__NR_getcwd?getcwd?183sys_getcwd?
__NR_capget?capget?184sys_capget?
__NR_capset?capset?185sys_capset?
__NR_sigaltstack?sigaltstack?186ptregs_sigaltstack?
__NR_sendfile?sendfile?187sys_sendfile?
__NR_getpmsg?getpmsg (some people actually want streams)?188sys_ni_syscall?
__NR_putpmsg?putpmsg (some people actually want streams)?189sys_ni_syscall?
__NR_vfork?vfork?190ptregs_vfork?
__NR_ugetrlimit?ugetrlimit (SuS compliant getrlimit)?191sys_getrlimit?
__NR_mmap2?mmap2?192sys_mmap_pgoff?
__NR_truncate64?truncate64?193sys_truncate64?
__NR_ftruncate64?ftruncate64?194sys_ftruncate64?
__NR_stat64?stat64?195sys_stat64?
__NR_lstat64?lstat64?196sys_lstat64?
__NR_fstat64?fstat64?197sys_fstat64?
__NR_lchown32?lchown32?198sys_lchown?
__NR_getuid32?getuid32?199sys_getuid?
__NR_getgid32?getgid32?200sys_getgid?
__NR_geteuid32?geteuid32?201sys_geteuid?
__NR_getegid32?getegid32?202sys_getegid?
__NR_setreuid32?setreuid32?203sys_setreuid?
__NR_setregid32?setregid32?204sys_setregid?
__NR_getgroups32?getgroups32?205sys_getgroups?
__NR_setgroups32?setgroups32?206sys_setgroups?
__NR_fchown32?fchown32?207sys_fchown?
__NR_setresuid32?setresuid32?208sys_setresuid?
__NR_getresuid32?getresuid32?209sys_getresuid?
__NR_setresgid32?setresgid32?210sys_setresgid?
__NR_getresgid32?getresgid32?211sys_getresgid?
__NR_chown32?chown32?212sys_chown?
__NR_setuid32?setuid32?213sys_setuid?
__NR_setgid32?setgid32?214sys_setgid?
__NR_setfsuid32?setfsuid32?215sys_setfsuid?
__NR_setfsgid32?setfsgid32?216sys_setfsgid?
__NR_pivot_root?pivot_root?217sys_pivot_root?
__NR_mincore?mincore?218sys_mincore?
__NR_madvise?madvise?219sys_madvise?
__NR_madvise1?madvise1 (delete when C lib stub is removed)?219sys_getdents64?
__NR_getdents64?getdents64?220sys_fcntl64?
__NR_fcntl64?fcntl64?221sys_ni_syscall?
223 is unused?sys_ni_syscall?
__NR_gettid?gettid?224sys_gettid?
__NR_readahead?readahead225sys_readahead?
__NR_setxattr?setxattr?226sys_setxattr?
__NR_lsetxattr?lsetxattr?227sys_lsetxattr?
__NR_fsetxattr?fsetxattr?228sys_fsetxattr?
__NR_getxattr?getxattr?229sys_getxattr?
__NR_lgetxattr?lgetxattr?230sys_lgetxattr?
__NR_fgetxattr?fgetxattr?231sys_fgetxattr?
__NR_listxattr?listxattr?232sys_listxattr?
__NR_llistxattr?llistxattr?233sys_llistxattr?
__NR_flistxattr?flistxattr?234sys_flistxattr?
__NR_removexattr?removexattr?235sys_removexattr?
__NR_lremovexattr?lremovexattr?236sys_lremovexattr?
__NR_fremovexattr?fremovexattr?237sys_fremovexattr?
__NR_tkill?tkill?238sys_tkill?
__NR_sendfile64?sendfile64?239sys_sendfile64?
__NR_futex?futex?240sys_futex?
__NR_sched_setaffinity?sched_setaffinity?241sys_sched_setaffinity?
__NR_sched_getaffinity?sched_getaffinity?242sys_sched_getaffinity?
__NR_set_thread_area?set_thread_area?243sys_set_thread_area?
__NR_get_thread_area?get_thread_area?244sys_get_thread_area?
__NR_io_setup?io_setup?245sys_io_setup?
__NR_io_destroy?io_destroy?246sys_io_destroy?
__NR_io_getevents?io_getevents?247sys_io_getevents?
__NR_io_submit?io_submit?248sys_io_submit?
__NR_io_cancel?io_cancel?249sys_io_cancel?
__NR_fadvise64?fadvise64?250sys_fadvise64?
251 is available for reuse (was briefly sys_set_zone_reclaim)sys_ni_syscall?
__NR_exit_group?exit_group?252sys_exit_group?
__NR_lookup_dcookie?lookup_dcookie?253sys_lookup_dcookie?
__NR_epoll_create?epoll_create?254sys_epoll_create?
__NR_epoll_ctl?epoll_ctl255sys_epoll_ctl?
__NR_epoll_wait?epoll_wait256sys_epoll_wait?
__NR_remap_file_pages?remap_file_pages?257sys_remap_file_pages?
__NR_set_tid_address?set_tid_address?258sys_set_tid_address?
__NR_timer_create?timer_create?259sys_timer_create?
__NR_timer_settime?timer_settime?(__NR_timer_create+1)sys_timer_settime?
__NR_timer_gettime?timer_gettime?(__NR_timer_create+2)sys_timer_gettime?
__NR_timer_getoverrun?timer_getoverrun?(__NR_timer_create+3)sys_timer_getoverrun?
__NR_timer_delete?timer_delete?(__NR_timer_create+4)sys_timer_delete?
__NR_clock_settime?clock_settime?(__NR_timer_create+5)sys_clock_settime?
__NR_clock_gettime?clock_gettime(__NR_timer_create+6)sys_clock_gettime?
__NR_clock_getres?clock_getres?(__NR_timer_create+7)sys_clock_getres?
__NR_clock_nanosleep?clock_nanosleep?(__NR_timer_create+8)sys_clock_nanosleep?
__NR_statfs64?statfs64?268sys_statfs64?
__NR_fstatfs64?fstatfs64?269sys_fstatfs64?
__NR_tgkill?tgkill?270sys_tgkill?
__NR_utimes?utimes?271sys_utimes?
__NR_fadvise64_64?fadvise64_64?272sys_fadvise64_64?
__NR_vserver?vserver?273sys_ni_syscall?
__NR_mbind?mbind?274sys_mbind?
__NR_get_mempolicy?get_mempolicy?275sys_get_mempolicy?
__NR_set_mempolicy?set_mempolicy?276sys_set_mempolicy?
__NR_mq_open?mq_open?277sys_mq_open?
__NR_mq_unlink?mq_unlink?(__NR_mq_open+1)sys_mq_unlink?
__NR_mq_timedsend?mq_timedsend?(__NR_mq_open+2)sys_mq_timedsend?
__NR_mq_timedreceive?mq_timedreceive?(__NR_mq_open+3)sys_mq_timedreceive?
__NR_mq_notify?mq_notify?(__NR_mq_open+4)sys_mq_notify?
__NR_mq_getsetattr?mq_getsetattr?(__NR_mq_open+5)sys_mq_getsetattr?
__NR_kexec_load?kexec_load?283sys_kexec_load?
__NR_waitid?waitid?284sys_waitid?
/*__NR_sys_setaltroot 285*/sys_ni_syscall?
__NR_add_key?add_key?286sys_add_key?
__NR_request_key?request_key?287sys_request_key?
__NR_keyctl?keyctl?288sys_keyctl?
__NR_ioprio_set?ioprio_set?289sys_ioprio_set?
__NR_ioprio_get?ioprio_get?290sys_ioprio_get?
__NR_inotify_init?inotify_init291sys_inotify_init?
__NR_inotify_add_watch?inotify_add_watch292sys_inotify_add_watch?
__NR_inotify_rm_watch?inotify_rm_watch?293sys_inotify_rm_watch?
__NR_migrate_pages?migrate_pages?294sys_migrate_pages?
__NR_openat?openat?295sys_openat?
__NR_mkdirat?mkdirat?296sys_mkdirat?
__NR_mknodat?mknodat?297sys_mknodat?
__NR_fchownat?fchownat?298sys_fchownat?
__NR_futimesat?futimesat?299sys_futimesat?
__NR_fstatat64?fstatat64?300sys_fstatat64?
__NR_unlinkat?unlinkat?301sys_unlinkat?
__NR_renameat?renameat?302sys_renameat?
__NR_linkat?linkat?303sys_linkat?
__NR_symlinkat?symlinkat?304sys_symlinkat?
__NR_readlinkat?readlinkat?305sys_readlinkat?
__NR_fchmodat?fchmodat?306sys_fchmodat?
__NR_faccessat?faccessat?307sys_faccessat?
__NR_pselect6?pselect6?308sys_pselect6?
__NR_ppoll?ppoll?309sys_ppoll?
__NR_unshare?unshare?310sys_unshare?
__NR_set_robust_list?set_robust_list?311sys_set_robust_list?
__NR_get_robust_list?get_robust_list?312sys_get_robust_list?
__NR_splice?splice?313sys_splice?
__NR_sync_file_range?sync_file_range?314sys_sync_file_range?
__NR_tee?tee315sys_tee?
__NR_vmsplice?vmsplice?316sys_vmsplice?
__NR_move_pages?move_pages?317sys_move_pages?
__NR_getcpu?getcpu?318sys_getcpu?
__NR_epoll_pwait?epoll_pwait?319sys_epoll_pwait?
__NR_utimensat?utimensat?320sys_utimensat?
__NR_signalfd?signalfd?321sys_signalfd?
__NR_timerfd_create?timerfd_create?322sys_timerfd_create?
__NR_eventfd?eventfd?323sys_eventfd?
__NR_fallocate?fallocate?324sys_fallocate?
__NR_timerfd_settime?timerfd_settime?325sys_timerfd_settime?
__NR_timerfd_gettime?timerfd_gettime?326sys_timerfd_gettime?
__NR_signalfd4?signalfd4?327sys_signalfd4?
__NR_eventfd2?eventfd2?328sys_eventfd2?
__NR_epoll_create1?epoll_create1?329sys_epoll_create1?
__NR_dup3?dup3?330sys_dup3?
__NR_pipe2?pipe2?331sys_pipe2?
__NR_inotify_init1?inotify_init1?332sys_inotify_init1?
__NR_preadv?preadv?333sys_preadv?
__NR_pwritev?pwritev?334sys_pwritev?
__NR_rt_tgsigqueueinfo?rt_tgsigqueueinfo?335sys_rt_tgsigqueueinfo?
__NR_perf_event_open?perf_event_open?336sys_perf_event_open?
__NR_recvmmsg?recvmmsg?337sys_recvmmsg?
__NR_fanotify_init?fanotify_init?338sys_fanotify_init?
__NR_fanotify_mark?fanotify_mark?339sys_fanotify_mark?
__NR_prlimit64?prlimit64?340sys_prlimit64?
__NR_name_to_handle_at?name_to_handle_at?341sys_name_to_handle_at?
__NR_open_by_handle_at?open_by_handle_at?342sys_open_by_handle_at?
__NR_clock_adjtime?clock_adjtime?343sys_clock_adjtime?
__NR_syncfs?syncfs?344sys_syncfs?
__NR_sendmmsg?sendmmsg?345sys_sendmmsg?
__NR_setns?setns?346sys_setns?
__NR_process_vm_readv?process_vm_readv?347sys_process_vm_readv?
__NR_process_vm_writev?process_vm_writev?348sys_process_vm_writev?