Commit Graph

4219 Commits

Author SHA1 Message Date
Thomas A
d9cd75ae16 [networkextension] Add NEHelperClient.h in usr/include 2023-05-02 16:22:07 -07:00
Thomas A
3006c13f80 [networkextension] Add ne_session_service_get_dns_service_id And ne_session_type_t Stubs 2023-05-02 16:22:06 -07:00
Thomas A
62403382ff [zip] Check CMakeLists.txt In external/zip Instead 2023-05-02 16:22:06 -07:00
Thomas A
bfbc9660a7 [SoftLinking] Add WeakLinking.h From WTF 2023-05-02 16:22:06 -07:00
Thomas A
1b188186c9 [libunwind] Add __libunwind_config.h 2023-05-02 16:22:06 -07:00
Thomas A
5f0606b9eb [MobileGestalt] Add MobileGestalt Header File 2023-05-02 16:22:06 -07:00
Thomas A
c86fdac732 [kernel/libsyscall] Build mach/task.c 2023-05-02 16:22:06 -07:00
Thomas A
de8c9bbed3 [netcat] Add netcat in CMakeLists.txt 2023-05-02 16:22:06 -07:00
Thomas A
969ae338a2 [ncurses] Remove form stub.
We will be using the ncurses-form source instead.
2023-05-02 16:22:06 -07:00
Thomas A
23546c082d [ncurses] Update libncurses.5.4.dylib Path 2023-05-02 16:22:06 -07:00
Thomas A
df122723ac Copy over generated mach header files 2023-05-02 16:22:06 -07:00
Thomas A
216a6718bf [libMobileGestalt] Add libMobileGestalt to use_ld64 2023-05-02 16:22:05 -07:00
Thomas A
c47298092f [AuthenticationServices] Add Stubs For Security Framework 2023-05-02 16:22:05 -07:00
Thomas A
4405bdc5b8 [CoreServices] Relocate Header Files From CoreServices To CarbonCore
When I was looking at the XCode SDK, I noticed that a lot of the header files in CoreServices actually live in CarbonCore instead.
2023-05-02 16:22:05 -07:00
Thomas A
20b91fbfc2 [CryptoTokenKit] Add kTKTokenCreateAttributeTestMode and TKAddSecureToken stub 2023-05-02 16:22:05 -07:00
Thomas A
589052bfe8 [LocalAuthentication] Include <LocalAuthentication/LACFSupport.h> in coreauthd_spi.h 2023-05-02 16:22:05 -07:00
Thomas A
5f3ee4a529 [CoreSymbolication] Fix CSSymbolicatorGetSymbolWithNameAtTime Arguments 2023-05-02 16:22:05 -07:00
Thomas A
0fb58c73a0 [sandbox] Add sandbox_query_approval_policy_for_path stub. Add sandbox_check_by_audit_token declaration and SANDBOX_FILTER_DESCRIPTOR in header. 2023-05-02 16:22:05 -07:00
Thomas A
bdd06ac934 [MobileGestalt] Fix MGCopyAnswer Arguments. Add kMGQReleaseType. 2023-05-02 16:22:05 -07:00
Thomas A
3ebbde4a79 [Security] Update Framework Header Symbolic-Link 2023-05-02 16:22:05 -07:00
Thomas A
306299150a [Security] Symbol-Link libDER Folder From Security Submodule 2023-05-02 16:22:05 -07:00
Thomas A
0142aac817 [ConfigurationProfiles] Add CP_GetBootstrapTokenWithOptions Stub 2023-05-02 16:22:04 -07:00
Thomas A
e2ecd0327e [CryptoTokenKit] Add TKBindUserAm Stub 2023-05-02 16:22:04 -07:00
Thomas A
e00e69447b [LDAP] Update Framework header Symbolic-Link 2023-05-02 16:22:04 -07:00
Thomas A
1586d4b60e [CoreServices] Update macOS System Version to 11.6. Added SystemVersionCompat.plist 2023-05-02 16:22:04 -07:00
Thomas A
260697e7a9 [Kerberos] Update Framework header Symbolic-Link 2023-05-02 16:22:04 -07:00
Thomas A
b5b7dd0b8d [IOKit] Update Framework Headers Symbolic-Link 2023-05-02 16:22:04 -07:00
Thomas A
f09cad4352 [SoftLinking] Add SOFT_LINK_OPTIONAL_FRAMEWORK Stub 2023-05-02 16:22:04 -07:00
Thomas A
f78046581e [icu] Fix ulocdata.h symbolic link 2023-05-02 16:22:04 -07:00
Thomas A
86701b081a [InternationalSupport] Implement "minimizedLanguagesFromLanguages:" stub 2023-05-02 16:22:04 -07:00
Thomas A
f22434231e [duct] Add "crashreporter_annotations_t" struct 2023-05-02 16:22:04 -07:00
Thomas A
e105a1b3a1 [DiskArbitration] Update Headers From DiskArbitration-342.140.1 Source
Also stubbed DADisk values
2023-05-02 16:22:04 -07:00
Thomas A
fcc3d8c766 Update add_darling_executable to reference crt1.10.6
Adding in crt.c object file breaks the bash executable, luckly it is not need for later versions (10.5 or later) of macOS. So we can just not include it.
2023-05-02 16:22:03 -07:00
Thomas A
58fba5a72a [kernel/libsyscall] Add back fallback for mach_get_times
Fixes notifyd crashing
2023-05-02 16:22:03 -07:00
Thomas A
272dbd2710 [mldr] Set kernel/user page shift values in memory
In the past these values would be hardcoded, but now these values are grabbed from memory.

