Chinaunix首页 | 论坛 | 博客
  • 博客访问: 660143
  • 博文数量: 171
  • 博客积分: 2246
  • 博客等级: 大尉
  • 技术积分: 1574
  • 用 户 组: 普通用户
  • 注册时间: 2012-05-31 11:45
文章分类

全部博文(171)

文章存档

2018年(3)

2017年(4)

2015年(1)

2014年(20)

2013年(57)

2012年(86)

分类: LINUX

2013-10-17 18:04:45





  1. /**
  2.  * linux/arch/m68knommu/kernel/syscalltable.S
  3.  *
  4.  * Copyright (C) 2002, Greg Ungerer (gerg@snapgear.com)
  5.  *
  6.  * Based on older entry.S files, the following copyrights apply:
  7.  *
  8.  * Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>,
  9.  * Kenneth Albanowski <kjahds@kjahds.com>,
  10.  * Copyright (C) 2000 Lineo Inc. (www.lineo.com)
  11.  * Copyright (C) 1991, 1992 Linus Torvalds
  12.  */

  13. #include <linux/sys.h>
  14. #include <linux/linkage.h>
  15. #include <asm/unistd.h>

  16. .text
  17. ALIGN
  18. ENTRY(sys_call_table)
  19.     .long sys_restart_syscall /** 0 - old "setup()" system call */
  20.     .long sys_exit
  21.     .long sys_fork
  22.     .long sys_read
  23.     .long sys_write
  24.     .long sys_open /** 5 */
  25.     .long sys_close
  26.     .long sys_waitpid
  27.     .long sys_creat
  28.     .long sys_link
  29.     .long sys_unlink /** 10 */
  30.     .long sys_execve
  31.     .long sys_chdir
  32.     .long sys_time
  33.     .long sys_mknod
  34.     .long sys_chmod /** 15 */
  35.     .long sys_chown16
  36.     .long sys_ni_syscall /** old break syscall holder */
  37.     .long sys_stat
  38.     .long sys_lseek
  39.     .long sys_getpid /** 20 */
  40.     .long sys_mount
  41.     .long sys_oldumount
  42.     .long sys_setuid16
  43.     .long sys_getuid16
  44.     .long sys_stime /** 25 */
  45.     .long sys_ptrace
  46.     .long sys_alarm
  47.     .long sys_fstat
  48.     .long sys_pause
  49.     .long sys_utime /** 30 */
  50.     .long sys_ni_syscall /** old stty syscall holder */
  51.     .long sys_ni_syscall /** old gtty syscall holder */
  52.     .long sys_access
  53.     .long sys_nice
  54.     .long sys_ni_syscall /** 35 */ /** old ftime syscall holder */
  55.     .long sys_sync
  56.     .long sys_kill
  57.     .long sys_rename
  58.     .long sys_mkdir
  59.     .long sys_rmdir /** 40 */
  60.     .long sys_dup
  61.     .long sys_pipe
  62.     .long sys_times
  63.     .long sys_ni_syscall /** old prof syscall holder */
  64.     .long sys_brk /** 45 */
  65.     .long sys_setgid16
  66.     .long sys_getgid16
  67.     .long sys_signal
  68.     .long sys_geteuid16
  69.     .long sys_getegid16 /** 50 */
  70.     .long sys_acct
  71.     .long sys_umount /** recycled never used phys() */
  72.     .long sys_ni_syscall /** old lock syscall holder */
  73.     .long sys_ioctl
  74.     .long sys_fcntl /** 55 */
  75.     .long sys_ni_syscall /** old mpx syscall holder */
  76.     .long sys_setpgid
  77.     .long sys_ni_syscall /** old ulimit syscall holder */
  78.     .long sys_ni_syscall
  79.     .long sys_umask /** 60 */
  80.     .long sys_chroot
  81.     .long sys_ustat
  82.     .long sys_dup2
  83.     .long sys_getppid
  84.     .long sys_getpgrp /** 65 */
  85.     .long sys_setsid
  86.     .long sys_sigaction
  87.     .long sys_sgetmask
  88.     .long sys_ssetmask
  89.     .long sys_setreuid16 /** 70 */
  90.     .long sys_setregid16
  91.     .long sys_sigsuspend
  92.     .long sys_sigpending
  93.     .long sys_sethostname
  94.     .long sys_setrlimit /** 75 */
  95.     .long sys_old_getrlimit
  96.     .long sys_getrusage
  97.     .long sys_gettimeofday
  98.     .long sys_settimeofday
  99.     .long sys_getgroups16 /** 80 */
  100.     .long sys_setgroups16
  101.     .long sys_old_select
  102.     .long sys_symlink
  103.     .long sys_lstat
  104.     .long sys_readlink /** 85 */
  105.     .long sys_uselib
  106.     .long sys_ni_syscall /** sys_swapon */
  107.     .long sys_reboot
  108.     .long sys_old_readdir
  109.     .long sys_old_mmap /** 90 */
  110.     .long sys_munmap
  111.     .long sys_truncate
  112.     .long sys_ftruncate
  113.     .long sys_fchmod
  114.     .long sys_fchown16 /** 95 */
  115.     .long sys_getpriority
  116.     .long sys_setpriority
  117.     .long sys_ni_syscall /** old profil syscall holder */
  118.     .long sys_statfs
  119.     .long sys_fstatfs /** 100 */
  120.     .long sys_ni_syscall /** ioperm for i386 */
  121.     .long sys_socketcall
  122.     .long sys_syslog
  123.     .long sys_setitimer
  124.     .long sys_getitimer /** 105 */
  125.     .long sys_newstat
  126.     .long sys_newlstat
  127.     .long sys_newfstat
  128.     .long sys_ni_syscall
  129.     .long sys_ni_syscall /** iopl for i386 */ /** 110 */
  130.     .long sys_vhangup
  131.     .long sys_ni_syscall /** obsolete idle() syscall */
  132.     .long sys_ni_syscall /** vm86old for i386 */
  133.     .long sys_wait4
  134.     .long sys_ni_syscall /** 115 */ /** sys_swapoff */
  135.     .long sys_sysinfo
  136.     .long sys_ipc
  137.     .long sys_fsync
  138.     .long sys_sigreturn
  139.     .long sys_clone /** 120 */
  140.     .long sys_setdomainname
  141.     .long sys_newuname
  142.     .long sys_cacheflush /** modify_ldt for i386 */
  143.     .long sys_adjtimex
  144.     .long sys_ni_syscall /** 125 */ /** sys_mprotect */
  145.     .long sys_sigprocmask
  146.     .long sys_ni_syscall /** old "creat_module" */
  147.     .long sys_init_module
  148.     .long sys_delete_module
  149.     .long sys_ni_syscall /** 130: old "get_kernel_syms" */
  150.     .long sys_quotactl
  151.     .long sys_getpgid
  152.     .long sys_fchdir
  153.     .long sys_bdflush
  154.     .long sys_sysfs /** 135 */
  155.     .long sys_personality
  156.     .long sys_ni_syscall /** for afs_syscall */
  157.     .long sys_setfsuid16
  158.     .long sys_setfsgid16
  159.     .long sys_llseek /** 140 */
  160.     .long sys_getdents
  161.     .long sys_select
  162.     .long sys_flock
  163.     .long sys_ni_syscall /** sys_msync */
  164.     .long sys_readv /** 145 */
  165.     .long sys_writev
  166.     .long sys_getsid
  167.     .long sys_fdatasync
  168.     .long sys_sysctl
  169.     .long sys_ni_syscall /** 150 */ /** sys_mlock */
  170.     .long sys_ni_syscall /** sys_munlock */
  171.     .long sys_ni_syscall /** sys_mlockall */
  172.     .long sys_ni_syscall /** sys_munlockall */
  173.     .long sys_sched_setparam
  174.     .long sys_sched_getparam /** 155 */
  175.     .long sys_sched_setscheduler
  176.     .long sys_sched_getscheduler
  177.     .long sys_sched_yield
  178.     .long sys_sched_get_priority_max
  179.     .long sys_sched_get_priority_min /** 160 */
  180.     .long sys_sched_rr_get_interval
  181.     .long sys_nanosleep
  182.     .long sys_ni_syscall /** sys_mremap */
  183.     .long sys_setresuid16
  184.     .long sys_getresuid16 /** 165 */
  185.     .long sys_getpagesize /** sys_getpagesize */
  186.     .long sys_ni_syscall /** old "query_module" */
  187.     .long sys_poll
  188.     .long sys_ni_syscall /** sys_nfsservctl */
  189.     .long sys_setresgid16 /** 170 */
  190.     .long sys_getresgid16
  191.     .long sys_prctl
  192.     .long sys_rt_sigreturn
  193.     .long sys_rt_sigaction
  194.     .long sys_rt_sigprocmask /** 175 */
  195.     .long sys_rt_sigpending
  196.     .long sys_rt_sigtimedwait
  197.     .long sys_rt_sigqueueinfo
  198.     .long sys_rt_sigsuspend
  199.     .long sys_pread64 /** 180 */
  200.     .long sys_pwrite64
  201.     .long sys_lchown16
  202.     .long sys_getcwd
  203.     .long sys_capget
  204.     .long sys_capset /** 185 */
  205.     .long sys_sigaltstack
  206.     .long sys_sendfile
  207.     .long sys_ni_syscall /** streams1 */
  208.     .long sys_ni_syscall /** streams2 */
  209.     .long sys_vfork /** 190 */
  210.     .long sys_getrlimit
  211.     .long sys_mmap_pgoff
  212.     .long sys_truncate64
  213.     .long sys_ftruncate64
  214.     .long sys_stat64 /** 195 */
  215.     .long sys_lstat64
  216.     .long sys_fstat64
  217.     .long sys_chown
  218.     .long sys_getuid
  219.     .long sys_getgid /** 200 */
  220.     .long sys_geteuid
  221.     .long sys_getegid
  222.     .long sys_setreuid
  223.     .long sys_setregid
  224.     .long sys_getgroups /** 205 */
  225.     .long sys_setgroups
  226.     .long sys_fchown
  227.     .long sys_setresuid
  228.     .long sys_getresuid
  229.     .long sys_setresgid /** 210 */
  230.     .long sys_getresgid
  231.     .long sys_lchown
  232.     .long sys_setuid
  233.     .long sys_setgid
  234.     .long sys_setfsuid /** 215 */
  235.     .long sys_setfsgid
  236.     .long sys_pivot_root
  237.     .long sys_ni_syscall
  238.     .long sys_ni_syscall
  239.     .long sys_getdents64 /** 220 */
  240.     .long sys_gettid
  241.     .long sys_tkill
  242.     .long sys_setxattr
  243.     .long sys_lsetxattr
  244.     .long sys_fsetxattr /** 225 */
  245.     .long sys_getxattr
  246.     .long sys_lgetxattr
  247.     .long sys_fgetxattr
  248.     .long sys_listxattr
  249.     .long sys_llistxattr /** 230 */
  250.     .long sys_flistxattr
  251.     .long sys_removexattr
  252.     .long sys_lremovexattr
  253.     .long sys_fremovexattr
  254.     .long sys_futex /** 235 */
  255.     .long sys_sendfile64
  256.     .long sys_ni_syscall /** sys_mincore */
  257.     .long sys_ni_syscall /** sys_madvise */
  258.     .long sys_fcntl64
  259.     .long sys_readahead /** 240 */
  260.     .long sys_io_setup
  261.     .long sys_io_destroy
  262.     .long sys_io_getevents
  263.     .long sys_io_submit
  264.     .long sys_io_cancel /** 245 */
  265.     .long sys_fadvise64
  266.     .long sys_exit_group
  267.     .long sys_lookup_dcookie
  268.     .long sys_epoll_create
  269.     .long sys_epoll_ctl /** 250 */
  270.     .long sys_epoll_wait
  271.     .long sys_ni_syscall /** sys_remap_file_pages */
  272.     .long sys_set_tid_address
  273.     .long sys_timer_create
  274.     .long sys_timer_settime /** 255 */
  275.     .long sys_timer_gettime
  276.     .long sys_timer_getoverrun
  277.     .long sys_timer_delete
  278.     .long sys_clock_settime
  279.     .long sys_clock_gettime /** 260 */
  280.     .long sys_clock_getres
  281.     .long sys_clock_nanosleep
  282.     .long sys_statfs64
  283.     .long sys_fstatfs64
  284.     .long sys_tgkill /** 265 */
  285.     .long sys_utimes
  286.     .long sys_fadvise64_64
  287.     .long sys_mbind
  288.     .long sys_get_mempolicy
  289.     .long sys_set_mempolicy /** 270 */
  290.     .long sys_mq_open
  291.     .long sys_mq_unlink
  292.     .long sys_mq_timedsend
  293.     .long sys_mq_timedreceive
  294.     .long sys_mq_notify /** 275 */
  295.     .long sys_mq_getsetattr
  296.     .long sys_waitid
  297.     .long sys_ni_syscall /** for sys_vserver */
  298.     .long sys_add_key
  299.     .long sys_request_key /** 280 */
  300.     .long sys_keyctl
  301.     .long sys_ioprio_set
  302.     .long sys_ioprio_get
  303.     .long sys_inotify_init
  304.     .long sys_inotify_add_watch /** 285 */
  305.     .long sys_inotify_rm_watch
  306.     .long sys_migrate_pages
  307.     .long sys_openat
  308.     .long sys_mkdirat
  309.     .long sys_mknodat /** 290 */
  310.     .long sys_fchownat
  311.     .long sys_futimesat
  312.     .long sys_fstatat64
  313.     .long sys_unlinkat
  314.     .long sys_renameat /** 295 */
  315.     .long sys_linkat
  316.     .long sys_symlinkat
  317.     .long sys_readlinkat
  318.     .long sys_fchmodat
  319.     .long sys_faccessat /** 300 */
  320.     .long sys_ni_syscall /** Reserved for pselect6 */
  321.     .long sys_ni_syscall /** Reserved for ppoll */
  322.     .long sys_unshare
  323.     .long sys_set_robust_list
  324.     .long sys_get_robust_list /** 305 */
  325.     .long sys_splice
  326.     .long sys_sync_file_range
  327.     .long sys_tee
  328.     .long sys_vmsplice
  329.     .long sys_move_pages /** 310 */
  330.     .long sys_sched_setaffinity
  331.     .long sys_sched_getaffinity
  332.     .long sys_kexec_load
  333.     .long sys_getcpu
  334.     .long sys_epoll_pwait /** 315 */
  335.     .long sys_utimensat
  336.     .long sys_signalfd
  337.     .long sys_timerfd_create
  338.     .long sys_eventfd
  339.     .long sys_fallocate /** 320 */
  340.     .long sys_timerfd_settime
  341.     .long sys_timerfd_gettime
  342.     .long sys_signalfd4
  343.     .long sys_eventfd2
  344.     .long sys_epoll_create1 /** 325 */
  345.     .long sys_dup3
  346.     .long sys_pipe2
  347.     .long sys_inotify_init1
  348.     .long sys_preadv
  349.     .long sys_pwritev /** 330 */
  350.     .long sys_rt_tgsigqueueinfo
  351.     .long sys_perf_event_open
  352.     .long sys_get_thread_area
  353.     .long sys_set_thread_area
  354.     .long sys_atomic_cmpxchg_32 /** 335 */
  355.     .long sys_atomic_barrier
  356.     .long sys_fanotify_init
  357.     .long sys_fanotify_mark
  358.     .long sys_prlimit64

  359.     .rept NR_syscalls-(.-sys_call_table)/4
  360.         .long sys_ni_syscall
  361.     .endr



阅读(1097) | 评论(0) | 转发(0) |
0

上一篇:sys_call_table

下一篇:oProfile的安装与使用

给主人留下些什么吧!~~