2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* arch/alpha/kernel/systbls.S
|
|
|
|
*
|
|
|
|
* The system call table.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <asm/unistd.h>
|
|
|
|
|
|
|
|
.data
|
|
|
|
.align 3
|
|
|
|
.globl sys_call_table
|
|
|
|
sys_call_table:
|
|
|
|
.quad alpha_ni_syscall /* 0 */
|
|
|
|
.quad sys_exit
|
|
|
|
.quad sys_fork
|
|
|
|
.quad sys_read
|
|
|
|
.quad sys_write
|
|
|
|
.quad alpha_ni_syscall /* 5 */
|
|
|
|
.quad sys_close
|
|
|
|
.quad osf_wait4
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_link
|
|
|
|
.quad sys_unlink /* 10 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_chdir
|
|
|
|
.quad sys_fchdir
|
|
|
|
.quad sys_mknod
|
|
|
|
.quad sys_chmod /* 15 */
|
|
|
|
.quad sys_chown
|
|
|
|
.quad osf_brk
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_lseek
|
|
|
|
.quad sys_getxpid /* 20 */
|
|
|
|
.quad osf_mount
|
|
|
|
.quad sys_umount
|
|
|
|
.quad sys_setuid
|
|
|
|
.quad sys_getxuid
|
|
|
|
.quad alpha_ni_syscall /* 25 */
|
|
|
|
.quad sys_ptrace
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 30 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_access
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 35 */
|
|
|
|
.quad sys_sync
|
|
|
|
.quad sys_kill
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_setpgid
|
|
|
|
.quad alpha_ni_syscall /* 40 */
|
|
|
|
.quad sys_dup
|
|
|
|
.quad sys_pipe
|
|
|
|
.quad osf_set_program_attributes
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_open /* 45 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_getxgid
|
|
|
|
.quad osf_sigprocmask
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 50 */
|
|
|
|
.quad sys_acct
|
|
|
|
.quad sys_sigpending
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_ioctl
|
|
|
|
.quad alpha_ni_syscall /* 55 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_symlink
|
|
|
|
.quad sys_readlink
|
|
|
|
.quad sys_execve
|
|
|
|
.quad sys_umask /* 60 */
|
|
|
|
.quad sys_chroot
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_getpgrp
|
|
|
|
.quad sys_getpagesize
|
|
|
|
.quad alpha_ni_syscall /* 65 */
|
|
|
|
.quad sys_vfork
|
|
|
|
.quad sys_newstat
|
|
|
|
.quad sys_newlstat
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 70 */
|
|
|
|
.quad osf_mmap
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_munmap
|
|
|
|
.quad sys_mprotect
|
|
|
|
.quad sys_madvise /* 75 */
|
|
|
|
.quad sys_vhangup
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_getgroups
|
|
|
|
/* map BSD's setpgrp to sys_setpgid for binary compatibility: */
|
|
|
|
.quad sys_setgroups /* 80 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_setpgid
|
|
|
|
.quad osf_setitimer
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 85 */
|
|
|
|
.quad osf_getitimer
|
|
|
|
.quad sys_gethostname
|
|
|
|
.quad sys_sethostname
|
|
|
|
.quad sys_getdtablesize
|
|
|
|
.quad sys_dup2 /* 90 */
|
|
|
|
.quad sys_newfstat
|
|
|
|
.quad sys_fcntl
|
|
|
|
.quad osf_select
|
|
|
|
.quad sys_poll
|
|
|
|
.quad sys_fsync /* 95 */
|
|
|
|
.quad sys_setpriority
|
|
|
|
.quad sys_socket
|
|
|
|
.quad sys_connect
|
|
|
|
.quad sys_accept
|
|
|
|
.quad osf_getpriority /* 100 */
|
|
|
|
.quad sys_send
|
|
|
|
.quad sys_recv
|
|
|
|
.quad sys_sigreturn
|
|
|
|
.quad sys_bind
|
|
|
|
.quad sys_setsockopt /* 105 */
|
|
|
|
.quad sys_listen
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 110 */
|
|
|
|
.quad sys_sigsuspend
|
|
|
|
.quad osf_sigstack
|
|
|
|
.quad sys_recvmsg
|
|
|
|
.quad sys_sendmsg
|
|
|
|
.quad alpha_ni_syscall /* 115 */
|
|
|
|
.quad osf_gettimeofday
|
|
|
|
.quad osf_getrusage
|
|
|
|
.quad sys_getsockopt
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
#ifdef CONFIG_OSF4_COMPAT
|
|
|
|
.quad osf_readv /* 120 */
|
|
|
|
.quad osf_writev
|
|
|
|
#else
|
|
|
|
.quad sys_readv /* 120 */
|
|
|
|
.quad sys_writev
|
|
|
|
#endif
|
|
|
|
.quad osf_settimeofday
|
|
|
|
.quad sys_fchown
|
|
|
|
.quad sys_fchmod
|
|
|
|
.quad sys_recvfrom /* 125 */
|
|
|
|
.quad sys_setreuid
|
|
|
|
.quad sys_setregid
|
|
|
|
.quad sys_rename
|
|
|
|
.quad sys_truncate
|
|
|
|
.quad sys_ftruncate /* 130 */
|
|
|
|
.quad sys_flock
|
|
|
|
.quad sys_setgid
|
|
|
|
.quad sys_sendto
|
|
|
|
.quad sys_shutdown
|
|
|
|
.quad sys_socketpair /* 135 */
|
|
|
|
.quad sys_mkdir
|
|
|
|
.quad sys_rmdir
|
|
|
|
.quad osf_utimes
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 140 */
|
|
|
|
.quad sys_getpeername
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_getrlimit
|
|
|
|
.quad sys_setrlimit /* 145 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_setsid
|
|
|
|
.quad sys_quotactl
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_getsockname /* 150 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 155 */
|
|
|
|
.quad osf_sigaction
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad osf_getdirentries
|
|
|
|
.quad osf_statfs /* 160 */
|
|
|
|
.quad osf_fstatfs
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad osf_getdomainname /* 165 */
|
|
|
|
.quad sys_setdomainname
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 170 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 175 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 180 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 185 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 190 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 195 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
/* The OSF swapon has two extra arguments, but we ignore them. */
|
|
|
|
.quad sys_swapon
|
|
|
|
.quad sys_msgctl /* 200 */
|
|
|
|
.quad sys_msgget
|
|
|
|
.quad sys_msgrcv
|
|
|
|
.quad sys_msgsnd
|
|
|
|
.quad sys_semctl
|
|
|
|
.quad sys_semget /* 205 */
|
|
|
|
.quad sys_semop
|
|
|
|
.quad osf_utsname
|
|
|
|
.quad sys_lchown
|
2005-05-01 23:59:12 +08:00
|
|
|
.quad sys_shmat
|
2005-04-17 06:20:36 +08:00
|
|
|
.quad sys_shmctl /* 210 */
|
|
|
|
.quad sys_shmdt
|
|
|
|
.quad sys_shmget
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 215 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_msync
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 220 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 225 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 230 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_getpgid
|
|
|
|
.quad sys_getsid
|
|
|
|
.quad sys_sigaltstack /* 235 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 240 */
|
|
|
|
.quad osf_sysinfo
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad osf_proplist_syscall
|
|
|
|
.quad alpha_ni_syscall /* 245 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 250 */
|
|
|
|
.quad osf_usleep_thread
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad sys_sysfs
|
|
|
|
.quad alpha_ni_syscall /* 255 */
|
|
|
|
.quad osf_getsysinfo
|
|
|
|
.quad osf_setsysinfo
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 260 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 265 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 270 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 275 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 280 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 285 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 290 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall /* 295 */
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
.quad alpha_ni_syscall
|
|
|
|
/* linux-specific system calls start at 300 */
|
|
|
|
.quad sys_bdflush /* 300 */
|
|
|
|
.quad sys_sethae
|
|
|
|
.quad sys_mount
|
|
|
|
.quad sys_old_adjtimex
|
|
|
|
.quad sys_swapoff
|
|
|
|
.quad sys_getdents /* 305 */
|
|
|
|
.quad sys_ni_syscall /* 306: old create_module */
|
|
|
|
.quad sys_init_module
|
|
|
|
.quad sys_delete_module
|
|
|
|
.quad sys_ni_syscall /* 309: old get_kernel_syms */
|
|
|
|
.quad sys_syslog /* 310 */
|
|
|
|
.quad sys_reboot
|
|
|
|
.quad sys_clone
|
|
|
|
.quad sys_uselib
|
|
|
|
.quad sys_mlock
|
|
|
|
.quad sys_munlock /* 315 */
|
|
|
|
.quad sys_mlockall
|
|
|
|
.quad sys_munlockall
|
|
|
|
.quad sys_sysinfo
|
|
|
|
.quad sys_sysctl
|
|
|
|
.quad sys_ni_syscall /* 320 */
|
|
|
|
.quad sys_oldumount
|
|
|
|
.quad sys_swapon
|
|
|
|
.quad sys_times
|
|
|
|
.quad sys_personality
|
|
|
|
.quad sys_setfsuid /* 325 */
|
|
|
|
.quad sys_setfsgid
|
|
|
|
.quad sys_ustat
|
|
|
|
.quad sys_statfs
|
|
|
|
.quad sys_fstatfs
|
|
|
|
.quad sys_sched_setparam /* 330 */
|
|
|
|
.quad sys_sched_getparam
|
|
|
|
.quad sys_sched_setscheduler
|
|
|
|
.quad sys_sched_getscheduler
|
|
|
|
.quad sys_sched_yield
|
|
|
|
.quad sys_sched_get_priority_max /* 335 */
|
|
|
|
.quad sys_sched_get_priority_min
|
|
|
|
.quad sys_sched_rr_get_interval
|
|
|
|
.quad sys_ni_syscall /* sys_afs_syscall */
|
|
|
|
.quad sys_newuname
|
|
|
|
.quad sys_nanosleep /* 340 */
|
|
|
|
.quad sys_mremap
|
|
|
|
.quad sys_nfsservctl
|
|
|
|
.quad sys_setresuid
|
|
|
|
.quad sys_getresuid
|
|
|
|
.quad sys_pciconfig_read /* 345 */
|
|
|
|
.quad sys_pciconfig_write
|
|
|
|
.quad sys_ni_syscall /* 347: old query_module */
|
|
|
|
.quad sys_prctl
|
|
|
|
.quad sys_pread64
|
|
|
|
.quad sys_pwrite64 /* 350 */
|
|
|
|
.quad sys_rt_sigreturn
|
|
|
|
.quad sys_rt_sigaction
|
|
|
|
.quad sys_rt_sigprocmask
|
|
|
|
.quad sys_rt_sigpending
|
|
|
|
.quad sys_rt_sigtimedwait /* 355 */
|
|
|
|
.quad sys_rt_sigqueueinfo
|
|
|
|
.quad sys_rt_sigsuspend
|
|
|
|
.quad sys_select
|
|
|
|
.quad sys_gettimeofday
|
|
|
|
.quad sys_settimeofday /* 360 */
|
|
|
|
.quad sys_getitimer
|
|
|
|
.quad sys_setitimer
|
|
|
|
.quad sys_utimes
|
|
|
|
.quad sys_getrusage
|
|
|
|
.quad sys_wait4 /* 365 */
|
|
|
|
.quad sys_adjtimex
|
|
|
|
.quad sys_getcwd
|
|
|
|
.quad sys_capget
|
|
|
|
.quad sys_capset
|
|
|
|
.quad sys_sendfile64 /* 370 */
|
|
|
|
.quad sys_setresgid
|
|
|
|
.quad sys_getresgid
|
|
|
|
.quad sys_ni_syscall /* sys_dipc */
|
|
|
|
.quad sys_pivot_root
|
|
|
|
.quad sys_mincore /* 375 */
|
|
|
|
.quad sys_pciconfig_iobase
|
|
|
|
.quad sys_getdents64
|
|
|
|
.quad sys_gettid
|
|
|
|
.quad sys_readahead
|
|
|
|
.quad sys_ni_syscall /* 380 */
|
|
|
|
.quad sys_tkill
|
|
|
|
.quad sys_setxattr
|
|
|
|
.quad sys_lsetxattr
|
|
|
|
.quad sys_fsetxattr
|
|
|
|
.quad sys_getxattr /* 385 */
|
|
|
|
.quad sys_lgetxattr
|
|
|
|
.quad sys_fgetxattr
|
|
|
|
.quad sys_listxattr
|
|
|
|
.quad sys_llistxattr
|
|
|
|
.quad sys_flistxattr /* 390 */
|
|
|
|
.quad sys_removexattr
|
|
|
|
.quad sys_lremovexattr
|
|
|
|
.quad sys_fremovexattr
|
|
|
|
.quad sys_futex
|
|
|
|
.quad sys_sched_setaffinity /* 395 */
|
|
|
|
.quad sys_sched_getaffinity
|
|
|
|
.quad sys_ni_syscall /* 397, tux */
|
|
|
|
.quad sys_io_setup
|
|
|
|
.quad sys_io_destroy
|
|
|
|
.quad sys_io_getevents /* 400 */
|
|
|
|
.quad sys_io_submit
|
|
|
|
.quad sys_io_cancel
|
|
|
|
.quad sys_ni_syscall /* 403, sys_alloc_hugepages */
|
|
|
|
.quad sys_ni_syscall /* 404, sys_free_hugepages */
|
|
|
|
.quad sys_exit_group /* 405 */
|
|
|
|
.quad sys_lookup_dcookie
|
|
|
|
.quad sys_epoll_create
|
|
|
|
.quad sys_epoll_ctl
|
|
|
|
.quad sys_epoll_wait
|
|
|
|
.quad sys_remap_file_pages /* 410 */
|
|
|
|
.quad sys_set_tid_address
|
|
|
|
.quad sys_restart_syscall
|
|
|
|
.quad sys_fadvise64
|
|
|
|
.quad sys_timer_create
|
|
|
|
.quad sys_timer_settime /* 415 */
|
|
|
|
.quad sys_timer_gettime
|
|
|
|
.quad sys_timer_getoverrun
|
|
|
|
.quad sys_timer_delete
|
|
|
|
.quad sys_clock_settime
|
|
|
|
.quad sys_clock_gettime /* 420 */
|
|
|
|
.quad sys_clock_getres
|
|
|
|
.quad sys_clock_nanosleep
|
|
|
|
.quad sys_semtimedop
|
|
|
|
.quad sys_tgkill
|
|
|
|
.quad sys_stat64 /* 425 */
|
|
|
|
.quad sys_lstat64
|
|
|
|
.quad sys_fstat64
|
|
|
|
.quad sys_ni_syscall /* sys_vserver */
|
|
|
|
.quad sys_ni_syscall /* sys_mbind */
|
|
|
|
.quad sys_ni_syscall /* sys_get_mempolicy */
|
|
|
|
.quad sys_ni_syscall /* sys_set_mempolicy */
|
|
|
|
.quad sys_mq_open
|
|
|
|
.quad sys_mq_unlink
|
|
|
|
.quad sys_mq_timedsend
|
|
|
|
.quad sys_mq_timedreceive /* 435 */
|
|
|
|
.quad sys_mq_notify
|
|
|
|
.quad sys_mq_getsetattr
|
|
|
|
.quad sys_waitid
|
2005-04-22 02:28:26 +08:00
|
|
|
.quad sys_add_key
|
|
|
|
.quad sys_request_key /* 440 */
|
|
|
|
.quad sys_keyctl
|
2005-07-28 08:10:52 +08:00
|
|
|
.quad sys_ioprio_set
|
|
|
|
.quad sys_ioprio_get
|
|
|
|
.quad sys_inotify_init
|
|
|
|
.quad sys_inotify_add_watch /* 445 */
|
|
|
|
.quad sys_inotify_rm_watch
|
2007-05-30 07:03:28 +08:00
|
|
|
.quad sys_fdatasync
|
|
|
|
.quad sys_kexec_load
|
|
|
|
.quad sys_migrate_pages
|
|
|
|
.quad sys_openat /* 450 */
|
|
|
|
.quad sys_mkdirat
|
|
|
|
.quad sys_mknodat
|
|
|
|
.quad sys_fchownat
|
|
|
|
.quad sys_futimesat
|
|
|
|
.quad sys_fstatat64 /* 455 */
|
|
|
|
.quad sys_unlinkat
|
|
|
|
.quad sys_renameat
|
|
|
|
.quad sys_linkat
|
|
|
|
.quad sys_symlinkat
|
|
|
|
.quad sys_readlinkat /* 460 */
|
|
|
|
.quad sys_fchmodat
|
|
|
|
.quad sys_faccessat
|
|
|
|
.quad sys_pselect6
|
|
|
|
.quad sys_ppoll
|
|
|
|
.quad sys_unshare /* 465 */
|
|
|
|
.quad sys_set_robust_list
|
|
|
|
.quad sys_get_robust_list
|
|
|
|
.quad sys_splice
|
|
|
|
.quad sys_sync_file_range
|
|
|
|
.quad sys_tee /* 470 */
|
|
|
|
.quad sys_vmsplice
|
|
|
|
.quad sys_move_pages
|
|
|
|
.quad sys_getcpu
|
|
|
|
.quad sys_epoll_pwait
|
|
|
|
.quad sys_utimensat /* 475 */
|
|
|
|
.quad sys_signalfd
|
timerfd: new timerfd API
This is the new timerfd API as it is implemented by the following patch:
int timerfd_create(int clockid, int flags);
int timerfd_settime(int ufd, int flags,
const struct itimerspec *utmr,
struct itimerspec *otmr);
int timerfd_gettime(int ufd, struct itimerspec *otmr);
The timerfd_create() API creates an un-programmed timerfd fd. The "clockid"
parameter can be either CLOCK_MONOTONIC or CLOCK_REALTIME.
The timerfd_settime() API give new settings by the timerfd fd, by optionally
retrieving the previous expiration time (in case the "otmr" parameter is not
NULL).
The time value specified in "utmr" is absolute, if the TFD_TIMER_ABSTIME bit
is set in the "flags" parameter. Otherwise it's a relative time.
The timerfd_gettime() API returns the next expiration time of the timer, or
{0, 0} if the timerfd has not been set yet.
Like the previous timerfd API implementation, read(2) and poll(2) are
supported (with the same interface). Here's a simple test program I used to
exercise the new timerfd APIs:
http://www.xmailserver.org/timerfd-test2.c
[akpm@linux-foundation.org: coding-style cleanups]
[akpm@linux-foundation.org: fix ia64 build]
[akpm@linux-foundation.org: fix m68k build]
[akpm@linux-foundation.org: fix mips build]
[akpm@linux-foundation.org: fix alpha, arm, blackfin, cris, m68k, s390, sparc and sparc64 builds]
[heiko.carstens@de.ibm.com: fix s390]
[akpm@linux-foundation.org: fix powerpc build]
[akpm@linux-foundation.org: fix sparc64 more]
Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-05 14:27:26 +08:00
|
|
|
.quad sys_ni_syscall
|
2007-05-30 07:03:28 +08:00
|
|
|
.quad sys_eventfd
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
.size sys_call_table, . - sys_call_table
|
|
|
|
.type sys_call_table, @object
|
|
|
|
|
|
|
|
/* Remember to update everything, kids. */
|
|
|
|
.ifne (. - sys_call_table) - (NR_SYSCALLS * 8)
|
|
|
|
.err
|
|
|
|
.endif
|