Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2019 08:39:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 220507] resizewin(1) doesn't work with vt(4)
Message-ID:  <bug-220507-227-PHDn2tY1ty@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220507-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220507-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220507

--- Comment #2 from Ed Maste <emaste@freebsd.org> ---
See sys/teken/libteken/teken.3:
>     The tf_respond() callback is used to respond to device status requests
>     commands generated by an application.  In the past, there have been
>     various security issues, where a malicious application sends a device
>     status request before termination, causing the generated response to =
be
>     interpreted by applications such as sh(1).
>
>     teken only implements a small subset of responses which are unlikely =
to
>     cause any harm.  Still, it is advised to leave tf_respond()
>     unimplemented.

and indeed vt(4) does not set tf_respond.

For reference syscons provides scteken_respond; see
sys/dev/syscons/scterm-teken.c and sc_respond in sys/dev/syscons/syscons.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220507-227-PHDn2tY1ty>