mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-27 21:30:33 +00:00
pkg/ipc: Send output from syz-executor for non-Forkserver oses.
This change reuses the logic for sending the output back from syz-executor to syz-fuzzer that forkserver oses use: reading it periodically. This will be useful for debugging issues in Fuchsia that does not support forkserver yet.
This commit is contained in:
parent
a60cb4cd84
commit
000d39a9b8
@ -584,9 +584,6 @@ func makeCommand(pid int, bin []string, config *Config, inFile, outFile *os.File
|
||||
if config.Flags&FlagDebug != 0 {
|
||||
close(c.readDone)
|
||||
cmd.Stderr = os.Stdout
|
||||
} else if config.Flags&FlagUseForkServer == 0 {
|
||||
close(c.readDone)
|
||||
// TODO: read out output after execution failure.
|
||||
} else {
|
||||
cmd.Stderr = wp
|
||||
go func(c *command) {
|
||||
|
Loading…
Reference in New Issue
Block a user