Commit Graph

11 Commits

Author SHA1 Message Date
Ariel Abreu
8327ec8edd
Perform most of the same pre- and post-fork work in posix_spawn as in fork 2023-10-04 23:34:10 -04:00
Thomas A
9cb8fdcf72 Run Command "realpath" Instead
Unfortunately, Ubuntu 20.04 only offers version CMake 3.16. This means we can't use `file(REAL_PATH ...)`
2023-09-03 12:57:37 -07:00
Thomas A
2c246ed78c Update CMake Version To 3.13 2023-07-26 11:28:18 -07:00
Ariel Abreu
cc9438a05e
Stop Ninja from constantly rebuilding
As explained in the comment, Ninja gets confused by the fact that the
subdirectory is added in `darling/src/libsystem_kernel` but it's
actually located in the root of the repo. The system resolves relative
paths using the real path, but Ninja resolves it according to the CMake
subdirectory path.

Ninja was constantly searching for
`darling/src/libsystem_kernel/osfmk/mach_eventlink_types.h` instead of
`osfmk/mach_eventlink_types.h` and therefore constantly thought that the
source that depended on this was out-of-date.
2023-07-21 11:12:24 -04:00
Thomas A
d0d5c62137 Fix implicit-function-declaration & incompatible-function-pointer-types 2023-06-19 21:24:46 -07:00
Thomas A
25966d69aa [libsystem_kernel] Fix Building 2023-05-20 20:17:03 -07:00
Thomas A
8aa1efb3ce Generate "bsdsyscalls" Source 2023-05-18 10:30:10 -07:00
Thomas A
57178e3ab5 [libsyscall] Restore Darling Specific Changes 2023-05-18 10:29:09 -07:00
Thomas A
4d0d5857b9 Copy Over libsystem_kernel Files From "src/kernel"
Instead of copying over the "libsystem", we will use one that already exist in this repo (hence the symlink).
2023-05-17 09:45:57 -07:00
Thomas A
89fa103bd5 Rename Assembly Files In "libsyscall" 2023-05-17 08:57:38 -07:00
Thomas A
cdbc10b677 Upload xnu-7195.141.2 Source 2023-05-16 21:41:14 -07:00