Include the math library as part of the link libraries.
2023-05-02 16:22:03 -07:00
Thomas A
33e2d2322f [kernel/libsyscall] Update CMakeLists.txt 2023-05-02 16:22:03 -07:00
Thomas A
e985f5a408 [kernel/libsyscall] Include "sys/fcntl.h" in fcntl-base.c 2023-05-02 16:22:03 -07:00
Thomas A
f9f1d9d839 [libsysmon] Remove OS_object from OS_sysmon_object.h
There seems to be a duplicate conflict:

```
/home/user/Downloads/darling/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sysmon/OS_sysmon_object.h:20:1: error: duplicate interface definition for class 'OS_object'
@interface OS_object
^
/home/user/Downloads/darling/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/os/object.h:203:1: note: previous definition is here
OS_OBJECT_DECL_BASE(object, NSObject);
```
2023-05-02 16:22:03 -07:00
Thomas A
84c3da19b8 [kernel/libsyscall] Add stub methods for os_thread_self_restrict. 2023-05-02 16:22:03 -07:00
Thomas A
653d430df8 [kernel/libsyscall] Generate bsdsyscalls using xnu-7195.141.2 files 2023-05-02 16:22:03 -07:00
Thomas A
fc97b2ad30 [kernel/libsyscall] Restore darling specific changes 2023-05-02 16:22:03 -07:00
Thomas A
73761f1c6c [kernel/libsyscall] Add Workaround For Case Sensitivity 2023-05-02 16:22:02 -07:00
Thomas A
b947d5e647 [kernel/libsyscall] Add syscalls.master and restore ppc/syscall.map
`syscalls.master` is taken from `xnu/bsd/kern` (xnu-7195.141.2)
2023-05-02 16:22:02 -07:00
Thomas A
839836fdaa [src/kernel/libsyscall] Update source to xnu-7195.141.2 2023-05-02 16:22:02 -07:00
Thomas A
c9613e1608 Define PLATFORM_MacOSX
The cdef.h header is used to automatically determine how a symbol should be defined. Since no platform was defined, the `__DARWIN_ONLY_UNIX_CONFORMANCE` would not properly get set to 1 if the arch is not `i386`.

This fixes the issues where x86_64 would have `$UNIX2003` appended to some of the symbols.

I recommend refering to the `COMPAT(5)` man page for a better understanding on this issue.
2023-05-02 16:22:02 -07:00
Thomas A
fdbb1f49a8 Update symbolic header 2023-05-02 16:22:02 -07:00
Thomas A
557e7e9dec Fix Metal SDK Header Symlinks 2023-05-02 15:37:09 -07:00
Ariel Abreu
565f9639ca
Merge pull request #1355 from zhaofengli/fix-wrapgen-vaddr
wrapgen: Fix address resolution in dynamic section
2023-05-01 15:42:13 -04:00
Ariel Abreu
6dcf8d8d9c
Update darlingserver and nano 2023-05-01 14:37:44 -04:00
Ariel Abreu
e34366db25
Merge pull request #1358 from zhaofengli/fix-libm-rpath
libm: Remove unused rpath config
2023-05-01 14:36:41 -04:00