aboutsummaryrefslogtreecommitdiff
path: root/posix
AgeCommit message (Collapse)AuthorFilesLines
2015-11-24Don't read past end of pattern in fnmatch (BZ #17062)Andreas Schwab3-11/+34
(cherry picked from commit b3a9f56ba59c3d8eadd3135a1c25c37a63151450) Conflicts: NEWS posix/Makefile
2015-10-19Fix read past end of pattern in fnmatch (bug 18032)Andreas Schwab1-3/+2
(cherry picked from commit 4a28f4d55a6cc33474c0792fe93b5942d81bf185) Conflicts: ChangeLog NEWS
2014-09-05Fix another memory leak in regexp compiler (BZ #17069)Andreas Schwab2-3/+7
(cherry picked from commit aa6ec754f3b4b1df81d186480c534b6486a1e6ee) Conflicts: NEWS
2014-09-05Fix memory leak in regexp compiler (BZ #17069)Andreas Schwab3-5/+47
(cherry picked from commit 4d43ef1e7434d7d419afbcd754931cb0c794763c) Conflicts: posix/Makefile
2014-09-05posix_spawn_faction_addopen: Add missing string.h include directiveStefan Liebler1-0/+1
This is needed to avoid a PLT call on s390. (cherry picked from commit 35a5e3e338ae17f3d42c60a708763c5d498fb840)
2014-06-22posix_spawn_file_actions_addopen needs to copy the path argument (BZ 17048)Florian Weimer4-7/+40
POSIX requires that we make a copy, so we allocate a new string and free it in posix_spawn_file_actions_destroy. Reported by David Reid, Alex Gaynor, and Glyph Lefkowitz. This bug may have security implications. (cherry picked from commit 89e435f3559c53084498e9baad22172b64429362) Conflicts: NEWS
2014-01-01Update remaining copyright datesAllan McRae1-1/+1
Update copyright years that are not handled by scripts/update-copyright.
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae188-188/+188
2013-12-17Remove __FAVOR_BSD.Joseph Myers1-24/+2
2013-11-21Use __glibc_block in public headers.Meador Inge1-1/+2
As detailed in PR11157, the use of '__block' is known to interfere with keywords in some environments, such as the Clang -fblocks extension. Recently a similar issue was raised concerning the use of '__unused' and a '__glibc' prefix was proposed to create a glibc implementation namespace for these sorts of issues [1]. This patches takes that approach. [1] https://sourceware.org/ml/libc-alpha/2012-02/msg00047.html [2] http://lists.debian.org/debian-glibc/2013/11/msg00020.html
2013-10-20When glob pattern contains a trailing slash match only directories. Fixes ↵Ondřej Bílka2-2/+13
bug 10278.
2013-10-01glob: silence -Wattribute warningsEric Blake1-3/+3
Colin Watson reported that some versions of gcc warn about attribute leaf used on a static function, since it has no effect on anything but external functions. * posix/glob.c (next_brace_sub, prefix_array, collated_compare): Use __THROWNL rather than __THROW on static functions. Signed-off-by: Eric Blake <eblake@redhat.com>
2013-06-13Fix raciness in waitid test.Roland McGrath1-4/+11
2013-06-08Use (void) in no-arguments function definitions.Joseph Myers11-11/+11
2013-06-07Avoid use of "register" as optimization hint.Joseph Myers4-10/+10
2013-06-06Fix executable mode.Ondrej Bilka1-0/+0
2013-06-05Remove trailing whitespace.Joseph Myers3-4/+4
2013-06-04Increase test case timeoutSiddhesh Poyarekar1-0/+1
2013-05-21Test getaddrinfo return valueDmitry V. Levin2-1/+68
This helps testing for regression of BZ#15339. Creation of network isolated environments is a privileged operation and therefore is not included to the test.
2013-05-16Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).Ryan S. Arnold7-0/+10
2013-05-06Move getlogin, getlogin_r, setlogin to login/ subdir.Roland McGrath5-98/+1
2013-03-08Set LC_ALL=C before sed.Paul Pluzhnikov1-2/+2
2013-03-07Remove PIPE_BUF Linux-specific codeSiddhesh Poyarekar2-1/+178
Fixes BZ #12723 The variable pipe buffer size does nothing to the value of PIPE_BUF, since the number of bytes that are atomically written is still PIPE_BUF on Linux.
2013-02-26Bring back definition of __attribute__ for non-gcc and older gccPaul Eggert1-0/+4
gnulib copies this file over and needs it.
2013-02-26Fix some build warningsSiddhesh Poyarekar1-14/+8
2013-02-17Sort Versions filesAndreas Jaeger1-2/+2
2013-02-12Fix buffer overrun in regexp matcherAndreas Schwab3-8/+57
2013-02-12Fix handling of collating symbols in regexpsAndreas Schwab3-46/+81
2013-02-07Remove lots of inline keywords.Roland McGrath1-6/+5
2013-01-21Avoid busy loop in wordexp when substituted command closed its stdoutAndreas Schwab1-2/+12
2013-01-11Remove __GLIBC_HAVE_LONG_LONG.Joseph Myers1-2/+2
2013-01-11Add --enable-hardcoded-path-in-tests configure optionH.J. Lu3-68/+67
2013-01-10Support run tst-exec and tst-spawn directlyH.J. Lu5-24/+33
2013-01-09Force getconf.speclist to be generated in the others pass.Roland McGrath1-0/+5
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers187-202/+187
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2-4/+2
2013-01-01Update copyright years.David S. Miller1-2/+2
* catgets/gencat.c: Update copyright year. * csu/version.c: Likewise. * debug/catchsegv.sh: Likewise. * debug/pcprofiledump.c: Likewise. * debug/xtrace.sh: Likewise. * elf/ldconfig.c: Likewise. * elf/ldd.bash.in: Likewise. * elf/pldd.c: Likewise. * elf/sotruss.ksh: Likewise. * elf/sprof.c: Likewise. * iconv/iconv_prog.c: Likewise. * iconv/iconvconfig.c: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * login/programs/pt_chown.c: Likewise. * malloc/memusage.sh: Likewise. * malloc/memusagestat.c: Likewise. * malloc/mtrace.pl: Likewise. * nscd/nscd.c: Likewise. * nss/getent.c: Likewise. * nss/makedb.c: Likewise. * posix/getconf.c: Likewise.
2012-11-19Fix _POSIX_TZNAME_MAX for older POSIX (bug 14856).Joseph Myers1-2/+6
2012-11-17Generate /usr/libexec/getconf files when cross-compiling.Joseph Myers4-176/+232
2012-11-14Adding missing -fexception CFLAGSMarcus Shawcroft1-0/+1
2012-11-09Support --with-pkgversion and --with-bugurl.Joseph Myers1-3/+3
2012-11-04[BZ #157] Remove include/stub-tag.h for good.Thomas Schwinge54-55/+0
2012-10-24Support cross-testing.Joseph Myers2-3/+8
2012-10-24BZ#14743: Move clock_* symbols from librt to libc.Roland McGrath1-8/+0
2012-10-24Use build directory instead of /tmp in globtest.sh.Joseph Myers1-3/+4
2012-10-24Define and use $(run-built-tests).Joseph Myers1-2/+2
2012-10-23Use $(run-program-prefix) in posix/globtest.sh.Joseph Myers2-55/+50
2012-10-23Add and use $(host-built-program-cmd).Jim Blandy1-2/+2
2012-10-22Don't pass shell loops' stdin to programs run on glibc's host.Jim Blandy1-2/+2
2012-10-19Use $(run-program-prefix) in more shell script tests.Joseph Myers2-14/+12