search for: fdlimit

Displaying 2 results from an estimated 2 matches for "fdlimit".

Did you mean: fd_limit
2016 Aug 06
2
debian (1.2.22-3~bpo8+1) package build failure
I'm trying to test a trivial patch to set FD_CLOEXEC on the flintlock lockfd when using F_OFD_SETLK and am running into a build failure even in an unpatched state. This is on a Debian jessie amd64 system building the jessie-backports version. The stable version (1.2.19-1+deb8u1) works and builds fine using the same commands, however I also encountered a similar build problem in a sid chroot
2016 Aug 07
2
debian (1.2.22-3~bpo8+1) package build failure
...D might only need to be > called on F_OFD_SETLK success) Description at bottom. > > --- a/backends/flint_lock.cc > +++ b/backends/flint_lock.cc > @@ -108,6 +108,10 @@ FlintLock::lock(bool exclusive, string & explanation) { > return ((errno == EMFILE || errno == ENFILE) ? FDLIMIT : UNKNOWN); > } > > +#ifdef FD_CLOEXEC > + (void)fcntl(lockfd, F_SETFD, FD_CLOEXEC); > +#endif > + This is fixed in master and 1.4.0, which set CLOEXEC for all relevant FDs. Those changes weren't backported as they were rather pervasive and we'd had no user rep...