> If I comment out the test at the end of sys_lseek: > > /*if (newoff < 0) > return (EINVAL);*/ > > > [1] ps and vmstat start working > > [2] the generated code is closer, but not identical That is the correct solution (for the short term). This is a bug in a recent change to vfs_syscalls.c, and should be addressed shortly. cgd