Merge "veyron/services/mgmt/suidhelper: Pass std FDs to the child"
diff --git a/services/mgmt/suidhelper/impl/system.go b/services/mgmt/suidhelper/impl/system.go
index c634b59..d9e1f53 100644
--- a/services/mgmt/suidhelper/impl/system.go
+++ b/services/mgmt/suidhelper/impl/system.go
@@ -42,6 +42,11 @@
 		attr.Dir = dir
 	}
 	attr.Env = hw.envv
+	attr.Files = []uintptr{
+		uintptr(syscall.Stdin),
+		uintptr(syscall.Stdout),
+		uintptr(syscall.Stderr),
+	}
 
 	attr.Sys = new(syscall.SysProcAttr)
 	attr.Sys.Setsid = true