openat fakery is misleading

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Dec 11 10:36:00 GMT 2014


On Dec 10 17:27, Zefram wrote:
> Providing a faked openat(2) is far worse than providing no openat(2)
> at all.  As long as these functions cannot be implemented in a way that
> exhibits the distinctive behaviour of the real thing, they should either
> be unavailable at compile time or consistently signal ENOSYS at runtime.

Since existing applications already rely on the function entry points,
that's not feasible.  So either the functions stay as they are for the
time being, or they need fixing.  Patches welcome.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20141211/98a5e497/attachment.sig>


More information about the Cygwin mailing list