lkml.org 
[lkml]   [2000]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: accept() improvements for rt signals
Stephen C. Tweedie wrote:
> > 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.

Oh right, I had misunderstood. We are all in violent agreement ;-)

-- Jamie

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

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:1.520 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site