Re: [PATCH] please review. file descriptor passing for libc_r.

From: Alfred Perlstein <bright_at_mu.org>
Date: Sat, 29 Nov 2003 15:46:34 -0800
* Daniel Eischen <eischen_at_vigrid.com> [031129 14:59] wrote:
> [re_at_ removed]
> 
> On Sat, 29 Nov 2003, Alfred Perlstein wrote:
> 
> > * Alfred Perlstein <bright_at_mu.org> [031129 12:21] wrote:
> > > 
> > > Descriptor's passed can't be closed because the uthread kernel does this:
> > 
> > The weird part is that i'm doing a sendfile(2) using the descriptors
> > and it appears that sendfile does the FD_LOCK thing on the descriptors
> > so... ?
> 
> It should be fine in that case.  Is it not?

Actually what I was seeing was a bug that was compounded by a bug
in my code...

It still appears that the current code will not close a descriptor
that has been passed and has had nothing done to it other than
close().

-- 
- Alfred Perlstein
- Research Engineering Development Inc.
- email: bright_at_mu.org cell: 408-480-4684
Received on Sat Nov 29 2003 - 14:46:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:31 UTC