On Sun, 09.06.13 12:38, Colin Walters (walt...@verbum.org) wrote:

> On Sun, 2013-06-09 at 10:03 -0400, Steve Grubb wrote:
> 
> > Why would anyone write software that is incorrect enough the OS spits it 
> > back 
> > as EINVAL? 
> 
> One example is the btrfs ioctl() for reflink:
> 
> https://bugzilla.gnome.org/show_bug.cgi?id=626497

You also check for EINVAL when testing for certain prctl() features at
runtime.

Or for testing whether /dev/kmsg supports reading.

Or...

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to