]>
git.saurik.com Git - apple/libc.git/blob - libdarwin/internal.h
2 * Copyright (c) 2017 Apple Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
21 * @APPLE_LICENSE_HEADER_END@
26 * libdarwin internal header.
28 #ifndef __DARWIN_INTERNAL_H
29 #define __DARWIN_INTERNAL_H
33 #include <Availability.h>
35 #include <mach/port.h>
36 #include <mach/message.h>
37 #include <mach/host_priv.h>
38 #include <mach/host_reboot.h>
39 #include <mach/mach_time.h>
40 #include <mach/mach.h>
41 #include <mach/port.h>
42 #include <mach/message.h>
43 #include <mach/host_priv.h>
44 #include <mach/host_reboot.h>
45 #include <mach/kern_return.h>
47 #include <sys/sysctl.h>
48 #include <sys/reboot.h>
49 #include <sys/syscall.h>
50 #include <sys/errno.h>
51 #include <sys/paths.h>
52 #include <sys/spawn.h>
53 #include <sys/proc_info.h>
54 #include <sys/sysctl.h>
55 #include <sys/reboot.h>
56 #include <sys/syscall.h>
57 #include <sys/errno.h>
58 #include <sys/paths.h>
59 #include <sys/spawn.h>
60 #include <sys/proc_info.h>
61 #include <crt_externs.h>
63 #define OS_CRASH_ENABLE_EXPERIMENTAL_LIBTRACE 1
64 #include <os/assumes.h>
65 #include <os/transaction_private.h>
66 #include <os/log_private.h>
67 #include <os/alloc_once_private.h>
69 #include <mach-o/getsect.h>
70 #include <bsm/libbsm.h>
79 #include <bootstrap_priv.h>
83 #include "h/cleanup.h"
87 #include "h/mach_exception.h"
88 #include "h/mach_utils.h"
93 #endif //__DARWIN_INTERNAL_H