You are looking for the for (i = 0; i < nexecs; i++) { (starting at line 377 of sys/kern_exec.c in my -5 tree) Especially check if exec_aout.c:exec_aout_makecmds() is invoked and what error it returns, maybe some other exec package eroneously claims it first? Martin