patch-1.3.11 linux/include/asm-alpha/unistd.h

Next file: linux/include/asm-i386/system.h
Previous file: linux/include/asm-alpha/system.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.10/linux/include/asm-alpha/unistd.h linux/include/asm-alpha/unistd.h
@@ -8,6 +8,123 @@
  * yet. I'll have to see about this later..
  */
 
+#define __NR_exit		  1
+#define __NR_fork		  2
+#define __NR_read		  3
+#define __NR_write		  4
+#define __NR_close		  6
+#define __NR_wait4		  7
+#define __NR_link		  9
+#define __NR_unlink		 10
+#define __NR_chdir		 12
+#define __NR_fchdir		 13
+#define __NR_mknod		 14
+#define __NR_chmod		 15
+#define __NR_chown		 16
+#define __NR_brk		 17
+#define __NR_lseek		 19
+#define __NR_getxpid		 20
+#define __NR_setuid		 23
+#define __NR_getxuid		 24
+#define __NR_ptrace		 26
+#define __NR_access		 33
+#define __NR_sync		 36
+#define __NR_kill		 37
+#define __NR_setpgid		 39
+#define __NR_dup		 41
+#define __NR_pipe		 42
+#define __NR_open		 45
+#define __NR_getxgid		 47
+#define __NR_ioctl		 54
+#define __NR_symlink		 57
+#define __NR_readlink		 58
+#define __NR_execve		 59
+#define __NR_umask		 60
+#define __NR_getpgrp		 63
+#define __NR_getpagesize	 64
+#define __NR_stat		 67
+#define __NR_lstat		 68
+#define __NR_munmap		 73
+#define __NR_mprotect		 74
+#define __NR_madvise		 75
+#define __NR_vhangup		 76
+#define __NR_getgroups		 79
+#define __NR_setgroups		 80
+#define __NR_setpgid		 82
+#define __NR_setitimer		 83
+#define __NR_getitimer		 86
+#define __NR_gethostname	 87
+#define __NR_sethostname	 88
+#define __NR_getdtablesize	 89
+#define __NR_dup2		 90
+#define __NR_fstat		 91
+#define __NR_fcntl		 92
+#define __NR_select		 93
+#define __NR_fsync		 95
+#define __NR_setpriority	 96
+#define __NR_socket		 97
+#define __NR_connect		 98
+#define __NR_accept		 99
+#define __NR_getpriority	100
+#define __NR_send		101
+#define __NR_recv		102
+#define __NR_sigreturn		103
+#define __NR_bind		104
+#define __NR_setsockopt		105
+#define __NR_listen		106
+#define __NR_sigsuspend		111
+#define __NR_gettimeofday	116
+#define __NR_getrusage		117
+#define __NR_getsockopt		118
+#define __NR_settimeofday	122
+#define __NR_fchown		123
+#define __NR_fchmod		124
+#define __NR_recvfrom		125
+#define __NR_setreuid		126
+#define __NR_setregid		127
+#define __NR_rename		128
+#define __NR_truncate		129
+#define __NR_ftruncate		130
+#define __NR_setgid		132
+#define __NR_sendto		133
+#define __NR_shutdown		134
+#define __NR_socketpair		135
+#define __NR_mkdir		136
+#define __NR_rmdir		137
+#define __NR_utimes		138
+#define __NR_getpeername	141
+#define __NR_getrlimit		144
+#define __NR_setrlimit		145
+#define __NR_setsid		147
+#define __NR_getsockname	150
+#define __NR_sigaction		156
+#define __NR_msgctl		200
+#define __NR_msgget		201
+#define __NR_msgrcv		202
+#define __NR_msgsnd		203
+#define __NR_semctl		204
+#define __NR_semget		205
+#define __NR_semop		206
+#define __NR_shmctl		210
+#define __NR_shmdt		211
+#define __NR_shmget		212
+
+/*
+ * Linux-specific system calls begin at 300
+ */
+#define __NR_bdflush		300
+#define __NR_sethae		301
+#define __NR_mount		302
+#define __NR_adjtimex		303
+#define __NR_swapoff		304
+#define __NR_getdents		305
+#define __NR_create_module	306
+#define __NR_init_module	307
+#define __NR_delete_module	308
+#define __NR_get_kernel_syms	309
+#define __NR_syslog		310
+
+
 #ifdef __LIBRARY__
 
 /* XXX - _foo needs to be __foo, while __NR_bar could be _NR_bar. */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this