[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8505) LMDB vs. fork()



--001a1143758a2a3d2c053ec0c5a5
Content-Type: text/plain; charset=UTF-8

I obviously agree that fixing the problems you mention is worthwhile, it
just so far doesn't really get me what I need: safe fork() + exec().

Well, or mdb_env_open() could take an
> MDB_CLOEXEC flag which says to set FD_CLOEXEC on that FD too.
>

If I could get that I'd move off my soapbox immediately. I can contribute a
patch if that sounds reasonable?

-- 
Lorenz Bauer  |  Systems Engineer
25 Lavington St., London SE1 0NZ

www.cloudflare.com

--001a1143758a2a3d2c053ec0c5a5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I obviously agree that fixing the problems you mentio=
n is worthwhile, it just so far doesn&#39;t really get me what I need: safe=
 fork() + exec().<br></div><br><div class=3D"gmail_extra"><div class=3D"gma=
il_quote"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Well, or mdb_en=
v_open() could take an<br>
MDB_CLOEXEC flag which says to set FD_CLOEXEC on that FD too.<br></blockquo=
te><div><br></div><div>If I could get that I&#39;d move off my soapbox imme=
diately. I can contribute a patch if that sounds reasonable?</div></div><di=
v><br></div>-- <br><div class=3D"gmail_signature">Lorenz Bauer =C2=A0| =C2=
=A0Systems Engineer<br>25 Lavington St., London SE1 0NZ<br><br><a href=3D"h=
ttp://www.cloudflare.com" target=3D"_blank">www.cloudflare.com</a></div>
</div></div>

--001a1143758a2a3d2c053ec0c5a5--