Re: [char-misc-next 5/5] mei: revamp read and write length checks

2013-09-26 Thread Greg KH
On Mon, Sep 02, 2013 at 03:11:04AM +0300, Tomas Winkler wrote: > 1. Return zero on zero length read and writes > 2. For a too large write return -EFBIG as defined in man write(2) > EFBIG An attempt was made to write a file that > exceeds the implementation-defined maximum > file si

[char-misc-next 5/5] mei: revamp read and write length checks

2013-09-01 Thread Tomas Winkler
1. Return zero on zero length read and writes 2. For a too large write return -EFBIG as defined in man write(2) EFBIG An attempt was made to write a file that exceeds the implementation-defined maximum file size or the process's file size limit, or to write at a positio