Commit Graph

875 Commits

Author SHA1 Message Date
Joseph Myers 3f2e46a494 Remove --disable-versioning. 2013-09-04 15:25:42 +00:00
Ondřej Bílka f24a6d086b Fix then/than typos. 2013-08-30 18:10:31 +02:00
Florian Weimer 91ce40854d CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r
* sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
	member.
	* sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
	member.
	* sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
	* sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
	Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
	conditional.
	* sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
	GETDENTS_64BIT_ALIGNED.
	* sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
	* manual/filesys.texi (Reading/Closing Directory): Document
	ENAMETOOLONG return value of readdir_r.  Recommend readdir more
	strongly.
	* manual/conf.texi (Limits for Files): Add portability note to
	NAME_MAX, PATH_MAX.
	(Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2013-08-16 09:40:34 +02:00
David S. Miller db24e6842d Update manual/contrib.texi
* manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
	entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
	Bilka.
2013-08-01 17:27:04 -07:00
Carlos O'Donell e4608715e6 CVE-2013-2207, BZ #15755: Disable pt_chown.
The helper binary pt_chown tricked into granting access to another
user's pseudo-terminal.

Pre-conditions for the attack:

 * Attacker with local user account
 * Kernel with FUSE support
 * "user_allow_other" in /etc/fuse.conf
 * Victim with allocated slave in /dev/pts

Using the setuid installed pt_chown and a weak check on whether a file
descriptor is a tty, an attacker could fake a pty check using FUSE and
trick pt_chown to grant ownership of a pty descriptor that the current
user does not own.  It cannot access /dev/pts/ptmx however.

In most modern distributions pt_chown is not needed because devpts
is enabled by default. The fix for this CVE is to disable building
and using pt_chown by default. We still provide a configure option
to enable hte use of pt_chown but distributions do so at their own
risk.
2013-07-21 15:39:55 -04:00
Andi Kleen 1717da59ae Add a configure option to enable lock elision and disable by default
Can be enabled with --enable-lock-elision=yes at configure time.
2013-07-02 08:46:55 -07:00
Joseph Myers cbe7d24bb4 Require GCC 4.4 or later to build glibc. 2013-06-26 23:10:48 +00:00
Joseph Myers 8fcb833a2b Update texinfo.tex. 2013-06-25 17:21:48 +00:00
Roland McGrath 12086fb483 Sort sysd-rules-patterns by descending pattern length. 2013-06-17 09:55:49 -07:00
Siddhesh Poyarekar adf23d2cca Add documentation for default pthread attribute functions 2013-06-15 12:27:41 +05:30
Joseph Myers 9c84384cc1 Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
Jeff Law 96945714ec [BZ #14256]
* manual/errno.texi (ESTALE): Update to account for more than
        just NFS file systems.
        * sysdeps/gnu/errlist.c: Regenerated.
2013-05-30 05:51:22 -06:00
Ben Norht 56b672e92e Doc fix for 'frexp' in arith.texi
It is the magnitude of the return value which lies
in [0.5, 1), not the return value itself.

---

2013-05-28  Ben North  <ben@redfrontdoor.org>

	* manual/arith.texi (frexp): It is the magnitude of the return
	value which lies in [0.5, 1), not the return value itself.
2013-05-28 17:20:24 -04:00
Thomas Schwinge 2b66ef5d55 * manual/platform.texi: Add missing @end deftypefun.
Fixup for commit d116b7c414.
2013-05-26 18:06:30 +02:00
Adhemerval Zanella d116b7c414 PowerPC: Program Priority Register support
This patch add inline functions to change the Program Priority Register
from ISA 2.05.
2013-05-24 13:29:30 -05:00
Edjunior Machado 9323d39bae PowerPC: Add functions for shared resources hints. 2013-05-23 10:32:47 -05:00
Carlos O'Donell e8dd47916f manual/message.texi: Fix english and clarify.
Rewrite the first paragraph to talk about users not humans,
and to use correct English.

Clarify that it is the mapping of messages to IDs that
impacts the design of the message translation API.

---

2013-05-07  Carlos O'Donell  <carlos@redhat.com>

	* manual/message.texi (Message Translation): Talk about users.
	Message to key mapping impacts design.
2013-05-07 12:33:44 -04:00
Roland McGrath 477925062f BZ#15361: Make aio_fsync not check open modes. 2013-04-12 13:11:20 -07:00
Thomas Schwinge 572676160d New <math.h> macro named issignaling to check for a signaling NaN (sNaN).
It is based on draft TS 18661 and currently enabled as a GNU extension.
2013-04-02 13:51:02 +02:00
Mark H Weaver 9ad027fb30 Fix docs for scalbn* and scalbl* functions
* manual/arith.texi (Normalization Functions): Fix prototypes
	for scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2013-03-24 19:52:10 -04:00
Siddhesh Poyarekar d3cfc668a3 Rename nptl.texi to threads.texi
The manual and its file names are about interfaces and not the
implementation details.
2013-03-19 14:28:20 +05:30
Carlos O'Donell ec4ff04d23 manual: Sort mallopt M_* parameters alphabetically
Sort the mallopt M_* parameters alphabetically and add comments for the
missing paramters.
2013-03-17 16:03:02 -04:00
Siddhesh Poyarekar bcda98809c Modify threads in nptl cindex to pthreads 2013-03-15 09:28:54 +05:30
Siddhesh Poyarekar 0409959c86 Add nptl manual chapter
This adds the base chapter for POSIX threads and also documentation
for thread-specific data, along with a note on its interaction with
C++11 thread_local variables.
2013-03-14 12:37:42 +05:30
Carlos O'Donell e98cdb38ee Remove mention of i386-pc-linux-gnu.
The GNU C Library does not support building for i386
therefore we remove mention of this configuration
from the INSTALL file.
2013-03-12 21:33:38 -04:00
Allan McRae faf6f8bca8 Fix menu ordering in socket.texi.
Match the order of (sub)sections in the menu to that in the file..
2013-02-24 21:06:00 +10:00
Allan McRae b4d1fd3370 Add @detailmenu to subsection node listing
Surround the "Detailed Node Listing" section of the info page menu with
@detailmenu flags to avoid confusing texinfo.  Resolves a large number
of warnings printed by texinfo-5.0.
2013-02-24 21:05:58 +10:00
Allan McRae 582a3cff13 Move @end statement to start of line
Fixes a warning with texinfo-5.0.
2013-02-21 22:40:24 +10:00
Carlos O'Donell 41f49342e9 manual: Remove frobnicate @pxref.
We remove the frobnicate @pxref in the "System Databases and Name
Service Switch" chapter. The @pxref doesn't make sense in the given
context.
2013-02-20 13:30:23 -05:00
Roland McGrath 8ded91fb37 Fix some errors in declarations in the manual. 2013-02-11 14:16:43 -08:00
Roland McGrath 550a0b89b4 Fix PF_LOCAL socket example sockaddr_un size calculation. 2013-02-08 14:55:50 -08:00
Mike Frysinger aba5e59604 manual: glob flags: fix sorting order
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-13 13:24:28 -05:00
Mike Frysinger e557e9e519 manual: glob flags: mention the GNU extensions
The glob flags page reads as if this section is comprehensive when it
is not -- a lot of GNU extensions exist.  Point that out in the intro.

Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-13 13:24:28 -05:00
Mike Frysinger 0428cec91e manual: glob: document the gl_flags field
The More Flags for Globbing section indirectly mentions gl_flags when
talking about GLOB_MAGCHAR.  Mention it explicitly when covering the
glob_t types.

Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-13 13:24:27 -05:00
H.J. Lu 740b3dbee8 Add --enable-hardcoded-path-in-tests configure option 2013-01-11 07:14:18 -08:00
Joseph Myers e6898b8d92 Update miscellaneous copyright dates. 2013-01-02 19:43:40 +00:00
Joseph Myers 568035b787 Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Joseph Myers f4cf5f2d8b Add script to update copyright notices and reformat some to facilitate its use. 2013-01-01 16:29:10 +00:00
Marcus Shawcroft cedb2a909d Fix AArch64 typo. 2012-12-18 09:51:55 +00:00
David S. Miller bc38c90626 Update manual/contrib.texi
* manual/contrib.texi (Contributors): Update entries for Hongjiu
	Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
2012-12-13 15:02:00 -05:00
Siddhesh Poyarekar 3c8b4190fe Move node Argp Helper Functions to follow Argp Parsing State
Resolves BZ #14246.
2012-12-11 09:02:37 +05:30
Siddhesh Poyarekar f70bfe80e2 Mention if terminating null is included in NAME_MAX/PATH_MAX
Fixes BZ #14872.
2012-12-11 09:01:02 +05:30
Benno Schulenberg c430c4afd6 BZ #14833: message.texi typo fixes 2012-12-08 12:35:35 +05:30
Allan McRae 029264d1fb Remove @hsep and @vsep usage from info pages
These cause an error when the info pages are build with texinfo>=4.13.90.
2012-12-04 09:39:34 +10:00
Joseph Myers f638872ab4 Fix typos in arith.texi. 2012-12-01 00:14:58 +00:00
Joseph Myers 8b748aed2a Support --with-pkgversion and --with-bugurl. 2012-11-09 22:13:45 +00:00
Roland McGrath 7514feb815 BZ#14815: Manual typo fix. 2012-11-07 10:21:59 -08:00
Thomas Schwinge b830319d49 [BZ #157] Remove include/stub-tag.h for good. 2012-11-04 19:59:40 +01:00
Joseph Myers 0eb6951257 Document general use of test-wrapper and test-wrapper-env. 2012-10-31 20:43:54 +00:00
Mike Frysinger 60457d8a25 manual: delete nested @cartouche
Putting @cartouche inside of @smallexample does not work with HTML output
as the former produces a <table> while the latter produces a <pre>.  You
cannot nest a <table> in a <pre> as the contents are no longer formatted.

Since it's entirely unnecessary, and none of the other examples do this,
just drop the cartouche.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-10-29 19:54:47 -04:00