Re: Linux 2.4.2-ac27

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Apr 02 2001 - 14:56:24 EST


> This is consistent throughout all 2.4.x at least. From your comment I've
> learnt SuS v2 requires -ENODEV for the len=0 case. While this would

it needs -ENODEV for all cases where you mmap a file which does not support
mmap operations. A 0 length mmap could return the address, EINVAL and maybe
some other stuff.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Apr 07 2001 - 21:00:10 EST