Thread (75 messages) 75 messages, 14 authors, 2022-02-25

Re: [PATCH v2 00/18] clean up asm/uaccess.h, kill set_fs for good

From: Al Viro <viro@zeniv.linux.org.uk>
Date: 2022-02-18 01:50:51
Also in: linux-alpha, linux-api, linux-arch, linux-m68k, linux-mips, linux-mm, linux-riscv, linux-s390, linux-sh, linux-um, linuxppc-dev, lkml

On Thu, Feb 17, 2022 at 07:20:11AM +0000, Christophe Leroy wrote:
And we have also 
user_access_begin()/user_read_access_begin()/user_write_access_begin() 
which call access_ok() then do the real work. Could be made generic with 
call to some arch specific __user_access_begin() and friends after the 
access_ok() and eventually the might_fault().
Not a good idea, considering the fact that we do not want to invite
uses of "faster" variants...
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help