[lkml]   [2000]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Booting into /bin/bash
    On Wed, 13 Sep 2000, Miquel van Smoorenburg wrote:

    > Stick a setsid() before the tty stuff.

    Have you tried it? There is a good reason why I put the setsid() call so
    early in kernel's init(). Once the initialization is done, init will have
    several kernel threads as part of its process group, even though it's not
    a process leader itself... Yeah, inconsistent, but enough to make
    setsid() fail.

    At the very very least, the part of my patch that adds the setsid() call
    should be applied, so process number 1 _can_ acquire a controlling tty if
    it wants to.


    It is better to keep your mouth shut and be thought a fool,
    than to open it and remove all doubt.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:38    [W:0.025 / U:2.564 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site