aboutsummaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2020-10-07 14:55:04 +0200
committerFlorian Weimer <fweimer@redhat.com>2020-10-07 14:55:50 +0200
commit27fe5f2e67a0e4cc0526b1b32b55f8e519075edb (patch)
treeef5c44eece0ca4d809f072533d4a30d71d5aa09a /INSTALL
parent0f9793a556675d67d7c1897553f92e7152d1e598 (diff)
downloadglibc-27fe5f2e67a0e4cc0526b1b32b55f8e519075edb.zip
glibc-27fe5f2e67a0e4cc0526b1b32b55f8e519075edb.tar.gz
glibc-27fe5f2e67a0e4cc0526b1b32b55f8e519075edb.tar.bz2
Linux: Require properly configured /dev/pts for PTYs
Current systems do not have BSD terminals, so the fallback code in posix_openpt/getpt does not do anything. Also remove the file system check for /dev/pts. Current systems always have a devpts file system mounted there if /dev/ptmx exists. grantpt is now essentially a no-op. It only verifies that the argument is a ptmx-descriptor. Therefore, this change indirectly addresses bug 24941. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL11
1 files changed, 3 insertions, 8 deletions
diff --git a/INSTALL b/INSTALL
index 41f5d6b..2b00f80 100644
--- a/INSTALL
+++ b/INSTALL
@@ -188,14 +188,9 @@ if 'CFLAGS' is specified it must enable optimization. For example:
'--enable-pt_chown'
The file 'pt_chown' is a helper binary for 'grantpt' (*note
Pseudo-Terminals: Allocation.) that is installed setuid root to fix
- up pseudo-terminal ownership. It is not built by default because
- systems using the Linux kernel are commonly built with the 'devpts'
- filesystem enabled and mounted at '/dev/pts', which manages
- pseudo-terminal ownership automatically. By using
- '--enable-pt_chown', you may build 'pt_chown' and install it setuid
- and owned by 'root'. The use of 'pt_chown' introduces additional
- security risks to the system and you should enable it only if you
- understand and accept those risks.
+ up pseudo-terminal ownership on GNU/Hurd. It is not required on
+ GNU/Linux, and the GNU C Library will not use the installed
+ 'pt_chown' program when configured with '--enable-pt_chown'.
'--disable-werror'
By default, the GNU C Library is built with '-Werror'. If you wish