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.


----- w...@djo.tudelft.nl -----

Reply via email to