[Midnightbsd-cvs] [MidnightBSD/src] 2a6afb: Generally, it's preferred that an application fork...

Lucas Holt noreply at github.com
Sat Nov 14 15:06:25 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 2a6afb875b031f652455ab7f3ec6fafbb9652eb4
      https://github.com/MidnightBSD/src/commit/2a6afb875b031f652455ab7f3ec6fafbb9652eb4
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-14 (Sat, 14 Nov 2020)

  Changed paths:
    M sys/fs/devfs/devfs_vnops.c
    M sys/kern/tty.c

  Log Message:
  -----------
  Generally, it's preferred that an application fork/setsid if it doesn't want
to keep its controlling TTY, but it could be that a debugger is trying to
steal it instead -- so it would hook in, drop the controlling TTY, then do
some magic to set things up again. In this case, TIOCNOTTY is quite handy
and still respected by at least OpenBSD, NetBSD, and Linux as far as I can
tell.

I've dropped the note about obsoletion, as I intend to support TIOCNOTTY as
long as it doesn't impose a major burden.

Obtained from: FreeBSD




More information about the Midnightbsd-cvs mailing list