Replaces SYS_open with SYS_openat (XCC)
[akaros.git] / kern / include / ros / bits / syscall.h
index 83de5ae..9c4a800 100644 (file)
 #define SYS_mlock
 #define SYS_msync
 */
-/* sys_brk removed */
+/* was SYS_brk                                         21 */
 #define SYS_shared_page_alloc          22
 #define SYS_shared_page_free           23
 #define SYS_provision                          24
 #define SYS_notify                                     25
 #define SYS_self_notify                                26
-#define SYS_vc_entry                           31
 #define SYS_halt_core                          27
 #define SYS_init_arsc                          28
 #define SYS_change_to_m                                29
 #define SYS_abort_sysc                         31
 #define SYS_populate_va                                32
 #define SYS_abort_sysc_fd                      33
+#define SYS_setup_vmm                          34
+#define SYS_vc_entry                           35
 
 /* FS Syscalls */
 #define SYS_read                               100
 #define SYS_write                              101
-#define SYS_open                               102
+#define SYS_openat                             102
 #define SYS_close                              103
 #define SYS_fstat                              104
 #define SYS_stat                               105
@@ -56,7 +57,7 @@
 #define SYS_fcntl                              107
 #define SYS_access                             108
 #define SYS_umask                              109
-#define SYS_chmod                              110
+/* was SYS_chmod                               110 */
 #define SYS_llseek                             111
 #define SYS_link                               112
 #define SYS_unlink                             113
@@ -72,6 +73,8 @@
 #define SYS_fwstat                             122
 #define SYS_rename                             123
 #define SYS_fchdir                             124
+#define SYS_dup_fds_to                 125
+#define SYS_tap_fds                            126
 
 /* Misc syscalls */
 #define SYS_gettimeofday               140
@@ -84,6 +87,7 @@
 #define SYS_nbind                              145
 #define SYS_nmount                             146
 #define SYS_nunmount                   147
+/* was SYS_something                   148 */
 #define SYS_fd2path                            149
 
 /* Syscalls we plan to remove someday */