summaryrefslogtreecommitdiffstats
path: root/include/spawn.h
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-06-14 17:00:35 +0000
committered <ed@FreeBSD.org>2009-06-14 17:00:35 +0000
commitced07ef3b3639a83761cd0e5bb0df9418adc1d4d (patch)
treee28abd0f50c9dc30488e9aafd5a242e9601c370d /include/spawn.h
parenta6a33f782477877bea87e59cd8c7b89c8efc1e79 (diff)
downloadFreeBSD-src-ced07ef3b3639a83761cd0e5bb0df9418adc1d4d.zip
FreeBSD-src-ced07ef3b3639a83761cd0e5bb0df9418adc1d4d.tar.gz
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.
Diffstat (limited to 'include/spawn.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud