Re: [PATCH] Longstanding elf fix (2.4.3 fix)

Eric W. Biederman (ebiederm@xmission.com)
24 Apr 2001 01:19:28 -0600


"Manfred Spraul" <manfred@colorfullife.com> writes:

> > Well looking a little more closely than I did last night it looks like
> > access_process_vm (called from ptrace) can cause what amounts to a
> > page fault at pretty arbitrary times.
>
> It's also used for several /proc/<pid> files.
>
> I remember that I got crashes with concurrent exec+cat
> /proc/<pid>/cmdline until down(mmap_sem) was added into
> setup_arg_pages().

O.k. Then the race I'm catching is real though because it is confined
to bss sections, we are quite unlikely to trigger it.

Eric
-
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/