Re: accept() improvements for rt signals

From: Stephen C. Tweedie (sct@redhat.com)
Date: Tue Feb 22 2000 - 12:21:21 EST


Hi,

On Tue, 22 Feb 2000 09:18:56 -0800, Dan Kegel <dank@alumni.caltech.edu>
said:

> Just to be clear, the "original socket" here is the listening socket,
> right? Since newfd may already have been closed, presumably it's lost
> all of its properties, and can't be the "original socket".

Yes. newfd will be treated as the second arg of dup2(), and any
existing file on that fd will be closed automatically if the fd is
already in use.

--Stephen

-
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/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:31 EST