Bad file access on the rise

Lennart Poettering mzerqung at
Mon Jun 10 08:51:35 UTC 2013

On Sun, 09.06.13 12:38, Colin Walters (walters at 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:

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

Or for testing whether /dev/kmsg supports reading.



Lennart Poettering - Red Hat, Inc.

More information about the devel mailing list