Commit Graph

3416 Commits

Author SHA1 Message Date
Ariel Abreu
5af5695758
Allow "simple" libsystem_kernel functions to be used in C++ 2020-09-20 18:42:07 -04:00
Ariel Abreu
4f83e4cee7
Add back some Darling fixes I forgot about 2020-09-20 18:39:28 -04:00
Ariel Abreu
b4efc3265a
Fix a crash in dyld when handling libcache
We can't use an initializer in libraries that are part of libSystem
2020-09-20 18:34:21 -04:00
Ariel Abreu
61e930548a
Symlink some Darling headers into the SDK 2020-09-20 18:33:05 -04:00
Ariel Abreu
5383328564
Update LKM again 2020-09-18 15:33:01 -04:00
Ariel Abreu
a1311ac7d1
Update LKM 2020-09-18 09:40:16 -04:00
Ariel Abreu
24c06dff23
Fix the temporary LKM compilation fix
Forgot that, for DKMS, the LKM source resides in /usr/src/darling-mach-0.1/lkm
2020-09-17 16:28:31 -04:00
Ariel Abreu
715f6da002
Update a bunch of submodules 2020-09-17 13:34:21 -04:00
Ariel Abreu
8ce89d6044
xar: Fix install steps 2020-09-17 09:01:06 -04:00
Ariel Abreu
1ac17e037d
Temporary workaround to build with Clang
Like my last commit in the LKM, this is only temporary so I can build for testing
2020-09-17 07:28:50 -04:00
Ariel Abreu
3b9161f239
Update LKM 2020-09-17 07:27:46 -04:00
Ariel Abreu
9735d6fbd7
Fix InstallSymlink.cmake directory creation 2020-09-17 07:27:25 -04:00
Ariel Abreu
3d8c184d57
Update ruby (again) 2020-09-01 12:14:46 -04:00
Ariel Abreu
20e8ea393d
Update ruby 2020-09-01 11:42:55 -04:00
Ariel Abreu
f3ceb29b57
Update ruby 2020-09-01 11:40:58 -04:00
Ariel Abreu
2aa4ede0f5
Update JavaScriptCore 2020-09-01 11:18:47 -04:00
Ariel Abreu
b216e6f371
Update ruby 2020-09-01 11:10:54 -04:00
Ariel Abreu
0938576ed5
Update zsh 2020-09-01 10:47:17 -04:00
Ariel Abreu
2467bda513
Check-in netname.h
This is another one of those libsyscall headers that needs to be available ahead of time because of parallel builds
2020-09-01 10:14:32 -04:00
Ariel Abreu
37cae473ba
Update a few submodules 2020-09-01 10:07:18 -04:00
Ariel Abreu
59f2d81700
Update SDK symlinks 2020-09-01 10:06:44 -04:00
Ariel Abreu
840d1f0029
PackageKit: Don't do manual memory management when using ARC 2020-09-01 10:06:21 -04:00
Ariel Abreu
3daebaec32
Fix PowerLog and ProtocolBuffer stubs 2020-09-01 10:05:50 -04:00
Ariel Abreu
4e1cc7dc9c
Symlink libarchive into the SDK 2020-08-31 21:32:44 -04:00
Ariel Abreu
4d303f6ba0
Update ColorSync header to work when included in C++ 2020-08-31 20:58:03 -04:00
Ariel Abreu
7aa85c2c95
Symlink sys/endian.h into the SDK 2020-08-31 20:31:23 -04:00
Ariel Abreu
6e4fba6c29
Fix open_memstream stub in CoreImage
Not sure why CoreImage has its own open_memstream, since the update libc already has one, but whatever
2020-08-31 20:31:04 -04:00
Ariel Abreu
4bc30bd8cc
Update another few submodules 2020-08-31 19:10:41 -04:00
Ariel Abreu
e4f9638d7c
Update a few submodules 2020-08-31 16:33:17 -04:00
Ariel Abreu
ef2d9c7622
Shut up a repeated warning (-Wavailability)
It happens because non-Apple clang doesn't understand the iosmac, bridgeos, and a few other newer Apple platforms, and it complains about it
2020-08-31 16:31:10 -04:00
Ariel Abreu
361c666156
Add stubs for libcache 2020-08-31 16:29:34 -04:00
Ariel Abreu
7f5baebc33
Stub rootless_check_datavault_flag 2020-08-31 16:23:37 -04:00
Ariel Abreu
67c1033092
CoreServices: Add BackupCore and MDItem stubs
MDItem's current code is just a bunch of stubs. However, BackupCore's current code is technically implemented (Darling doesn't do backups, so it just tells users that everything is excluded from backups).

Note that I didn't verify the values of each and every MDItem constant, but those kinds of constants usually follow a pattern, and in this case, the pattern seemed to be that their string content is just a copy of their variable names. (I could probably have used a macro to do it, but *shrug*, my editor made it easy).
2020-08-28 23:22:08 -04:00
Ariel Abreu
0118b41223
Fix libstdcxx build by moving libcxx include 2020-08-28 14:54:15 -04:00
Ariel Abreu
50c347b4eb
Forgot to remove early returns in dirhelper
That would've caused some issues later on...
2020-08-28 07:20:55 -04:00
Ariel Abreu
7ba408b796
Update SDK symlinks 2020-08-27 22:30:44 -04:00
Ariel Abreu
375b00fe67
Update a few submodules 2020-08-27 22:30:24 -04:00
Ariel Abreu
3e36b3c678
Stub MobileAsset and update ProtocolBuffer stubs 2020-08-27 22:21:51 -04:00
Ariel Abreu
4d05d34e2d
Various framework stub updates/fixes
Affected frameworks include: Accounts, CryptoTokenKit, Network, and most notably: SecurityFoundation. If we ever want to get the `security` CLI tool to actually do stuff and get Security keychains up and running, we're going to need to actually implement SecurityFoundation, which seems to just be an Objective-C wrapper around CommonCrypto
2020-08-27 22:21:33 -04:00
Ariel Abreu
9015cbeda3
Various AKS improvments and fixes
...using hints from some Security code
2020-08-27 22:17:27 -04:00
Ariel Abreu
f95e3b1893
msgtracer_client.h can apparently be used in C++; handle that 2020-08-27 22:16:10 -04:00
Ariel Abreu
1e115b9798
Implement _set_user_dir_suffix
Please, please, *please* take a look at my comments in _libcoreservices_fork_child! If there are ever any issues with threading and forking, remember to take a look at this code
2020-08-27 22:15:31 -04:00
Ariel Abreu
b8cef1ee1c
Allow static libraries to be arch-specific 2020-08-27 22:13:29 -04:00
Ariel Abreu
0d1fb0de91
Add libnetwork 2020-08-27 22:13:04 -04:00
Ariel Abreu
17bbbfc776
Update top
[skip ci]
2020-08-20 18:01:48 -04:00
Ariel Abreu
670776b7f1
Update text_cmds 2020-08-20 17:34:42 -04:00
Ariel Abreu
f16e2638cb
system_cmds 2020-08-20 16:48:18 -04:00
Ariel Abreu
506534033b
Update SDK symlinks 2020-08-20 16:47:11 -04:00
Ariel Abreu
dbb546ea3f
Import CFOpenDirectoryPriv from OpenDirectory-146 and include some generated headers 2020-08-20 16:46:35 -04:00
Ariel Abreu
7819ca3ece
Stub CFOpenDirectory
The public headers are imported from the macOS SDK and from the last released OpenDirectory (version 146); it's ok to import them from the SDK because they're still APSL licensed
2020-08-20 16:33:31 -04:00