Re: [PATCH 00/15] Add preliminary support for 32-bit userspace on a x86_64 kernel

2022-08-28 Thread Samuel Thibault
Luca Dariz, le mar. 28 juin 2022 12:10:39 +0200, a ecrit: > task /bin/sh(1) deallocating a bogus port 4294967295, most probably a bug. > task mkdir(10) deallocating a bogus port 4294967295, most probably a bug. That's MACH_PORT_DEAD, which is 0x for userland, but with #define MACH_PORT_DE

[PATCH 00/15] Add preliminary support for 32-bit userspace on a x86_64 kernel

2022-06-28 Thread Luca Dariz
This patch set contains three kind of changes: * changes for IPC on x86_64 (e.g. msg alignment, copyin/copyout) * 32-bit userland support on 64-bit kernel (e.g. exception stack alignment) * minor fixes and cleanup This is just a preliminary version, not everything is working yet. I've tested th