commit | 429721c5c4218679d6ae042d85dd98e3d7ead658 | [log] [tgz] |
---|---|---|
author | San Mehat <san@google.com> | Tue Sep 23 07:48:47 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon Feb 02 16:22:56 2015 -0800 |
tree | 48a7828344bff171990a586c3ec43729270b1baf | |
parent | 46adfa69b689bc9f9e15c87275839f233a404582 [diff] [blame] |
init: Implement 'exec' command. (cherry-pick of d05ab3952ec0e38f33a0e80ce6b9eb45b0064ba4.) Change-Id: Id6d9bb32e51a0ad090ed8240cc505dc45b57b35d
diff --git a/init/init.c b/init/init.c index d3dd019..096d898 100644 --- a/init/init.c +++ b/init/init.c
@@ -126,7 +126,7 @@ return -1; } -static void zap_stdio(void) +void zap_stdio(void) { int fd; fd = open("/dev/null", O_RDWR);