Skip to content
Snippets Groups Projects
  • rsc's avatar
    629c1fe7
    · 629c1fe7
    rsc authored
    Edit exec.
    
    Do not commit to new memory image until
    nothing can go wrong, avoiding bad2 case.
    
    Be sure to allocate enough stack space for argv.
    
    Load executable before initializing stack, to
    keep ELF loops together.
    
    Make argv loop clearer.
    629c1fe7
    History
    rsc authored
    Edit exec.
    
    Do not commit to new memory image until
    nothing can go wrong, avoiding bad2 case.
    
    Be sure to allocate enough stack space for argv.
    
    Load executable before initializing stack, to
    keep ELF loops together.
    
    Make argv loop clearer.
exec.c 2.45 KiB