open: Check flags, and use _open2 if applicable.
authorDanny Milosavljevic <dannym@scratchpost.org>
Tue, 2 Jul 2019 01:36:18 +0000 (03:36 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 9 Sep 2019 14:04:13 +0000 (16:04 +0200)
commit5a2a00f4e848601a0a7a539aa9d858051ac9afc4
tree990d2b890c96693ab02e4703acfd39db12579b91
parent3943155a64220d3749857bebaf22eb72ce953a2d
open: Check flags, and use _open2 if applicable.

* lib/linux/open.c (open): Check flags; use _open2.
lib/posix/open.c