about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2013-09-10 14:09:27 +1000
committerAllan McRae <allan@archlinux.org>2013-09-10 14:11:39 +1000
commitcdfc721b8d2d5079325ea9f0beb5673d72b4cdd0 (patch)
tree5acb7821590b08a4aa214c6a699d79c6575a1094
parent95e7cf295e449c0aec3d7a76f01907bf300106bf (diff)
downloadglibc-cdfc721b8d2d5079325ea9f0beb5673d72b4cdd0.tar.gz
glibc-cdfc721b8d2d5079325ea9f0beb5673d72b4cdd0.tar.xz
glibc-cdfc721b8d2d5079325ea9f0beb5673d72b4cdd0.zip
Update pt_chown sections of the manual
The pt-chown binary is discussed in the "Running make install" section
without clarification of the needed configure option.  Clarify this
and simplfy the discription which is already covered in the "Configuring
and compiling" section.
-rw-r--r--ChangeLog7
-rw-r--r--INSTALL13
-rw-r--r--NEWS4
-rw-r--r--manual/install.texi13
4 files changed, 19 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index ae3a10c3f1..f9ffb37256 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-09-10  Allan McRae  <allan@archlinux.org>
+
+	[BZ #15849]
+	* manual/install.texi (Running make install): Mention
+	--enable-pt-chown.
+	* INSTALL: Regenerated.
+
 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
 
 	* csu/init-first.c (_init): Remove the !SHARED condition around
diff --git a/INSTALL b/INSTALL
index 211fd9174c..7aa52183de 100644
--- a/INSTALL
+++ b/INSTALL
@@ -285,14 +285,11 @@ dramatically improve performance with NIS+, and may help with DNS as
 well.
 
    One auxiliary program, `/usr/libexec/pt_chown', is installed setuid
-`root'.  This program is invoked by the `grantpt' function; it sets the
-permissions on a pseudoterminal so it can be used by the calling
-process.  This means programs like `xterm' and `screen' do not have to
-be setuid to get a pty.  (There may be other reasons why they need
-privileges.)  If you are using a Linux kernel with the `devptsfs' or
-`devfs' filesystems providing pty slaves, you don't need this program;
-otherwise you do.  The source for `pt_chown' is in
-`login/programs/pt_chown.c'.
+`root' if the `--enable-pt_chown' configuration option is used.  This
+program is invoked by the `grantpt' function; it sets the permissions
+on a pseudoterminal so it can be used by the calling process.  If you
+are using a Linux kernel with the `devpts' filesystem enabled and
+mounted at `/dev/pts', you don't need this program.
 
    After installation you might want to configure the timezone and
 locale installation of your system.  The GNU C Library comes with a
diff --git a/NEWS b/NEWS
index e3eb389822..c1cae0f263 100644
--- a/NEWS
+++ b/NEWS
@@ -10,8 +10,8 @@ Version 2.19
 * The following bugs are resolved with this release:
 
   14155, 14699, 15427, 15522, 15531, 15532, 15736, 15749, 15797, 15844,
-  15867, 15886, 15887, 15890, 15892, 15893, 15895, 15897, 15905, 15909,
-  15921, 15939.
+  15849, 15867, 15886, 15887, 15890, 15892, 15893, 15895, 15897, 15905,
+  15909, 15921, 15939.
 
 * CVE-2013-4237 The readdir_r function could write more than NAME_MAX bytes
   to the d_name member of struct dirent, or omit the terminating NUL
diff --git a/manual/install.texi b/manual/install.texi
index 2ac0104ca6..4ca7b1a1ab 100644
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -320,14 +320,11 @@ can dramatically improve performance with NIS+, and may help with DNS as
 well.
 
 One auxiliary program, @file{/usr/libexec/pt_chown}, is installed setuid
-@code{root}.  This program is invoked by the @code{grantpt} function; it
-sets the permissions on a pseudoterminal so it can be used by the
-calling process.  This means programs like @code{xterm} and
-@code{screen} do not have to be setuid to get a pty.  (There may be
-other reasons why they need privileges.)  If you are using a
-Linux kernel with the @code{devptsfs} or @code{devfs} filesystems
-providing pty slaves, you don't need this program; otherwise you do.
-The source for @file{pt_chown} is in @file{login/programs/pt_chown.c}.
+@code{root} if the @samp{--enable-pt_chown} configuration option is used.
+This program is invoked by the @code{grantpt} function; it sets the
+permissions on a pseudoterminal so it can be used by the calling process.
+If you are using a Linux kernel with the @code{devpts} filesystem enabled
+and mounted at @file{/dev/pts}, you don't need this program.
 
 After installation you might want to configure the timezone and locale
 installation of your system.  @Theglibc{} comes with a locale