Re: CLONE_FILES problem.

Alan Cox (alan@cymru.net)
Mon, 19 Aug 1996 12:47:41 +0100 (BST)


> 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