commit | d87037a62c651f96ac4fb5a8c9db668697ee96e0 | [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:41:04 2016 -0700 |
tree | 84a8c990ac0904f4a89f5676bf2fff99df29b112 | |
parent | af0e28fd942d6f3b6198aebdeea6043b3542d096 [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.