{"push_id":1482565560,"size":8,"distinct_size":8,"ref":"refs/heads/master","head":"785fcbaef39a82f7bf2e60de0b10df0f2f09a6d9","before":"4179178bf0cfafe72c00647b79e69e47bd5c6a89","commits":[{"sha":"df19fdcfec7143073b50f9f01af712528bed6d26","author":{"name":"Joseph Myers","email":"9b6e24a661c030e39d84e80f958c2d82d5dc3d65@codesourcery.com"},"message":"Fix MIPS n32 lseek, lseek64 (bug 21019).\n\nThe lseek consolidation broke lseek64 for MIPS n32, so resulting in\nio/test-lfs failing with an incorrect return from ftello64.  This\nconfiguration uses the lseek syscall with a 64-bit return value; as\nthe C syscall macros return long, they cannot be used in this case and\nso an assembly implementation is needed; accordingly, this patch adds\nlseek64 back to syscalls.list for this configuration.\n\nlseek was also broken, truncating the result without checking for\noverflow.  lseek however was already broken before the consolidation;\nit aliased lseek64 so would return an out-of-range value, resulting in\narchitecturally undefined behavior in the caller if it tried to use a\nnon-sign-extended value with a 32-bit instruction.  This patch adds a\ncustom lseek implementation in C for n32, which calls __lseek64 to get\nthe 64-bit value then checks for overflow.\n\nBecause the prior lseek breakage did not show in test results, and the\nlseek64 breakage showed only indirectly through tests of ftello64,\ntest coverage was clearly inadequate.  This patch extends\nio/test-lfs.c to test the lseek64 return value (at a point where it\nhas already seeked over 2GB into a file), and then to test the lseek\nreturn value (with the latter's expectations depending on whether\noff_t is smaller than off64_t).\n\nTested for mips64 n32.  Also tested test-lfs for x86_64 and x86, where\nas expected it passes.\n\n\t[BZ #21019]\n\t* sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):\n\tNew syscall entry.\n\t* sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.\n\t* io/test-lfs.c (do_test): Test offset returned from lseek64 and\n\tlseek.","distinct":true,"url":"https://api.github.com/repos/bminor/glibc/commits/df19fdcfec7143073b50f9f01af712528bed6d26"},{"sha":"26e21ad35db514c646e1491a414d45a47cb4a733","author":{"name":"Martin Galvan","email":"a168c1afd55e581ddc194196f62eb3e4dee765bc@gmail.com"},"message":"Fix up tabs/spaces mismatches\n\nMixing them up breaks the gdb pretty printer tests.\n\nChangeLog:\n\n2017-01-02  Martin Galvan  <martingalvan@sourceware.org>\n\n\t* nptl/nptl-printers.py: Fix tabs/spaces mismatches.","distinct":true,"url":"https://api.github.com/repos/bminor/glibc/commits/26e21ad35db514c646e1491a414d45a47cb4a733"},{"sha":"d4d629e6187e33050902824a94498b6096eacac9","author":{"name":"Joseph Myers","email":"9b6e24a661c030e39d84e80f958c2d82d5dc3d65@codesourcery.com"},"message":"Fix elf/tst-ldconfig-X for cross testing.\n\nelf/Makefile passes arguments to tst-ldconfig-X.sh that are different\nfrom what it expects, so resulting in the test failing in cross\ntesting.  This patch corrects the arguments passed (the script itself\nhas correct logic for cross testing, it's just the Makefile that's\nwrong).\n\nTested for powerpc (cross testing) and for x86_64 (native testing).\n\n\t* elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments\n\tpassed to tst-ldconfig-X.sh.","distinct":true,"url":"https://api.github.com/repos/bminor/glibc/commits/d4d629e6187e33050902824a94498b6096eacac9"},{"sha":"8dad72997af2be0dc72a4bc7dbe82d85c90334fc","author":{"name":"Adhemerval Zanella","email":"c9d53c07e3d3cee755c89967497449375dffac9f@linaro.org"},"message":"Fix x86 strncat optimized implementation for large sizes\n\nSimilar to BZ#19387, BZ#21014, and BZ#20971, both x86 sse2 strncat\noptimized assembly implementations do not handle the size overflow\ncorrectly.\n\nThe x86_64 one is in fact an issue with strcpy-sse2-unaligned, but\nthat is triggered also with strncat optimized implementation.\n\nThis patch uses a similar strategy used on 3daef2c8ee4df2, where\nsaturared math is used for overflow case.\n\nChecked on x86_64-linux-gnu and i686-linux-gnu.  It fixes BZ #19390.\n\n\t[BZ #19390]\n\t* string/test-strncat.c (test_main): Add tests with SIZE_MAX as\n\tmaximum string size.\n\t* sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow\n\tin pointer addition.\n\t* sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):\n\tLikewise.","distinct":true,"url":"https://api.github.com/repos/bminor/glibc/commits/8dad72997af2be0dc72a4bc7dbe82d85c90334fc"},{"sha":"daaff5cc793acdd4f8667fca3b901647b4c34363","author":{"name":"Joseph Myers","email":"9b6e24a661c030e39d84e80f958c2d82d5dc3d65@codesourcery.com"},"message":"Fix math/test-fenvinline for no-exceptions configurations.\n\nThis patch fixes math/test-fenvinline.c to stop it failing in\nno-exceptions configurations (where some exception macros are defined\nbut may not be supported at runtime).  The relevant parts of the test\nare disabled in that case; some parts can still run (and the rounding\nmode tests are written in a way such that they work even if the\nrounding modes aren't supported).\n\nTested for mips64 soft-float, and for x86_64 to make sure the tests\nstill run when the exceptions are supported.\n\n\t* math/test-fenvinline.c (do_test): Disable tests of raised\n\texceptions if !EXCEPTION_TESTS (FLOAT).","distinct":true,"url":"https://api.github.com/repos/bminor/glibc/commits/daaff5cc793acdd4f8667fca3b901647b4c34363"},{"sha":"e9a96ea1aca4ebaa7c86e8b83b766f118d689d0f","author":{"name":"Tulio Magno Quites Machado Filho","email":"f1a482c567ef4373f9be3acf7d6bafc2dbe8be3b@linux.vnet.ibm.com"},"message":"powerpc: Fix write-after-destroy in lock elision [BZ #20822]\n\nThe update of *adapt_count after the release of the lock causes a race\ncondition when thread A unlocks, thread B continues and destroys the\nmutex, and thread A writes to *adapt_count.","distinct":true,"url":"https://api.github.com/repos/bminor/glibc/commits/e9a96ea1aca4ebaa7c86e8b83b766f118d689d0f"},{"sha":"640e44c5d0b2d0528a336d73c2c7d6dfbb266000","author":{"name":"Adhemerval Zanella","email":"c9d53c07e3d3cee755c89967497449375dffac9f@linaro.org"},"message":"Remove duplicate strcat implementations\n\nSince commit 6e46de42fe16 default strcat implementation is essentially\nthe same for specialized ia64 and powerpc ones.  This patch removes the\nredundant implementation and adjust powerpc64 ifunc code to use the\ndefault one.\n\nChecked on powerpc32-linux-gnu (default and power4) and ia64-linux build\nand on powerpc64le-linux-gnu.\n\n\t* sysdeps/ia64/strcat.c: Remove file.\n\t* sysdeps/powerpc/strcat.c: Likewise.\n\t* sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default\n\tC implementation.\n\t* sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.\n\t* sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.","distinct":true,"url":"https://api.github.com/repos/bminor/glibc/commits/640e44c5d0b2d0528a336d73c2c7d6dfbb266000"},{"sha":"785fcbaef39a82f7bf2e60de0b10df0f2f09a6d9","author":{"name":"Joseph Myers","email":"9b6e24a661c030e39d84e80f958c2d82d5dc3d65@codesourcery.com"},"message":"Update i386 libm-test-ulps.\n\nWhen testing changes to i386 libm functions (that are shadowed for\ni686 builds by i686 versions) recently, I saw that the plain i386\nlibm-test-ulps (as opposed to the i686 multiarch version) needed\nupdating for tests that had been added since it was last updated.\nThis patch updates it accordingly.\n\n\t* sysdeps/i386/fpu/libm-test-ulps: Update.","distinct":true,"url":"https://api.github.com/repos/bminor/glibc/commits/785fcbaef39a82f7bf2e60de0b10df0f2f09a6d9"}]}
{"actor":{"display_login":"berenm"}}