about summary refs log tree commit diff
path: root/manual
Commit message (Collapse)AuthorAgeFilesLines
* manual/memory.texi: Remove register keyword from examples.Will Newton2013-11-061-3/+3
| | | | | | | | | | | | The register keyword doesn't add any information to the examples and is not useful for modern compilers. ChangeLog: 2013-11-06 Will Newton <will.newton@linaro.org> * manual/memory.texi (Malloc Examples): Remove register keyword from examples.
* Fix description of random according to POSIX. Fixes bug 7003Bruno Haible2013-11-011-1/+1
|
* rename configure.in to configure.acMike Frysinger2013-10-302-5/+5
| | | | | | | Autoconf has been deprecating configure.in for quite a long time. Rename all our configure.in and preconfigure.in files to .ac. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Fix gethostbyname_r example. Fixes bug 2801.Ondřej Bílka2013-10-251-3/+5
|
* Acknowledge that fnmatch can fail. Fixes bug 14029.Ondřej Bílka2013-10-251-5/+2
|
* Document that mmap() returns MAP_FAILED on error, as per the POSIX standard.Fabrice Bauzac2013-10-251-2/+2
|
* Mention FIPS 140-2 compliance and Sun RPC.Carlos O'Donell2013-10-191-1/+9
| | | | | | | | | | | | | | | | | | | | | | The Secure RPC implementation in glibc uses DES encryption during authentication of the user. This use of DES means that anyone using Sun RPC will likely not be compliant with FIPS 140-2 which forbids the use of DES. One solution to the compliance issue is to disable AUTH_DES and AUTH_KERB, both use DES, when in FIPS compliance mode. This is not a good idea because it disables all of the even mildly secure methods of authentication allowing only plain text methods. Instead we leave AUTH_DES and AUTH_KERB enabled in FIPS compliance mode and document the compliance issue in the manual. FIPS allows this, that is to say that if you can't fix it you must document the non-compliance. This commit adds documentation to that effect in the "DES encryption and password handling" section of the manual.
* Add systemtap markers to math function slow pathsSiddhesh Poyarekar2013-10-111-0/+98
| | | | | | | Add systemtap probes to various slow paths in libm so that application developers may use systemtap to find out if their applications are hitting these slow paths. We have added probes for pow, exp, log, tan, atan and atan2.
* Update gethostbyname2_r documentation. Fixes bug #156.Yogesh Chaudhari2013-10-081-8/+11
|
* Fix typo in manualSiddhesh Poyarekar2013-10-041-1/+1
|
* BZ #431 Fix manual of strncat/wcsncat.Ondřej Bílka2013-10-031-4/+4
|
* Revert "Remove references to non-existent content items in install.texi"Allan McRae2013-09-281-1/+1
| | | | | | | | This reverts commit 583c76a7ce305d24e0625a22caed317b3e001d91 which breaks building info pages during "make install". Conflicts: ChangeLog
* Remove references to non-existent content items in install.texiAllan McRae2013-09-271-1/+1
| | | | | These were left in when the installation section was split out into its own file.
* Update to canonical freemanuals.texi file.Roland McGrath2013-09-242-1/+5
|
* manual: Fix a typo in `POSIX Threads' sectionMaciej W. Rozycki2013-09-231-1/+1
|
* Add malloc probes for sbrk and heap resizing.Alexandre Oliva2013-09-201-0/+41
| | | | | | | | | | | | for ChangeLog * malloc/arena.c (new_heap): New memory_heap_new probe. (grow_heap): New memory_heap_more probe. (shrink_heap): New memory_heap_less probe. (heap_trim): New memory_heap_free probe. * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe. (systrim): New memory_sbrk_less probe. * manual/probes.texi: Document them.
* Add catch-all alloc retry probe.Alexandre Oliva2013-09-201-0/+12
| | | | | | | for ChangeLog * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe. * manual/probes.texi: Document it.
* Add probes for malloc retries.Alexandre Oliva2013-09-201-0/+22
| | | | | | | | | | | | for ChangeLog * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe. (__libc_realloc): Add memory_realloc_retry probe. (__libc_memalign): Add memory_memalign_retry probe. (__libc_valloc): Add memory_valloc_retry probe. (__libc_pvalloc): Add memory_pvalloc_retry probe. (__libc_calloc): Add memory_calloc_retry probe. * manual/probes.texi: Document them.
* Add probes for malloc arena changes.Alexandre Oliva2013-09-201-0/+60
| | | | | | | | | | | | | for ChangeLog * malloc/arena.c (get_free_list): Add probe memory_arena_reuse_free_list. (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait and memory_arena_reuse. (arena_get2) [!PER_THREAD]: Likewise. * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe memory_arena_reuse_realloc. * manual/probes.texi: Document them.
* Add probes for all changes to malloc options.Alexandre Oliva2013-09-201-1/+82
| | | | | | | | | for ChangeLog * malloc/malloc.c (__libc_free): Add memory_mallopt_free_dyn_thresholds probe. (__libc_mallopt): Add multiple memory_mallopt probes. * manual/probes.texi: Document them.
* Add first set of memory probes.Alexandre Oliva2013-09-203-2/+43
| | | | | | | | | | | for ChangeLog * malloc/malloc.c: Include stap-probe.h. (__libc_mallopt): Add memory_mallopt probe. * malloc/arena.c (_int_new_arena): Add memory_arena_new probe. * manual/probes.texi: New. * manual/Makefile (chapters): Add probes. * manual/threads.texi: Set next node.
* Clarify documentation cross-referenceAllan McRae2013-09-101-1/+2
| | | | | | | | | | | The end of the "Parsing of Floats" subsection currently reads: The GNU C Library also provides '_l' versions of these functions, which take an additional argument, the locale to use in conversion. *Note Parsing of Integers::. Split the final note as it is unrelated to the above comment and reference it with "See also" instead.
* Update pt_chown sections of the manualAllan McRae2013-09-101-8/+5
| | | | | | | 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.
* Fix typo in strcoll exampleAllan McRae2013-09-091-1/+1
|
* Remove --disable-versioning.Joseph Myers2013-09-041-5/+0
|
* Fix then/than typos.Ondřej Bílka2013-08-304-7/+7
|
* CVE-2013-4237, BZ #14699: Buffer overflow in readdir_rFlorian Weimer2013-08-162-20/+62
| | | | | | | | | | | | | | | | | | | | * 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.
* Update manual/contrib.texiDavid S. Miller2013-08-011-1/+15
| | | | | | * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej Bilka.
* CVE-2013-2207, BZ #15755: Disable pt_chown.Carlos O'Donell2013-07-211-0/+14
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Add a configure option to enable lock elision and disable by defaultAndi Kleen2013-07-021-0/+3
| | | | Can be enabled with --enable-lock-elision=yes at configure time.
* Require GCC 4.4 or later to build glibc.Joseph Myers2013-06-261-2/+2
|
* Update texinfo.tex.Joseph Myers2013-06-251-202/+353
|
* Sort sysd-rules-patterns by descending pattern length.Roland McGrath2013-06-171-3/+4
|
* Add documentation for default pthread attribute functionsSiddhesh Poyarekar2013-06-151-0/+40
|
* Remove trailing whitespace.Joseph Myers2013-06-051-1/+1
|
* [BZ #14256]Jeff Law2013-05-301-5/+6
| | | | | | * manual/errno.texi (ESTALE): Update to account for more than just NFS file systems. * sysdeps/gnu/errlist.c: Regenerated.
* Doc fix for 'frexp' in arith.texiBen Norht2013-05-281-2/+2
| | | | | | | | | | | | 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.
* * manual/platform.texi: Add missing @end deftypefun.Thomas Schwinge2013-05-261-0/+1
| | | | Fixup for commit d116b7c414c8239b677e341ac517745db689ac2d.
* PowerPC: Program Priority Register supportAdhemerval Zanella2013-05-241-0/+20
| | | | | This patch add inline functions to change the Program Priority Register from ISA 2.05.
* PowerPC: Add functions for shared resources hints.Edjunior Machado2013-05-231-0/+24
|
* manual/message.texi: Fix english and clarify.Carlos O'Donell2013-05-071-4/+4
| | | | | | | | | | | | | | | 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.
* BZ#15361: Make aio_fsync not check open modes.Roland McGrath2013-04-121-2/+1
|
* New <math.h> macro named issignaling to check for a signaling NaN (sNaN).Thomas Schwinge2013-04-022-1/+11
| | | | It is based on draft TS 18661 and currently enabled as a GNU extension.
* Fix docs for scalbn* and scalbl* functionsMark H Weaver2013-03-241-6/+6
| | | | | * manual/arith.texi (Normalization Functions): Fix prototypes for scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
* Rename nptl.texi to threads.texiSiddhesh Poyarekar2013-03-192-1/+1
| | | | | The manual and its file names are about interfaces and not the implementation details.
* manual: Sort mallopt M_* parameters alphabeticallyCarlos O'Donell2013-03-171-13/+19
| | | | | Sort the mallopt M_* parameters alphabetically and add comments for the missing paramters.
* Modify threads in nptl cindex to pthreadsSiddhesh Poyarekar2013-03-151-1/+1
|
* Add nptl manual chapterSiddhesh Poyarekar2013-03-143-2/+46
| | | | | | 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.
* Remove mention of i386-pc-linux-gnu.Carlos O'Donell2013-03-121-4/+4
| | | | | | The GNU C Library does not support building for i386 therefore we remove mention of this configuration from the INSTALL file.
* Fix menu ordering in socket.texi.Allan McRae2013-02-241-1/+1
| | | | Match the order of (sub)sections in the menu to that in the file..