Re: [PATCH RESEND 1/4] uaccess: Add user_read_access_begin/end and user_write_access_begin/end

From: Christophe Leroy
Date: Thu Apr 02 2020 - 14:35:14 EST




Le 02/04/2020 Ã 19:50, Al Viro a ÃcritÂ:
On Thu, Apr 02, 2020 at 07:03:28PM +0200, Christophe Leroy wrote:

user_access_begin() grants both read and write.

This patch adds user_read_access_begin() and user_write_access_begin() but
it doesn't remove user_access_begin()

Ouch... So the most generic name is for the rarest case?

I can add another patch at the end of the series to rename user_access_begin() to user_full_access_begin().

Would it suit you ?

Christophe