Problems: 1. https://github.com/NetBSD/src/commit/f7823ea3b6d25e950795d3a3b71bbbf929341fce.patch Unifdefed: -#ifdef COMPAT_43 20 STD { pid_t sys_getpid_with_ppid(void); } getpid -#else -20 STD { pid_t sys_getpid(void); } -#endif native ABI uses sys_getpid_with_ppid() 2. sys/compat/netbsd32/netbsd32_sysent.c netbsd32 ABI uses sys_getpid() ===== Fix: 1. Switch netbsd32 to sys_getpid_with_ppid() or 2. Switch native to sys_getpid() and provide the sys_getpid_with_ppid() behavior when modloaded compat43 module ---- The same applies to sys_getuid() and sys_getgid().