lkml.org 
[lkml]   [1996]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: CLONE_FILES problem.
Date
> Memory mappings can of course use counters, but you'd have to add the
> appropriate unlock calls to every procedure which uses verify_area.
> This is probably something that should have been done from the beginning...

This is a thing for 2.1, swapping most memcpy_fromfs() etc with

err=memcpy_verify_fromfs(...)
if(err)
...

And putting in seperate locking for the cases where we cant just try a copy
then back out (eg networking copy/checksum stuff).

Alan

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.049 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site