CVSROOT:        /cvs
Module name:    src
Changes by:     guent...@cvs.openbsd.org        2014/07/09 01:29:00

Modified files:
        sys/arch/amd64/amd64: trap.c 
        sys/arch/i386/i386: trap.c 

Log message:
Fix boot -d.  refreshcreds() should be called when trapping from userspace,
but I flipped the test on i386/amd64, thus breaking kernel traps before
enough proc0 bits were set up.  In theory, this could have resulted in
a NFS read for a page fault being done with a process's old credentials.

pointed out by Patrick Wildt of bitrig

Reply via email to