bug in write(2) system call.

Tigran Aivazian (tigran@sco.COM)
Fri, 16 Oct 1998 16:28:22 +0100 (BST)


As a continuation of the thread "bug in read(2) syscall" on
linux-smp I would like to confirm that the same bug exists in
write(2) as well, i.e. write(1, 0, 10) returns 10 instead of -1
with errno=EFAULT.

This is only when the descriptor is a tty - on files and /dev/null
it's okay...

regards,
------ -------- --------- -------- -- - -- ---- --
Tigran A. Aivazian | http://www.sco.com
Escalations Research Group | tel: +44-(0)1923-813796
Santa Cruz Operation Ltd | Email: tigran@sco.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/