[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAXuY3oZSMYd8_f9dDSf_oktnC0oS6yKBJWOmcMi4Jn6C0MkkA@mail.gmail.com>
Date: Mon, 2 Dec 2019 10:44:03 -0800
From: Iurii Zaikin <yzaikin@...gle.com>
To: Maciej Żenczykowski <zenczykowski@...il.com>
Cc: Maciej Żenczykowski <maze@...gle.com>,
Luis Chamberlain <mcgrof@...nel.org>,
Kees Cook <keescook@...omium.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linus FS Devel Mailing List <linux-fsdevel@...r.kernel.org>
Subject: Re: [PATCH] proc_do_large_bitmap - return error on writes to
non-existant bitmap
On Wed, Nov 27, 2019 at 1:55 AM Maciej Żenczykowski
<zenczykowski@...il.com> wrote:
> We return ENOMEDIUM 'No medium found', because it's the best error
> I could come up with to describe the situation.
EFAULT for bitmap == NULL and
EINVAL for bitmap_len == 0?
Powered by blists - more mailing lists