This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]: Fixing the PROCESS_DUP_HANDLE security hole (part 1).


On Mon, Dec 08, 2003 at 11:36:01PM -0500, Christopher Faylor wrote:
>I would have but the information that the fhandler contains the
>controlling tty is lost by the time dup is called.  Hmm.  I guess I
>could just check the io_handle.  I'll do that.

I did this but, in testing, found that there are still other problems
with setsid assuming that it can close the cygheap ctty when there may
still be open fds which wouldn't like that to happen.

I'll work on that tomorrow.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]