Re: vfork & co bugfix

Eric W. Biederman (ebiederm+eric@ccr.net)
10 Jan 1999 15:34:46 -0600


>>>>> "LT" == Linus Torvalds <torvalds@transmeta.com> writes:

LT> On 10 Jan 1999, Eric W. Biederman wrote:
>>
>> Looking at vfork in 2.2.0-pre6 I was struck by how badly
>> looking at current, (to release a process) hacks up mmput.
>>
>> It took a little while but eventually a case where
>> this really goes wrong.

LT> Note that the pre6 version has a number of cases where it can really screw
LT> up, don't even look at them too closely. I think I've fixed them all - it
LT> was really simple, but there was a few things I hadn't originally thought
LT> of.

LT> I'll make a pre7 once I've verified that the recursive semaphores work at
LT> least to some degree, could you please take a look at that one?

Will do.

The messing up of segments, and the ldt is much older than pre6 though.
The vfork release semaphore code just happened to make about the same assumption,
so I fixed them both at the same time.

Eric

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