Get binaries closer to running without an o/s
blinkenlights now does a pretty good job emulating what happens when binaries boot from BIOS into long mode. So it's been much easier to debug the bare metal process and wrinkle out many issues.
This commit is contained in:
1 parent
feed0d2b0e
commit
2d80bbc802
50 files changed
+974
-1062
No files matched your search
@@ -84,7 +84,7 @@ int spawnve$sysv(unsigned flags, int stdiofds[3], const char *program,
|
||||
}
|
||||
|
||||
if (pid != -1) {
|
||||
if ((pid = fork$sysv()) == 0) {
|
||||
if ((pid = vfork()) == 0) {
|
||||
if (flags & SPAWN_DETACH) {
|
||||
if (setsid() == -1) abort();
|
||||
if ((rc = fork$sysv()) == -1) abort();
|
||||
|
||||
Reference in new issue
Block a user