]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/syscall.h
xnu-344.49.tar.gz
[apple/xnu.git] / bsd / sys / syscall.h
index 9f9d32f8955746c538c92efb5a2bc5311fb1976f..174ab95ecc51aec5463fe244abab0eedc9ee1526 100644 (file)
@@ -1,21 +1,24 @@
 /*
 /*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
- * The contents of this file constitute Original Code as defined in and
- * are subject to the Apple Public Source License Version 1.1 (the
- * "License").  You may not use this file except in compliance with the
- * License.  Please obtain a copy of the License at
- * http://www.apple.com/publicsource and read it before using this file.
+ * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
  * 
  * 
- * This Original Code and all software distributed under the License are
- * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
+ * This file contains Original Code and/or Modifications of Original Code
+ * as defined in and that are subject to the Apple Public Source License
+ * Version 2.0 (the 'License'). You may not use this file except in
+ * compliance with the License. Please obtain a copy of the License at
+ * http://www.opensource.apple.com/apsl/ and read it before using this
+ * file.
+ * 
+ * The Original Code and all software distributed under the License are
+ * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
- * License for the specific language governing rights and limitations
- * under the License.
+ * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
+ * Please see the License for the specific language governing rights and
+ * limitations under the License.
  * 
  * @APPLE_LICENSE_HEADER_END@
  */
  * 
  * @APPLE_LICENSE_HEADER_END@
  */
@@ -26,7 +29,9 @@
  * and conditions for redistribution.
  *
  */
  * and conditions for redistribution.
  *
  */
+#include <sys/appleapiopts.h>
 
 
+#ifdef __APPLE_API_PRIVATE
 
 #define        SYS_syscall     0
 #define        SYS_exit        1
 
 #define        SYS_syscall     0
 #define        SYS_exit        1
 #define        SYS_mkdir       136
 #define        SYS_rmdir       137
 #define        SYS_utimes      138
 #define        SYS_mkdir       136
 #define        SYS_rmdir       137
 #define        SYS_utimes      138
-                               /* 139 is unused */
+#define        SYS_futimes     139
 #define        SYS_adjtime     140
                                /* 141 is old getpeername */
                                /* 142 is old gethostid */
 #define        SYS_adjtime     140
                                /* 141 is old getpeername */
                                /* 142 is old gethostid */
                                /* 148 is obsolete setquota */
                                /* 149 is obsolete quota */
                                /* 150 is old getsockname */
                                /* 148 is obsolete setquota */
                                /* 149 is obsolete quota */
                                /* 150 is old getsockname */
-                               /* 151 is reserved */
+#define        SYS_getpgid     151
 #define SYS_setprivexec 152
 #define SYS_setprivexec 152
-                               /* 153 is reserved */
-                               /* 154 is reserved */
+#define        SYS_pread       153
+#define        SYS_pwrite      154
 #define        SYS_nfssvc      155
                                /* 156 is old getdirentries */
 #define        SYS_statfs      157
 #define        SYS_nfssvc      155
                                /* 156 is old getdirentries */
 #define        SYS_statfs      157
 #define        SYS_setgid      181
 #define        SYS_setegid     182
 #define        SYS_seteuid     183
 #define        SYS_setgid      181
 #define        SYS_setegid     182
 #define        SYS_seteuid     183
-#define        SYS_lfs_bmapv   184
-#define        SYS_lfs_markv   185
-#define        SYS_lfs_segclean        186
-#define        SYS_lfs_segwait 187
+                               /* 184 is unused */
+                               /* 185 is unused */
+                               /* 186 is unused */
+                               /* 187 is unused */
 #define        SYS_stat        188
 #define        SYS_fstat       189
 #define        SYS_lstat       190
 #define        SYS_stat        188
 #define        SYS_fstat       189
 #define        SYS_lstat       190
 #define SYS_checkuseraccess    224 
 #define SYS_searchfs    225
 
 #define SYS_checkuseraccess    224 
 #define SYS_searchfs    225
 
-                                       /* 226 - 230 are reserved for HFS expansion */
-                                       /* 231 - 249 are reserved  */
+                               /* 226 - 230 are reserved for HFS expansion */
+                               /* 231 - 249 are reserved  */
 #define SYS_minherit    250
 #define        SYS_semsys      251
 #define        SYS_msgsys      252
 #define SYS_minherit    250
 #define        SYS_semsys      251
 #define        SYS_msgsys      252
 #define        SYS_sem_getvalue 274
 #define        SYS_sem_init    275
 #define        SYS_sem_destroy 276
 #define        SYS_sem_getvalue 274
 #define        SYS_sem_init    275
 #define        SYS_sem_destroy 276
-                                       /* 277 - 295 are reserved  */
+                               /* 277 - 295 are reserved  */
 #define SYS_load_shared_file 296
 #define SYS_reset_shared_file 297
 #define SYS_load_shared_file 296
 #define SYS_reset_shared_file 297
-                                       /* 298 - 323 are reserved  */
+#define SYS_new_system_shared_regions 298
+                               /* 299 - 309 are reserved  */
+#define        SYS_getsid      310
+                               /* 311 - 323 are reserved */
 #define SYS_mlockall    324
 #define SYS_munlockall  325
 #define SYS_mlockall    324
 #define SYS_munlockall  325
+                               /* 326 is reserved */
+#define SYS_issetugid    327
+#define SYS___pthread_kill    328
+#define SYS_pthread_sigmask    329
+#define SYS_sigwait    330
+#endif /* __APPLE_API_PRIVATE */