Re: fcntl bug

2009-09-03 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Christopher Faylor on 8/30/2009 6:55 PM: > On Sun, Aug 30, 2009 at 06:32:59PM -0600, Eric Blake wrote: >> According to Eric Blake on 8/24/2009 9:15 AM: >>> While we're at it, fcntl and dup2 both have another minor bug. POSIX >>> states th

Re: [1.7] bugs in faccessat

2009-09-03 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 9/3/2009 9:58 AM: > faccessat has at least two, and probably three bugs. Here's a fix for 1 (typo) and 3 (check for EINVAL in more places), but not for 2 (euidaccess, and the followup request of lchmod). 2009-09-03 Eric Bl

Re: fcntl bug

2009-09-03 Thread Christopher Faylor
On Thu, Sep 03, 2009 at 01:06:58PM -0600, Eric Blake wrote: >> If it is important to you then please provide a patch. > >2009-09-03 Eric Blake > > * dtable.h (OPEN_MAX_MAX): New macro. > * resource.cc (getrlimit) [RLIMIT_NOFILE]: Use it. > * dtable.cc (dtable::extend): Likewise

Re: [1.7] bugs in faccessat

2009-09-03 Thread Christopher Faylor
On Thu, Sep 03, 2009 at 01:08:57PM -0600, Eric Blake wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >According to Eric Blake on 9/3/2009 9:58 AM: >> faccessat has at least two, and probably three bugs. > >Here's a fix for 1 (typo) and 3 (check for EINVAL in more places), but not >for 2 (e

Re: [1.7] bugs in faccessat

2009-09-03 Thread Corinna Vinschen
On Sep 3 15:18, Christopher Faylor wrote: > On Thu, Sep 03, 2009 at 01:08:57PM -0600, Eric Blake wrote: > >-BEGIN PGP SIGNED MESSAGE- > >Hash: SHA1 > > > >According to Eric Blake on 9/3/2009 9:58 AM: > >> faccessat has at least two, and probably three bugs. > > > >Here's a fix for 1 (typo)