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.
This commit is contained in:
Allan McRae 2013-09-10 14:09:27 +10:00
parent 95e7cf295e
commit cdfc721b8d
4 changed files with 19 additions and 18 deletions

View File

@ -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

13
INSTALL
View File

@ -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

4
NEWS
View File

@ -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

View File

@ -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