Bad file access on the rise
Lennart Poettering
mzerqung at 0pointer.de
Mon Jun 10 08:51:35 UTC 2013
On Sun, 09.06.13 12:38, Colin Walters (walters at 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.
More information about the devel
mailing list