]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/syscall_sw.c
xnu-1228.tar.gz
[apple/xnu.git] / osfmk / kern / syscall_sw.c
index 89624b0f0ff11ef8bb339d03a4e6d7d5a8f569fd..4a8dd5e304fc9e67904a2b56623ab2b755d87ca0 100644 (file)
@@ -1,14 +1,19 @@
 /*
- * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2005 Apple Computer, Inc. All rights reserved.
  *
- * @APPLE_LICENSE_HEADER_START@
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
  * 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.
+ * compliance with the License. The rights granted to you under the License
+ * may not be used to create, or enable the creation or redistribution of,
+ * unlawful or unlicensed copies of an Apple operating system, or to
+ * circumvent, violate, or enable the circumvention or violation of, any
+ * terms of an Apple operating system software license agreement.
+ * 
+ * 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
@@ -18,7 +23,7 @@
  * Please see the License for the specific language governing rights and
  * limitations under the License.
  * 
- * @APPLE_LICENSE_HEADER_END@
+ * @APPLE_OSREFERENCE_LICENSE_HEADER_END@
  */
 /*
  * @OSF_COPYRIGHT@
@@ -131,7 +136,7 @@ mach_trap_t mach_trap_table[MACH_TRAP_TABLE_COUNT] = {
 /* 41 */       MACH_TRAP(init_process, 0, NULL, NULL),
 /* 42 */       MACH_TRAP(kern_invalid, 0, NULL, NULL),
 /* 43 */       MACH_TRAP(map_fd, 5, munge_wwwww, munge_ddddd),
-/* 44 */       MACH_TRAP(kern_invalid, 0, NULL, NULL),
+/* 44 */       MACH_TRAP(task_name_for_pid, 3, munge_www, munge_ddd),
 /* 45 */       MACH_TRAP(task_for_pid, 3, munge_www, munge_ddd),
 /* 46 */       MACH_TRAP(pid_for_task, 2, munge_ww,munge_dd),
 /* 47 */       MACH_TRAP(kern_invalid, 0, NULL, NULL),
@@ -183,7 +188,7 @@ mach_trap_t mach_trap_table[MACH_TRAP_TABLE_COUNT] = {
 /* 92 */       MACH_TRAP(mk_timer_destroy_trap, 1, munge_w, munge_d),
 /* 93 */       MACH_TRAP(mk_timer_arm_trap, 3, munge_wl, munge_dd),
 /* 94 */       MACH_TRAP(mk_timer_cancel_trap, 2, munge_ww, munge_dd),         
-/* 95 */       MACH_TRAP(mk_timebase_info_trap, 5, munge_wwwww, munge_ddddd),          
+/* 95 */       MACH_TRAP(kern_invalid, 0, NULL, NULL),         
 /* traps 64 - 95 reserved (debo) */
 /* 96 */       MACH_TRAP(kern_invalid, 0, NULL, NULL),
 /* 97 */       MACH_TRAP(kern_invalid, 0, NULL, NULL),