Open hbowden opened 7 years ago
After researching it looks like the only options are to find the old syscall(2) implementation inside the XNU source and pull that into nextgen. However the XNU syscall(2) implementation is spread across several files and is confusing and complicated. Second the XNU syscall(2) implementation is licensed under the Apple Public Source License, which goes against the project goals of only using BSD or BSD like licenses. The second option is to reimplement syscall(2) myself. However the current syscall(2) implementation while deprecated will probably remain for at least some time. Other deprecated functions in macOS have remained for several years after first being deprecated.
Will have to research on the new interface macOS provides instead of syscall(2). Here is an example error: