lkml.org 
[lkml]   [2002]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] i386 __verify_write fixes
From
Date
On Sun, 2002-10-13 at 21:13, Brian Gerst wrote:
> mark the page read-only. A 386 would continue to write to the page when
> the first thread woke up again. We need to prevent anyone from changing
> the page permissions until we are done writing to userspace. My
> suggestion is to replace access_ok() with begin_user_{read,write}(), and
> add end_user_{read,write}(). Thoughs?

For 2.6 with the time scale as it is I think we just block pre-emption
on 386. Its not a big deal since almost nobody uses 386 any more

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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