On Sat, 30 Jun 2007 03:35:07 -0400 (EDT)
Alan Curry <[EMAIL PROTECTED]> wrote:
> Short version: writing to a tty with O_NONBLOCK will block if there is
> another, unrelated process already blocking inside a write() to the same tty.
I sent Linus patches to fix this minor DoS flaw some time ago. I'
Short version: writing to a tty with O_NONBLOCK will block if there is
another, unrelated process already blocking inside a write() to the same tty.
Long version:
Take this test program, nbhello.c
#include
#include
#include
int main(int argc, char **argv)
{
int fd;
if(argc!=2) {
fpr
2 matches
Mail list logo