commit | c443b67561891ae68d688daf5f8ce37820cdba2b | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Sat Oct 29 22:41:04 2016 -0700 |
committer | Jason Evans <jasone@canonware.com> | Sat Oct 29 22:46:52 2016 -0700 |
tree | a13b6921748dc39f55891d1aeb92bacd46e83985 | |
parent | 35a108c809038179b7d9932447c75e02171dc3e4 [diff] |
Use syscall(2) rather than {open,read,close}(2) during boot. Some applications wrap various system calls, and if they call the allocator in their wrappers, unexpected reentry can result. This is not a general solution (many other syscalls are spread throughout the code), but this resolves a bootstrapping issue that is apparently common. This resolves #443.