CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]  2026/08/20 15:35:32

Modified files:
        libexec/getty  : ttys.5 
        sbin/init      : init.8 init.c 

Log message:
init(8): remove support for the window= field in /etc/ttys

This feature was introduced in 4.3BSD, and announced in "Bug Fixes
and Changes in 4.3BSD", dated April 15, 1986. The feature provided
a way to start a window system associated with a tty before
starting getty(8).

However the implementation has a few negatives and these days
graphical environments are better started in other ways.

In particular:
- the window command is run with root privileges
- init(8) does not track or supervise the process as part of the
tty session.
- reloading /etc/ttys by sending SIGHUP to init, can leave a stale
window command cached incorrectly
- repeated reloads leak memory

Rather than fix all these issues, remove the feature instead.

For now, existing window= entries will continue to be accepted by
getttyent(3), but are ignored by init(8).

ok deraadt@

Reply via email to