lkml.org 
[lkml]   [1999]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: AIC 5.1.18 _broken_
On Mon, 19 Jul 1999, Alan Cox wrote:

> > If it _does_, what happens? If it is possible to oops/corrupt the kernel
> > then I say fix it. If is it just a case that read() may return slightly
> > old data, or similar, then sod it :-)
>
> Then there is process accounting, core dumps, ..
>
> The two liner regrettably is in the "elegant, clean, broken" category

What about another task flag to cope with this? Hunt down the places
which do set_fs(KERNEL_DS) and set a flag in the dangerous case.

Then the two-liner can examine that flag instead of get_ds().

Disclaimer: this suggestion based upon having seen the proposed
solution, rather than an understanding of the original problem :)

Matthew.


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

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