ioctl_tty.2: Elaborate a little on the rationale for TIOCGPTPEER

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-08-27 04:27:58 +02:00
parent f88bf37c1d
commit d754b76ddc
1 changed files with 4 additions and 0 deletions

View File

@ -402,6 +402,10 @@ operation rather than
with the pathname returned by
.BR ptsname (3),
and similar library functions that have insecure APIs.
(For example, confusion can occur in some cases using
.BR ptsname (3)
with a pathname where a devpts filesystem
has been mounted in a different mount namespace.)
.PP
The BSD ioctls
.BR TIOCSTOP ,