[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Get the ownership of terminal in stage2 (#716920)



On 07/25/2011 03:41 PM, Martin Sivak wrote:
This patch fixes the freeze in stage2. There is possible race though as I'm not
sure about the behaviour in the following case:

loader forks and execs stage2
loader sets the pgrp for stage2
stage2 get to the first stdio read
... freeze? kernel stops stage2 process
loader sets the pgrp for it's tty
... does kernel unfreezes stage2 and lets it continue?

This might also break our advanced debugging stuff, but we need the text mode
to work first so that case might get handled when we get that problem.


It looks good, many thanks for this.

Ales


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]