Thread (6 messages) flat view 6 messages, 3 authors, 2012-04-06

Re: sendmmsg: put_user vs __put_user

From: Ulrich Drepper <hidden>
Date: 2012-03-31 12:30:51
Also in: lkml

On Fri, Mar 30, 2012 at 20:51, David Miller [off-list ref] wrote:
Compat processes are not able to generate virtual addresses anywhere
near the range where the kernel resides, so the address range
verification done by put_user() is completely superfluous and
therefore not necessary.  The normal exception handling done by the
access is completely sufficient.
I was more thinking about the effects of might_fault() then additional tests.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help