(1) The system call number is defined in the/usr/include/asm/unistd. h file.
(2) 2.6.16 is defined as follows:
# Define _ NR_restart_syscall 0
# Define _ NR_exit 1
# Define _ NR_fork 2
# Define _ NR_read 3
# Define _ NR_write 4
# Define _ NR_open 5
# Define _ NR_close 6
# Define _ NR_waitpid 7
# Define _ NR_creat 8
# Define _ NR_link 9
# Define _ NR_unlink 10
# Define _ NR_execve 11
# Define _ NR_chdir 12
# Define _ NR_time 13
# Define _ NR_mknod 14
# Define _ NR_chmod 15
# Define _ NR_lchown 16
# Define _ NR_break 17
# Define _ NR_oldstat 18
# Define _ NR_lseek 19
# Define _ NR_getpid 20
# Define _ NR_mount 21
# Define _ NR_umount 22
# Define _ NR_setuid 23
# Define _ NR_getuid 24
# Define _ NR_stime 25
# Define _ NR_ptrace 26
# Define _ NR_alarm 27
# Define _ NR_oldfstat 28
# Define _ NR_pause 29
# Define _ NR_utime 30
# Define _ NR_stty 31
# Define _ NR_gtty 32
# Define _ NR_access 33
# Define _ NR_nice 34
# Define _ NR_ftime 35
# Define _ NR_sync 36
# Define _ NR_kill 37
# Define _ NR_rename 38
# Define _ NR_mkdir 39
# Define _ NR_rmdir 40
# Define _ NR_dup 41
# Define _ NR_pipe 42
# Define _ NR_times 43
# Define _ NR_prof 44
# Define _ NR_brk 45
# Define _ NR_setgid 46
# Define _ NR_getgid 47
# Define _ NR_signal 48
# Define _ NR_geteuid 49
# Define _ NR_getegid 50
# Define _ NR_acct 51
# Define _ NR_umount2 52
# Define _ NR_lock 53
# Define _ NR_ioctl 54
# Define _ NR_fcntl 55
# Define _ NR_mpx 56
# Define _ NR_setpgid 57
# Define _ NR_ulimit 58
# Define _ NR_oldolduname 59
# Define _ NR_umask 60
# Define _ NR_chroot 61
# Define _ NR_ustat 62
# Define _ NR_dup2 63
# Define _ NR_getppid 64
# Define _ NR_getpgrp 65
# Define _ NR_setsid 66
# Define _ NR_sigaction 67
# Define _ NR_sgetmask 68
# Define _ NR_ssetmask 69
# Define _ NR_setreuid 70
# Define _ NR_setregid 71
# Define _ NR_sigsuspend 72
# Define _ NR_sigpending 73
# Define _ NR_sethostname 74
# Define _ NR_setrlimit 75
# Define _ NR_getrlimit 76/* Back compatible 2Gig limited rlimit */
# Define _ NR_getrusage 77
# Define _ NR_gettimeofday 78
# Define _ NR_settimeofday 79
# Define _ NR_getgroups 80
# Define _ NR_setgroups 81
# Define _ NR_select 82
# Define _ NR_symlink 83
# Define _ NR_oldlstat 84
# Define _ NR_readlink 85
# Define _ NR_uselib 86
# Define _ NR_swapon 87
# Define _ NR_reboot 88
# Define _ NR_readdir 89
# Define _ NR_mmap 90
# Define _ NR_munmap 91
# Define _ NR_truncate 92
# Define _ NR_ftruncate 93
# Define _ NR_fchmod 94
# Define _ NR_fchown 95
# Define _ NR_getpriority 96
# Define _ NR_setpriority 97
# Define _ NR_profil 98
# Define _ NR_statfs 99
# Define _ NR_fstatfs 100
# Define _ NR_ioperm 101
# Define _ NR_socketcall 102
# Define _ NR_syslog 103
# Define _ NR_setitimer 104
# Define _ NR_getitimer 105
# Define _ NR_stat 106
# Define _ NR_lstat 107
# Define _ NR_fstat 108
# Define _ NR_olduname 109
# Define _ NR_iopl 110
# Define _ NR_vhangup 111
# Define _ NR_idle 112
# Define _ NR_vm86old 113
# Define _ NR_wait4 114
# Define _ NR_swapoff 115
# Definely _ NR_sysinfo 116
# Define _ NR_ipc 117
# Define _ NR_fsync 118
# Define _ NR_sigreturn 119
# Define _ NR_clone 120
# Define _ NR_setdomainname 121
# Definely _ NR_uname 122
# Define _ NR_modify_ldt 123
# Define _ NR_adjtimex 124
# Define _ NR_mprotect 125
# Define _ NR_sigprocmask 126
# Define __ NR_create_module 127
# Define _ NR_init_module 128
# Define _ NR_delete_module 129
# Define __ NR_get_kernel_syms 130
# Define _ NR_quotactl 131
# Define _ NR_getpgid 132
# Define _ NR_fchdir 133
# Define _ NR_bdflush 134
# Define _ NR_sysfs 135
# Define _ nr_personnel 136
# Define _ NR_afs_syscall 137/* Syscall for Andrew File System */
# Define _ NR_setfsuid 138
# Define _ NR_setfsgid 139
# Define _ NR _ llseek 140
# Define _ NR_getdents 141
# Define _ NR _ newselect 142
# Define _ NR_flock 143
# Define _ NR_msync 144
# Define _ NR_readv 145
# Define _ NR_writev 146
# Define _ NR_getsid 147
# Define _ NR_fdatasync 148
# Define _ NR _ sysctl 149
# Define _ NR_mlock 150
# Define _ NR_munlock 151
# Define _ NR_mlockall 152
# Define _ NR_munlockall 153
# Define _ NR_sched_setparam 154
# Define _ NR_sched_getparam 155
# Define _ nr_sched_setsched1_156
# Define _ nr_sched_getsched1_157
# Define _ NR_sched_yield 158
# Define _ NR_sched_get_priority_max 159
# Define _ NR_sched_get_priority_min 160
# Define _ NR_sched_rr_get_interval 161
# Define _ NR_nanosleep 162
# Define _ NR_mremap 163
# Define _ NR_setresuid 164
# Define _ NR_getresuid 165
# Define _ NR_vm86 166
# Definely _ NR_query_module 167
# Define _ NR_poll 168
# Define _ NR_nfsservctl 169
# Define _ NR_setresgid 170
# Define _ NR_getresgid 171
# Definely _ NR_prctl 172
# Define _ NR_rt_sigreturn 173
# Definely _ NR_rt_sigaction 174
# Define _ NR_rt_sigprocmask 175
# Define _ NR_rt_sigpending 176
# Define _ NR_rt_sigtimedwait 177
# Define _ NR_rt_sigqueueinfo 178
# Define _ NR_rt_sigsuspend 179
# Define _ NR_pread64 180.
# Define _ NR_pwrite64 181.
# Define _ NR_chown 182
# Define _ NR_getcwd 183
# Define _ NR_capget 184
# Define _ NR_capset 185
# Define _ NR_sigaltstack 186
# Define _ NR_sendfile 187
# Define _ NR_getpmsg 188/* some people actually want streams */
# Define _ NR_putpmsg 189/* some people actually want streams */
# Define _ NR_vfork 190
# Define _ NR_ugetrlimit 191/* SuS compliant getrlimit */
# Define _ NR_mmap2 192
# Define _ NR_truncate64 193.
# Define _ NR_ftruncate64 194.
# Define _ NR_stat64 195
# Define _ NR_lstat64 196
# Define _ NR_fstat64 197
# Define _ NR_lchown32 198
# Define _ NR_getuid32 199
# Define _ NR_getgid32 200
# Define _ NR_geteuid32 201
# Define _ NR_getegid32 202
# Define _ NR_setreuid32 203
# Define _ nr_setregid 32 204
# Define _ nr_getgroup 32 205
# Define _ nr_setgroup 32 206
# Define _ NR_fchown32 207
# Define _ nr_setresuid 32 208
# Define _ NR_getresuid32 209
# Define _ nr_setresgid 32 210
# Define _ nr_getresgid 32 211
# Define _ NR_chown32 212
# Define _ NR_setuid32 213
# Define _ nr_setgid 32 214
# Define _ NR_setfsuid32 215
# Define _ nr_setfsgid 32 216
# Define _ nr_effect_root 217
# Define _ NR_mincore 218
# Define _ NR_madvise 219
# Define _ NR_madvise1 219/* delete when C lib stub is removed */
# Define _ NR_getdents64 220.
# Define _ NR_fcntl64 221.
/* 223 is unused */
# Define _ NR_gettid 224
# Define _ NR_readahead 225
# Define _ NR_setxattr 226
# Define _ NR_lsetxattr 227
# Define _ NR_fsetxattr 228
# Define _ NR_getxattr 229
# Define _ NR_lgetxattr 230
# Define _ NR_fgetxattr 231
# Define _ NR_listxattr 232
# Define _ NR_llistxattr 233
# Define _ NR_flistxattr 234
# Define _ NR_removexattr 235
# Define _ NR_lremovexattr 236
# Define _ NR_fremovexattr 237
# Define _ NR_tkill 238
# Define _ NR_sendfile64 239.
# Definely _ NR_futex 240
# Define _ NR_sched_setaffinity 241
# Define _ NR_sched_getaffinity 242
# Define _ NR_set_thread_area 243
# Define _ NR_get_thread_area 244
# Define _ nr_io_setting 245
# Define _ NR_io_destroy 246
# Define _ NR_io_getevents 247
# Define _ NR_io_submit 248
# Define _ NR_io_cancel 249
# Define _ NR_fadvise64 250.
# Define _ NR_set_zone_reclaim 251
# Define _ NR_exit_group 252
# Define _ NR_lookup_dcookie 253
# Definely _ NR_epoll_create 254
# Define _ NR_epoll_ctl 255
# Define _ NR_epoll_wait 256
# Define _ NR_remap_file_pages 257
# Define _ NR_set_tid_address 258
# Define _ NR_timer_create 259
# Define _ NR_timer_settime (_ NR_timer_create + 1)
# Define _ NR_timer_gettime (_ NR_timer_create + 2)
# Define _ NR_timer_getoverrun (_ NR_timer_create + 3)
# Define _ NR_timer_delete (_ NR_timer_create + 4)
# Define _ NR_clock_settime (_ NR_timer_create + 5)
# Define _ NR_clock_gettime (_ NR_timer_create + 6)
# Define _ NR_clock_getres (_ NR_timer_create + 7)
# Define _ NR_clock_nanosleep (_ NR_timer_create + 8)
# Define _ NR_statfs64 268.
# Define _ NR_fstatfs64 269
# Define _ NR_tgkill 270
# Define _ NR_utimes 271
# Define _ nr_fadvise64 _ 64 272
# Define _ NR_vserver 273
# Define _ NR_mbind 274
# Define _ NR_get_mempolicy 275
# Define _ NR_set_mempolicy 276
# Define _ NR_mq_open 277
# Define _ NR_mq_unlink (_ NR_mq_open + 1)
# Define _ NR_mq_timedsend (_ NR_mq_open + 2)
# Define _ NR_mq_timedreceive (_ NR_mq_open + 3)
# Define _ nr_mq_policy (_ NR_mq_open + 4)
# Define _ NR_mq_getsetattr (_ NR_mq_open + 5)
# Define _ NR_sys_kexec_load 283
# Define _ NR_waitid 284
/* # Define _ NR_sys_setaltroot 285 */
# Define _ NR_add_key 286
# Define _ NR_request_key 287
# Define _ NR_keyctl 288
# Define _ NR_ioprio_set 289
# Define _ NR_ioprio_get 290
# Define _ NR_inotify_init 291
# Define _ NR_inotify_add_watch 292
# Define _ NR_inotify_rm_watch 293
# Define nr_syscils 294