Re: VFS regression ? Re: disfunctional floppy driver in kernels 4.5, 4.6 and 4.7

From: Wim Osterholt
Date: Sat Jun 11 2016 - 20:24:13 EST


On Sat, Jun 11, 2016 at 02:15:01PM +0100, One Thousand Gnomes wrote:

> > open(/dev/fd0, O_ACCMODE) = -1

> If you do
>
> touch foo
>
> then compile and run the following program does it error on the newer
> kernel ?
>
> #include <fcntl.h>
> #include <stdio.h>
>
> int main(int argc, char *argv[])
> {
> if (open("foo", 3) == -1)
> perror("foo");
> return 0;
> }

No errors get printed for kernel 4.4 to 4.7 .

Regards, Wim.


----- wim@xxxxxxxxxxxxxx -----