Re: [sqlite] O_NOFOLLOW issue with /dev/null on Solaris

2020-02-18 Thread jakub . kulik
Thanks for the fix, I just verified that our issue is gone. We will keep the fact that this should not happen in the first place in mind. Jakub On 2/13/20 2:50 PM, Richard Hipp wrote: On 2/13/20, jakub.ku...@oracle.com wrote: Recently, O_NOFOLLOW was added to several calls into

Re: [sqlite] O_NOFOLLOW issue with /dev/null on Solaris

2020-02-13 Thread Richard Hipp
On 2/13/20, jakub.ku...@oracle.com wrote: > > Recently, O_NOFOLLOW was added to several calls into robust_open(). In > that function, if the fd returned by open() is too low (in the stdio > range 0-2), then it closes it, and opens /dev/null to pad out the fd's > until we reach at least fd#3.

[sqlite] O_NOFOLLOW issue with /dev/null on Solaris

2020-02-13 Thread jakub . kulik
After sqlite 3.29 -> 3.31 upgrade, we started seeing issues related to differences in /dev/null in Solaris. Recently, O_NOFOLLOW was added to several calls into robust_open(). In that function, if the fd returned by open() is too low (in the stdio range 0-2), then it closes it, and opens