CVSROOT: /cvs Module name: src Changes by: [email protected] 2015/06/28 12:54:55
Modified files:
sys/arch/amd64/amd64: locore.S machdep.c process_machdep.c
vm_machdep.c
sys/arch/amd64/include: cpu.h
Log message:
Force the return to userspace from execve to go through iretq to get all
registers. This lets us kill the special handling of pid 1 in fork and
merge {proc,child}_trampoline(). Do the same if ptrace(PT_SETREGS) is used
to modify registers.
ok mlarkin@ kettenis@
