Improve AARCH64 execution

This change fixes bugs in the APE loader. The execve() unit tests are
now enabled for MODE=aarch64. See the README for how you need to have
binfmt_misc configured with Qemu to run them. Apple Silicon bugs have
been fixed too, e.g. tkill() now works.
This commit is contained in:
Justine Tunney 2023-09-11 13:51:37 -07:00
parent 1965d7488e
commit 77a7873057
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
31 changed files with 599 additions and 195 deletions

View file

@ -72,7 +72,6 @@ TEST(siocgifconf, test) {
ASSERT_NE(-1, close(socketfd));
}
#ifdef __x86_64__
TEST(siocgifconf, mkntenvblock_systemroot) {
if (__argc != 1) return;
SPAWN(fork);
@ -81,7 +80,6 @@ TEST(siocgifconf, mkntenvblock_systemroot) {
abort();
EXITS(0);
}
#endif
TEST(fionread, pipe) {
int pfds[2];