mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 18:06:50 +00:00
Noux: fix previous attempt of fixing SYSCALL_READ
This commit is contained in:
parent
8ed489c4bc
commit
af58d39854
@ -162,11 +162,7 @@ bool Noux::Child::syscall(Noux::Session::Syscall sc)
|
|||||||
while (!io->check_unblock(true, false, false))
|
while (!io->check_unblock(true, false, false))
|
||||||
_block_for_io_channel(io);
|
_block_for_io_channel(io);
|
||||||
|
|
||||||
io->read(_sysio);
|
return io->read(_sysio);
|
||||||
if (_sysio->read_out.count == -1)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
case SYSCALL_FTRUNCATE:
|
case SYSCALL_FTRUNCATE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user