git: 9front

Download patch

ref: 4f9f5a6bc8fd6698771b7c8532878b729a8abe58
parent: cd9da490b693475cdef4a80dabd0d7d0b17954ce
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Sat Jun 4 04:43:45 EDT 2011

boot(8): exec() bootrc instead of forkinga sub process

--- a/sys/src/9/boot/boot.c
+++ b/sys/src/9/boot/boot.c
@@ -60,5 +60,5 @@
 	snprint(buf, sizeof(buf), "/%s/bin", cputype);
 	bind(buf, "/bin", MAFTER);
 	bind("/rc/bin", "/bin", MAFTER);
-	run("/bin/bootrc", nil);
+	execl("/bin/bootrc", "bootrc", nil);
 }
--