tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]


On Mon, Apr 30, 2012 at 03:39:40PM +0200, Emmanuel Dreyfus wrote:
> Consider that Linux returns ENODATA, therefore most programs will check
> that. The only programs we may encouter that will check for ENOATTR will
> be from FreeBSD (are there any?) or MacOS X.

I don't know - you could nuke ENOATTR from NetBSD and just make the kernel
return ENODATA.

Which sounds awfull (given that ENODATA is posix blessed with the same
meaning that our man page describes), but still is less a hack than
making them the same or allowing userland to override the value.


Home | Main Index | Thread Index | Old Index