On Mon, Dec 10, 2018 at 10:21:13PM -0800, Andrey Vagin wrote: ... > > + > > + fd = open(filename, O_PATH, 0644); > > Could you create another test for O_PATH? Yes, will rework the series.