lkml.org 
[lkml]   [2005]   [Nov]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 29 Nov 2005 00:09:16 -0800
FromAndrew Morton <>
SubjectRe: [PATCH] race condition in procfs
Grzegorz Nosek <grzegorz.nosek@gmail.com> wrote:
>
> Hello,
> 
> I found a race condition in procfs on SMP systems. The result is an
> oops in processes like pidof. Apparently ->proc_read() gets passed a
> potentially NULL pointer.

Do you know what the race is?

How does one reproduce it?

> The following micro-patch seems to fix it.

It might be right, or it might be a workaround..

-
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-11-29 09:12    [from the cache]
©2003-2008