• Rob Pike's avatar
    syscall: allocate 64 bits of "basep" for Getdirentries · 451667a6
    Rob Pike authored
    Recent crashes on 386 Darwin appear to be caused by this system call
    smashing the stack. Phenomenology shows that allocating more data
    here addresses the probem.
    The guess is that since the actual system call is getdirentries64, 64 is
    what we should allocate.
    
    Should fix the darwin/386 build.
    
    R=rsc
    CC=golang-codereviews
    https://golang.org/cl/53840043
    451667a6
syscall_bsd.go 14.2 KB