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
Joseph Myers
df381762dc
Add cross-test-ssh.sh.
2012-10-25 19:17:45 +00:00
Siddhesh Poyarekar
b741de23e2
Add note on free list pointers overwriting M_PERTURB bytes
...
Fixes BZ #12140 .
2012-10-18 08:25:03 +05:30
Tulio Magno Quites Machado Filho
8ad11b9a9c
Add __ppc_get_timebase_freq to ppc.h.
2012-09-25 16:53:14 -05:00
Joseph Myers
65cafb1c3f
Use www.gnu.org as example hostname in manual/examples/inetcli.c.
2012-09-07 14:39:11 +00:00
John Tobey
01f49f59ce
Fix description of carg branch cut (bug 13542)
2012-09-07 12:52:20 +10:00
Joseph Myers
1d3c857210
Use www.gnu.org as example hostname in manual (bug 10014).
2012-09-07 00:25:42 +00:00
Joseph Myers
4c23fed5d5
Fix pointers between nodes in manual (bug 10038).
2012-09-07 00:06:07 +00:00
Alexandre Oliva
20196a5e5e
* manual/contrib.texi (Contributors): Fix typo. Complete entry.
2012-09-05 16:20:45 -03:00
Roland McGrath
696da85994
Fix typos in manual wrt syslog.
2012-08-20 12:44:59 -07:00
Jeff Law
42443a4792
* manual/stdio.texi (snprintf): Clarify handling of the trailing
...
null byte in the output string.
2012-08-13 13:12:18 -06:00
Florian Weimer
84b3fd8407
Rename __secure_getenv to secure_getenv
2012-07-25 19:46:22 +02:00
Joseph Myers
b5982523b1
Document va_copy in preference to __va_copy.
2012-07-20 23:49:24 +00:00
Thomas Schwinge
dc97c227c9
setcontext: Clarify termination when uc_link is the null pointer.
2012-07-17 10:05:55 +02:00
Roland McGrath
6c55cda37a
BZ#14336: Manual spelling fixes.
2012-07-09 04:41:13 -07:00
Thomas Schwinge
4648c3819e
manual/contrib.texi (Contributors): Sort alphabetically by last name.
2012-06-28 10:50:08 +02:00
Andreas Jaeger
aac78a43b1
Add Samuel Thibault to manual/contrib.texi
2012-06-27 19:52:22 +02:00
Andreas Jaeger
06c5abbdf8
Update manual/contrib.texi
...
Update entry of Liubov Dmitrieva and add entries for Will Schmidt and Tulio Magno
Quites Machado Filho.
2012-06-15 09:14:17 +02:00
Roland McGrath
834f9b8d3c
Make sure <build-dir>/manual directory gets created.
2012-06-14 09:44:27 -07:00
Roland McGrath
eb55f5c21f
BZ#14218: Reword argp_parse description slightly.
2012-06-11 16:21:44 -07:00
Tulio Magno Quites Machado Filho
d9dc34cd56
Manual for platform-specific features and new __ppc_get_timebase inline.
...
[BZ #13743 ]
A new class of installed headers has been documented for low-level
platform-specific functionality. PowerPC added the first instance with a
function to provide time base register access (__ppc_get_timebase). This
is required for applications that measure time at high frequencies with
high precision that can't afford a syscall.
2012-06-04 13:46:37 -05:00
Joseph Myers
40e45bd5d6
Do not mention old Linux kernel versions in installation documentation.
2012-05-23 12:48:01 +00:00
Andreas Jaeger
d8e272abb3
Rewrite manual/contrib.texi
...
* manual/contrib.texi: Completely rewritten. It contains now an
alphabetical list of contributors and their contributions.
2012-05-21 20:33:57 +02:00
Richard Henderson
c7683a6d02
Add <sys/auxv.h> and getauxval.
2012-05-20 10:40:35 -07:00
Andreas Jaeger
e6bdb741d1
Fix INSTALL description for modified files in source dir
2012-05-18 20:30:51 +02:00
Andreas Jaeger
e39745ffa0
Avoid compiler warnings in qsort/bsearch examples
2012-05-17 11:05:52 +02:00
Joseph Myers
6a3951a036
Update Texinfo version requirement.
2012-05-16 18:50:39 +00:00
Andreas Jaeger
6a4888ffd6
Do not build manual in source dir
...
[BZ #13750 ]
Do not build manual anymore in the source dir. Also clean up the
Makefile and remove rules that have been used previously
when we had a stand-alone Makefile which was obsoleted recently.
2012-05-14 22:01:08 +02:00
Andreas Jaeger
1bfb72913b
Fix concat example
...
2012-05-14 Andreas Jaeger <aj@suse.de>
* manual/string.texi (Copying and Concatenation): Add missing
variable in concat example.
Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2012-05-14 15:30:30 +02:00
Andreas Jaeger
110c96ff29
Revert "Do not build manual in the source directory"
...
This reverts commit e3945c47bd
.
reverting since it breaks building.
2012-05-04 17:09:56 +02:00
Andreas Jaeger
1261f5d10c
Revert "Update install.texi for building manual in build dir"
...
This reverts commit 0d80ac6813
.
Reverting since e3945c47bd
gets reverted
as well.
2012-05-04 17:09:22 +02:00
Andreas Jaeger
0d80ac6813
Update install.texi for building manual in build dir
2012-05-04 13:28:33 +02:00
Andreas Jaeger
e3945c47bd
Do not build manual in the source directory
...
[BZ #13750 ]
Build the manual in the build directory and
not anymore in the source directory.
2012-05-04 13:13:57 +02:00
Andreas Jaeger
7ac30cc5f0
Move FAQ to wiki
...
The FAQ is now at http://sourceware.org/glibc/wiki/FAQ and not
anymore part of the repository.
2012-05-03 09:46:57 +02:00
Andreas Jaeger
4e681b5b7e
Remove standalone manual support
...
[BZ #13739 ]
We don't need a separate manual distribution
tar ball anymore, remove support for it from manual/Makefile.
2012-04-23 20:44:49 +02:00
Petr Baudis
247c3ede39
Fix description of user provided write function
...
[BZ #2074 ]
* stdio.texi (Hook Functions): The user provided writer function
is not allowed to return -1.
2012-04-12 21:00:49 +02:00
Andreas Jaeger
4cfd80263a
Fix times return value, CLK_TCK description
...
[BZ #2636 ]
* manual/time.texi (Processor Time): Return type of times is
elapsed real time since an arbitrary point in the past.
(CPU Time): Move CLK_TCK from here...
(Processor Time): ...to here. Correct description.
* manual/conf.texi (Constants for Sysconf): Correct description of
_SC_CLK_TCK.
2012-04-11 09:20:50 +02:00
Andreas Jaeger
0387979329
Enhance d_namlen description
...
[BZ #6894 ]
* manual/filesys.texi (Directory Entries): Mention that d_namlen
is an optional BSD extension.
2012-04-09 21:10:13 +02:00
Andreas Jaeger
823fbbb41b
Document additional fopen options
...
[BZ #10254 ]
The manual failed to explain the new (the first were introduced with
glibc 2.3 or so) parameters to fopen.
2012-04-09 21:07:51 +02:00
Carlos O'Donell
c0ed9d7d2b
Use sourceware.org for email and web references.
...
We use sourceware.org consistently to reference the
server that RedHat provides for community services
to open-source projects.
[BZ # 13963]
* manual/install.texi: Use sourceware.org.
2012-04-09 11:57:15 -04:00
Andreas Jaeger
6ab0fbfc84
Document return values of putenv and setenv
...
[BZ #10153 ]
* manual/startup.texi (Environment Access): Describe return
value for putenv and setenv.
2012-04-08 19:43:41 +02:00
Andreas Jaeger
7216225a73
Add generated file version.texi
2012-04-08 17:23:06 +02:00
Andreas Jaeger
61efba8cdf
Describe DT_LNK
...
[BZ #6895 ]
* manual/filesys.texi (Directory Entries): Add description for
DT_LNK.
2012-04-08 17:04:47 +02:00
Andreas Jaeger
95c3f29a06
Fix DT_UNKNOWN description
...
[BZ #6890 ]
* manual/filesys.texi (Directory Entries): Clarify that it's
file system not operating system in the description of DT_UNKNOWN.
2012-04-08 15:17:55 +02:00
Andreas Jaeger
54472e9c32
Fix closelog description
...
[BZ #6578 ]
The manual mentioned a non-existing function initlog, replace it with
openlog.
2012-04-08 15:01:46 +02:00
Stephen Compall
624254b18a
Better describe open arguments
...
[BZ #6649 ]
* manual/llio.texi (Opening and Closing Files): Add cross
reference to explain mode argument.
2012-04-08 14:53:13 +02:00
Robert Millan
4dad7bab2b
Fix typo in manual
...
lseek refers to WHENCE when it really means OFFSET
2012-04-06 21:38:42 +02:00
Andreas Jaeger
67f60a26d4
Fix typo in manual
...
[BZ # 13938]
* manual/setjmp.texi (System V contexts): Fix sentence.
2012-04-03 09:43:38 +02:00
Joseph Myers
4535cd55e2
Don't document varargs.h.
2012-03-21 17:52:19 +00:00
Joseph Myers
be22ce65d7
Remove NOTES.
2012-03-21 16:56:28 +00:00
Roland McGrath
bb4e6db2f5
BZ#13846: manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2012-03-14 10:53:13 -07:00