Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2009 17:00:35 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sbin/init init.c
Message-ID:  <200906141700.n5EH0s5M049441@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2009-06-14 17:00:35 UTC

  FreeBSD src repository

  Modified files:
    sbin/init            init.c 
  Log:
  SVN rev 194198 on 2009-06-14 17:00:35Z by ed
  
  Fix the staircase issue properly this time.
  
  Even though I thought this bug was somewhere in the TTY layer, it turns
  out init(8) doesn't make sure /dev/console is opened initially properly.
  I've added revoke() to two pieces of code:
  
  - death(): Apart from killing the gettys on shutdown, this doesn't
    guarantee the TTY to be closed immediately.
  - runshutdown(): Just like setctty(), we should revoke /dev/console.
    Applications like syslogd may have file descriptors to the console.
  
  Revision  Changes    Path
  1.67      +8 -0      src/sbin/init/init.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906141700.n5EH0s5M049441>