[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
LMDB and FD_CLOEXEC
- To: openldap-technical@openldap.org
- Subject: LMDB and FD_CLOEXEC
- From: Martin Lucina <martin@lucina.net>
- Date: Mon, 10 Mar 2014 22:14:09 +0100
- Content-disposition: inline
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lucina.net; s=dkim-201309; t=1394486050; bh=g4ZBTvTubcwiNghcKqN+r13s2ssWjpmuUmz1VZ+LjCY=; h=Date:From:To:Subject:From; b=TJpRnJ0zijpV3oCRxPm0yTw7Bjas3ds2de3+Zelh1CPRqLbrCNT8d74+VTiDnJCCX IPd8CLEUVrovCMebit/1GIax0DDxHhihXKc2E33KR2dY2vcr5emf7ikKdKWlHag8ee pJEP/ynuTyB8JHFmNoEMwOEr6udlgXnaDzHLWntske0k5yG/88Lm7fuDTJQN0HwRTO eV9vC6bf0SOAcdeRT74sIG+aKlrcep0+ZcgOOrxXUZXyhJyaJg8pu4xXon1HswSw1u SB8gaKgpJ/IP66xdvc8WDwkmvkNRwqvyzTsHt0aOZsBdKQxWGFnUA9vChf8FnzuqmL OawSANXd7+lSA==
- Mail-followup-to: openldap-technical@openldap.org
- User-agent: Mutt/1.5.21 (2010-09-15)
Hi,
is there any particular reason for MDB setting FD_CLOEXEC *only* on
me->lfd?
I can't see why it should not set it for the other fds it opens, as IMO it
doesn't make sense to hang onto the fds after exec() -- the mmap will be
gone in any case.
Martin