https://sourceware.org/bugzilla/show_bug.cgi?id=23978 --- Comment #6 from Atsushi Hori --- I discussed with the PiP (Process-in-Process) users on this issue. One idea, I hope you can accept this, was brought up. Could you make the DL_NNS (defined in sysdeps/generic/ldsodefs.h) a configure option? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-46991-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 02 10:52:12 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 117534 invoked by alias); 2 Jan 2020 10:52:12 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 117454 invoked by uid 55); 2 Jan 2020 10:52:06 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug localedata/24054] Many locales are missing date_fmt Date: Thu, 02 Jan 2020 10:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.29 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00001.txt.bz2 Content-length: 1817 https://sourceware.org/bugzilla/show_bug.cgi?id=24054 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Rafal Luzynski : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=75ba929987f6950dd008ef0f6270f1b21e9af511 commit 75ba929987f6950dd008ef0f6270f1b21e9af511 Author: Rafał Lużyński Date: Mon Dec 30 11:58:18 2019 +0100 Multiple locales: Add date_fmt (bug 24054) It is not specified what should be the content of d_t_fmt and date_fmt but in the built-in C locale those fields have only one difference: date_fmt contains "%Z" (the current time zone) while d_t_fmt does not. For most of the locales this commit does the following operation: copy d_t_fmt to date_fmt, and then remove "%Z" from d_t_fmt. If "%Z" was originally missing from d_t_fmt add it to date_fmt. It also corrects comments where necessary. Exceptions: * In bo_CN, dz_BT, and km_KH "%Z" has not been added to date_fmt because it was too difficult. In these locales date_fmt has been set to the copy of d_t_fmt. * In en_DK "%Z" has not been removed from d_t_fmt in order to preserve the conformance with the standard mentioned in the comment. The command to identify and initially edit the locales that need the update was: for i in `grep -lw d_t_fmt *` do if ! grep -qw date_fmt $i ; then awk '/d_t_fmt/ { print $0; gsub("d_t_fmt", "date_fmt"); } //{ print $0 }' < $i > $i.next mv $i.next $i fi done and then each file was further edited manually. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-46992-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 02 10:53:50 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 118911 invoked by alias); 2 Jan 2020 10:53:49 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 118867 invoked by uid 48); 2 Jan 2020 10:53:45 -0000 From: "digitalfreak at lingonborough dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/24054] Many locales are missing date_fmt Date: Thu, 02 Jan 2020 10:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.29 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: digitalfreak at lingonborough dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00002.txt.bz2 Content-length: 839 https://sourceware.org/bugzilla/show_bug.cgi?id=24054 Rafal Luzynski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |digitalfreak@lingonborough. | |com Resolution|--- |FIXED Target Milestone|--- |2.31 --- Comment #2 from Rafal Luzynski --- Fixed with the commit https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=75ba929987f6950dd008ef0f6270f1b21e9af511 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-46993-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 02 13:49:24 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 12462 invoked by alias); 2 Jan 2020 13:49:24 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 12414 invoked by uid 48); 2 Jan 2020 13:49:20 -0000 From: "tuliom at ascii dot art.br" To: glibc-bugs@sourceware.org Subject: [Bug libc/25335] New: errno set by a DSO is not available to a static executable Date: Thu, 02 Jan 2020 13:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tuliom at ascii dot art.br X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00003.txt.bz2 Content-length: 1967 https://sourceware.org/bugzilla/show_bug.cgi?id=25335 Bug ID: 25335 Summary: errno set by a DSO is not available to a static executable Product: glibc Version: 2.31 Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: tuliom at ascii dot art.br CC: drepper.fsp at gmail dot com Target Milestone: --- When a DSO sets errno, the value is not accessible from a static executable because they expect errno at different addresses. Look at the following example, where a static executable calls dlopen: $ cat Makefile all: static-dlopen.test static-dlopen: main.c errno.so $(CC) -static -DDLOPEN $< -ldl -o $@ errno.so: errno.c $(CC) -shared $< -o $@ %.test: % LD_LIBRARY_PATH=$(PWD) ./$(*F) clean: rm -f errno.so $ cat errno.c #include int * errno_addr (void) { return &errno; } $ cat main.c #include #include #include #ifdef DLOPEN #include void *handle; int * (*errno_addr) (void); void test_dlopen (void) { handle = dlopen ("errno.so", RTLD_LAZY | RTLD_LOCAL); if (handle == NULL) { printf ("dlopen (errno.so): %s\n", dlerror ()); exit (1); } errno_addr = dlsym (handle, "errno_addr"); if (errno_addr == NULL) { printf ("dlsym (errno_addr): %s\n", dlerror ()); exit (1); } printf("dlopen &errno = %p\n", errno_addr()); errno_addr = NULL; dlclose (handle); } #endif int main () { printf("main &errno = %p\n", &errno); #if DLOPEN test_dlopen(); #endif return 0; } When running this example, we get: main &errno = 0x4d9840 dlopen &errno = 0x4d97a0 Reproduced on x86_64 and powerpc64le. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-46994-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 02 22:10:21 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 31891 invoked by alias); 2 Jan 2020 22:10:21 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 31856 invoked by uid 48); 2 Jan 2020 22:10:16 -0000 From: "Jens.Schleusener at fossies dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25337] New: Codespell report for glibc Date: Thu, 02 Jan 2020 22:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: Jens.Schleusener at fossies dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00004.txt.bz2 Content-length: 2092 https://sourceware.org/bugzilla/show_bug.cgi?id=25337 Bug ID: 25337 Summary: Codespell report for glibc Product: glibc Version: unspecified Status: UNCONFIRMED Severity: minor Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: Jens.Schleusener at fossies dot org CC: drepper.fsp at gmail dot com Target Milestone: --- The FOSS server fossies.org offers a new feature "Source code misspelling reports": https://fossies.org/features.html#codespell Such reports are normally only generated on request, but for testing purposes I have as Fossies administrator now done a "codespell" check for the "glibc" project: https://fossies.org/linux/misc/glibc/codespell.html That version-independent URL should redirect always to the last report (if available), so currently to https://fossies.org/linux/misc/glibc-2.30.tar.xz/codespell.html Although some obviously wrong matches ("false positives") are already filtered (ignored) please inform me if you find more of them so that I can force a new improved check if applicable. And yes, some spelling suggestions are worth discussing, some obvious spelling errors may be desired (for e.g. in variable names) and others are contained in third-party code. Just for information there are also two supplemental pages https://fossies.org/linux/misc/glibc/codespell_conf.html showing some used "codespell" configurations, https://fossies.org/linux/misc/glibc-2.30.tar.xz/codespell_fps.html showing all resulting obvious "false positives". Maybe more useful are the results for the current master version that are available within a special "test" folder not fully integrated in the "Fossies" system: https://fossies.org/linux/test/glibc-master.tar.xz/codespell.html currently an alias for https://fossies.org/linux/test/glibc-master.20200102_2143.tar.xz/codespell.html Regards Jens -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-46995-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 02:43:37 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 121391 invoked by alias); 3 Jan 2020 02:43:36 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 121335 invoked by uid 48); 3 Jan 2020 02:43:32 -0000 From: "rwmacleod at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug nptl/22850] Harden TCB against stack protector bypass via overwrite of stack_guard Date: Fri, 03 Jan 2020 02:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: rwmacleod at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00005.txt.bz2 Content-length: 398 https://sourceware.org/bugzilla/show_bug.cgi?id=22850 Randy Macleod changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rwmacleod at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-46996-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 10:25:08 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 127378 invoked by alias); 3 Jan 2020 10:24:51 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 127181 invoked by uid 48); 3 Jan 2020 10:24:45 -0000 From: "m_langbe at informatik dot uni-kl.de" To: glibc-bugs@sourceware.org Subject: [Bug libc/19292] Improve __assert_fail debuggability Date: Fri, 03 Jan 2020 10:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: m_langbe at informatik dot uni-kl.de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00006.txt.bz2 Content-length: 1054 https://sourceware.org/bugzilla/show_bug.cgi?id=19292 m_langbe at informatik dot uni-kl.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m_langbe at informatik dot uni-kl. | |de --- Comment #1 from m_langbe at informatik dot uni-kl.de --- sometimes when re-compiling from the gdb console and re-starting w.o. re-starting gdb, the assert-fail breaks after the stack-trace is lost. the, after re-starting gdb, it breaks in alocation where still the whole path to the "assert" location is present (i.e in the "raise.c " method I do not know if one hsould call this a bug, however it took me quite a while to realize it (trying to set some strange "catch", setting debug options for gdb itself, e.t.c. . my versions: GNU gdb 8.1.0.20180409-git, gcc 7.4.0, GNU make 4.1 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-46997-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 11:31:54 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 131043 invoked by alias); 3 Jan 2020 11:31:53 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 130950 invoked by uid 48); 3 Jan 2020 11:31:48 -0000 From: "digitalfreak at lingonborough dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25233] Consider . as the thousands separator for sl_SI (Slovenian) Date: Fri, 03 Jan 2020 11:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: digitalfreak at lingonborough dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00007.txt.bz2 Content-length: 1280 https://sourceware.org/bugzilla/show_bug.cgi?id=25233 Rafal Luzynski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |digitalfreak@lingonborough. | |com --- Comment #1 from Rafal Luzynski --- This is correct according to CLDR [1] as well. The patch is here: [2] Some remarks: * The old thousands separator is not a regular space (), it's a character, narrow no-break space, which indeed may be displayed as a space if a constant width font is used. * This patch fixes both LC_MONETARY (monetary formatting, strfmon) and LC_NUMERIC (non-monetary numeric formatting, sprintf and other functions of the family). * Note that in LC_NUMERIC section of sl_SI grouping is set to "0;0" which means that no thousands grouping will be used, at least by the libraries which respect this setting. [1] https://st.unicode.org/cldr-apps/v#/sl/Symbols/ [2] https://sourceware.org/ml/libc-alpha/2020-01/msg00042.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-46998-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 14:43:11 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 126521 invoked by alias); 3 Jan 2020 14:43:11 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 126446 invoked by uid 48); 3 Jan 2020 14:43:07 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/24967] jemalloc static linking causes runtime failure Date: Fri, 03 Jan 2020 14:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00008.txt.bz2 Content-length: 601 https://sourceware.org/bugzilla/show_bug.cgi?id=24967 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #12 from Adhemerval Zanella --- Fixed on 2.31 (commit 1bdda52fe92fd01b424cd6fbb63e3df96a95015c). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-46999-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 14:43:28 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 128131 invoked by alias); 3 Jan 2020 14:43:28 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 128051 invoked by uid 48); 3 Jan 2020 14:43:23 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/24967] jemalloc static linking causes runtime failure Date: Fri, 03 Jan 2020 14:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00009.txt.bz2 Content-length: 391 https://sourceware.org/bugzilla/show_bug.cgi?id=24967 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.31 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47000-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 18:14:45 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 71188 invoked by alias); 3 Jan 2020 18:14:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 71153 invoked by uid 48); 3 Jan 2020 18:14:34 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25341] New: Different behaviour of LD_PRELOAD and LD_LIBRARY_PATH from error tolerance perspective Date: Fri, 03 Jan 2020 18:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00010.txt.bz2 Content-length: 3017 https://sourceware.org/bugzilla/show_bug.cgi?id=25341 Bug ID: 25341 Summary: Different behaviour of LD_PRELOAD and LD_LIBRARY_PATH from error tolerance perspective Product: glibc Version: 2.32 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: dynamic-link Assignee: unassigned at sourceware dot org Reporter: aladjev.andrew at gmail dot com Target Milestone: --- Hello. I am cross compiling some test images. Let's imagine that we have the following configuration: +--------------------------+ | | | +------------+ | | | | | | amd64 | aarch64_be | | | (+qemu) | container | | | container | | | | +------------+ | | | +--------------------------+ We have already cross compiled bash for "aarch64_be" container. We want to run bash from both "amd64" and "aarch64_be" (via qemu) containers. ``` LD_PRELOAD='/usr/aarch64_be-unknown-linux-gnu/lib64/libreadline.so.7:/usr/aarch64_be-unknown-linux-gnu/lib64/libtinfo.so.6:/usr/aarch64_be-unknown-linux-gnu/lib64/libc.so.6:/usr/aarch64_be-unknown-linux-gnu/lib64/libtinfow.so.6' /usr/aarch64_be-unknown-linux-gnu/bin/bash -c 'echo' ``` It is a bit dirty, but works perfect. Now let's try to run "amd64" bash with the same LD_PRELOAD value: ``` LD_PRELOAD='/usr/aarch64_be-unknown-linux-gnu/lib64/libreadline.so.7:/usr/aarch64_be-unknown-linux-gnu/lib64/libtinfo.so.6:/usr/aarch64_be-unknown-linux-gnu/lib64/libc.so.6:/usr/aarch64_be-unknown-linux-gnu/lib64/libtinfow.so.6' /bin/bash -c 'echo' ``` > ERROR: ld.so: object '/usr/aarch64_be-unknown-linux-gnu/lib64/libreadline.so.7' from LD_PRELOAD cannot be preloaded (ELF file data encoding not little-endian): ignored. > ... LD_PRELOAD said that LD just ignored wrong libraries and "amd64" bash works perfect. I love this behaviour. Now let's try to use LD_LIBRARY_PATH instead. ``` LD_LIBRARY_PATH='/usr/aarch64_be-unknown-linux-gnu/lib64' /usr/aarch64_be-unknown-linux-gnu/bin/bash -c 'echo' ``` Works perfect. ``` LD_LIBRARY_PATH='/usr/aarch64_be-unknown-linux-gnu/lib64' /bin/bash -c 'echo' ``` > /bin/bash: error while loading shared libraries: /usr/aarch64_be-unknown-linux-gnu/lib64/libreadline.so.7: ELF file data encoding not little-endian > ERRO exit status 127 Glibc failed. It looks like LD_LIBRARY_PATH is not error tolerant. I think that glibc should check all available pathes before failing. We shouldn't immediately fail when can't load one "path + library" pair. Error tolerance of LD_LIBRARY_PATH is important for running cross compiled application in native container, because it should be possible to run native applications from cross compiled application. I am not sure whether this is a bug or feature. Thank you. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47001-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 19:14:18 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 48168 invoked by alias); 3 Jan 2020 19:14:18 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 48147 invoked by uid 48); 3 Jan 2020 19:14:14 -0000 From: "glibc at gmch dot uk" To: glibc-bugs@sourceware.org Subject: [Bug string/25343] New: strerror_r() and INT_MIN returns "Unknown error -18446744071562067968" (for x86_64) Date: Fri, 03 Jan 2020 19:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: string X-Bugzilla-Version: 2.29 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: glibc at gmch dot uk X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00011.txt.bz2 Content-length: 2022 https://sourceware.org/bugzilla/show_bug.cgi?id=25343 Bug ID: 25343 Summary: strerror_r() and INT_MIN returns "Unknown error -18446744071562067968" (for x86_64) Product: glibc Version: 2.29 Status: UNCONFIRMED Severity: minor Priority: P2 Component: string Assignee: unassigned at sourceware dot org Reporter: glibc at gmch dot uk Target Milestone: --- For unknown errors __strerror_r() does: p = _itoa_word (abs (errnum), &numbuf[20], 10, 0); where abs(INT_MIN) is undefined. As it happens, on x86_64 abs(INT_MIN) returns INT_MIN, which is widened to unsigned long long int -- hence the silly result. I guess absll(errnum) would fix the error where long long int is bigger than int. Otherwise, I dunno what hoops the library should be jumping through to allow for not-2's-complement. FWIW: the man-page mentions EINVAL and ERANGE errors, but is silent on whether the GNU strerror_r() returns errors. The implementation clearly does not return any errors -- not even for buflen == 0 (with or without buf == NULL). [buf == NULL with buflen != 0 gives a SEGV -- duh.] Also FWIW: the man-page, in general, talks of known/unknown error numbers and valid/invalid error numbers, but does not say how or whether those are different. This is also true of POSIX.1 which is not a miracle of precision either. The glibc POSIX/XSI implementation clearly does not distinguish known and valid, and 0 is known -- the function returns EINVAL for unknown error numbers, as well as setting a string. (Incidentally, if EINVAL is returned that takes precedence over ERANGE, but that's also a secret.) It would be nice to have a function to map an error number to its macro-name, returning a constant string (for known) or NULL (for unknown) errors. But that's another story. Chris -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47002-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 19:18:57 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 52495 invoked by alias); 3 Jan 2020 19:18:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 52461 invoked by uid 48); 3 Jan 2020 19:18:52 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25341] Different behaviour of LD_PRELOAD and LD_LIBRARY_PATH from error tolerance perspective Date: Fri, 03 Jan 2020 19:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00012.txt.bz2 Content-length: 893 https://sourceware.org/bugzilla/show_bug.cgi?id=25341 --- Comment #1 from Aladjev Andrew --- I've found the reason of this issue in elf/dl-load.c: /* Open a file and verify it is an ELF file for this architecture. We ignore only ELF files for other architectures. Non-ELF files and ELF files with different header information cause fatal errors since this could mean there is something wrong in the installation and the user might want to know about this. If FD is not -1, then the file is already open and FD refers to it. In that case, FD is consumed for both successful and error returns. */ So now I think that this is a bug rather than feature. "open_verify" is not able to ignore "aarch64_be" which is definitely related to other architecture. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47003-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 19:24:37 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 73648 invoked by alias); 3 Jan 2020 19:24:30 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 70117 invoked by uid 48); 3 Jan 2020 19:24:18 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25341] Different behaviour of LD_PRELOAD and LD_LIBRARY_PATH from error tolerance perspective Date: Fri, 03 Jan 2020 19:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00013.txt.bz2 Content-length: 411 https://sourceware.org/bugzilla/show_bug.cgi?id=25341 Aladjev Andrew changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aladjev.andrew at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47004-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 19:25:04 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 87024 invoked by alias); 3 Jan 2020 19:25:04 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 86734 invoked by uid 48); 3 Jan 2020 19:25:00 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25341] Different behaviour of LD_PRELOAD and LD_LIBRARY_PATH from error tolerance perspective Date: Fri, 03 Jan 2020 19:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00014.txt.bz2 Content-length: 384 https://sourceware.org/bugzilla/show_bug.cgi?id=25341 Aladjev Andrew changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |normal -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47005-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 19:50:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 114867 invoked by alias); 3 Jan 2020 19:50:49 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 114827 invoked by uid 48); 3 Jan 2020 19:50:45 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25341] Different behaviour of LD_PRELOAD and LD_LIBRARY_PATH from error tolerance perspective Date: Fri, 03 Jan 2020 19:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00015.txt.bz2 Content-length: 351 https://sourceware.org/bugzilla/show_bug.cgi?id=25341 --- Comment #2 from Aladjev Andrew --- Created attachment 12165 --> https://sourceware.org/bugzilla/attachment.cgi?id=12165&action=edit elf/dl-load open_verify debug patch -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47006-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 19:56:21 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 119426 invoked by alias); 3 Jan 2020 19:56:21 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 119361 invoked by uid 48); 3 Jan 2020 19:56:16 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25341] Different behaviour of LD_PRELOAD and LD_LIBRARY_PATH from error tolerance perspective Date: Fri, 03 Jan 2020 19:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00016.txt.bz2 Content-length: 1048 https://sourceware.org/bugzilla/show_bug.cgi?id=25341 --- Comment #3 from Aladjev Andrew --- I've attached a debug patch where we can see the following result: 1041: open_verify 0 ELF file data encoding not little-endian ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be preloaded (ELF file data encoding not little-endian): ignored. 1041: open_verify 0 ELF file data encoding not little-endian aarch64_be-unknown-linux-gnu-gcc: error while loading shared libraries: /usr/aarch64_be-unknown-linux-gnu/lib64/libc.so.6: ELF file data encoding not little-endian So we can definitely say that both LD_PRELOAD and LD_LIBRARY_PATH received the same error from "open_verify". LD_PRELOAD ignored this error, but LD_LIBRARY_PATH failed. But the problem is that "open_verify" description looks wrong. This function should somehow ignore files for another architecture. I will investigate it deeper. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47007-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 20:07:06 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 97012 invoked by alias); 3 Jan 2020 20:07:06 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 91717 invoked by uid 48); 3 Jan 2020 20:07:01 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25341] Different behaviour of LD_PRELOAD and LD_LIBRARY_PATH from error tolerance perspective Date: Fri, 03 Jan 2020 20:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00017.txt.bz2 Content-length: 800 https://sourceware.org/bugzilla/show_bug.cgi?id=25341 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- --- Comment #4 from Florian Weimer --- LD_PRELOAD still gets the same load failure, but ignores it. This is basically at the last step. I expect LD_PRELOAD will still not pick up the object even if search path processing is active (if a path without / is used) because it runs into the same load failure then. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47008-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 23:28:55 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 11670 invoked by alias); 3 Jan 2020 23:28:54 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 11610 invoked by uid 48); 3 Jan 2020 23:28:49 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25341] Different behaviour of LD_PRELOAD and LD_LIBRARY_PATH from error tolerance perspective Date: Fri, 03 Jan 2020 23:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00018.txt.bz2 Content-length: 1690 https://sourceware.org/bugzilla/show_bug.cgi?id=25341 --- Comment #5 from Aladjev Andrew --- I agree, we need to ignore files from different architecture properly. Both LD_PRELOAD and LD_LIBRARY_PATH shouldn't receive these files. Today we can see that "open_verify" function is full of legacy code. It is almost impossible to understand it. We need first version of this function from glibc-2.2 from 2000 year to understand something. https://sourceware.org/git/?p=glibc.git;a=blob;f=elf/dl-load.c;h=45f38f3c44d1c66619281bacd2cbb915f5931951;hb=55f462edb056e70ddfdd7bf388a8088d6773ff1d Unfortunately we can see that "open_verify" was broken by design. It has nothing for ignoring other architectures. if (ehdr->e_ident[EI_DATA] != byteorder) { if (BYTE_ORDER == BIG_ENDIAN) lose (0, fd, name, NULL, NULL, "ELF file data encoding not big-endian"); else lose (0, fd, name, NULL, NULL, "ELF file data encoding not little-endian"); } ... lose (0, fd, name, NULL, NULL, N_("internal error")); This code was not touched since 2000 year. We can see that it throws same signal (with different text) both for different architecture and internal error. This is not acceptable. What we can do? I think that "goto close_and_out;" instead of "goto call_lose;" will be a good solution. But I am 100% sure that this patch will never be accepted. This code is too old. But people can use this patch for host container that should be able to ignore different architectures. I've tested this patch on my system, it works perfect. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47009-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 23:30:58 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 13335 invoked by alias); 3 Jan 2020 23:30:55 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 13092 invoked by uid 48); 3 Jan 2020 23:30:23 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25341] Different behaviour of LD_PRELOAD and LD_LIBRARY_PATH from error tolerance perspective Date: Fri, 03 Jan 2020 23:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00019.txt.bz2 Content-length: 358 https://sourceware.org/bugzilla/show_bug.cgi?id=25341 --- Comment #6 from Aladjev Andrew --- Created attachment 12166 --> https://sourceware.org/bugzilla/attachment.cgi?id=12166&action=edit elf mismatch is not fatal glibc-2.29 patch -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47010-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 03 23:31:30 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 13918 invoked by alias); 3 Jan 2020 23:31:30 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 13890 invoked by uid 48); 3 Jan 2020 23:31:26 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25341] Different behaviour of LD_PRELOAD and LD_LIBRARY_PATH from error tolerance perspective Date: Fri, 03 Jan 2020 23:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00020.txt.bz2 Content-length: 358 https://sourceware.org/bugzilla/show_bug.cgi?id=25341 --- Comment #7 from Aladjev Andrew --- Created attachment 12167 --> https://sourceware.org/bugzilla/attachment.cgi?id=12167&action=edit elf mismatch is not fatal glibc-2.30 patch -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47011-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 06 19:52:58 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 101586 invoked by alias); 6 Jan 2020 19:52:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 101081 invoked by uid 48); 6 Jan 2020 19:52:48 -0000 From: "later01 at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/21971] Added New Locale for mfe_MU Date: Mon, 06 Jan 2020 19:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: later01 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.27 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00021.txt.bz2 Content-length: 672 https://sourceware.org/bugzilla/show_bug.cgi?id=21971 Denis Jean changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |later01 at gmail dot com --- Comment #6 from Denis Jean --- Created attachment 12171 --> https://sourceware.org/bugzilla/attachment.cgi?id=12171&action=edit The orthography for the name of days and months have been corrected into the official Kreol Morisien Orthography -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47012-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 06 20:01:38 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 123725 invoked by alias); 6 Jan 2020 20:01:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 123658 invoked by uid 48); 6 Jan 2020 20:01:33 -0000 From: "later01 at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/21971] Added New Locale for mfe_MU Date: Mon, 06 Jan 2020 20:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: later01 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.27 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00022.txt.bz2 Content-length: 734 https://sourceware.org/bugzilla/show_bug.cgi?id=21971 --- Comment #7 from Denis Jean --- The correct orthography for Kreol Morisien(Mauritian Creole) can be verified at http://www.cleverdodo.mu/userfiles/media/Lortograf%20Kreol%20Morisien.pdf Section 6.1.1 This is the official language that is being taught at school and the University of Mauritius, using this document as guide. This document has precedence over any other according to lecturers even over the official dictionary. The language is young and not set in stones, but for the days and months, the dictionary and AKM orthography follow the same rules. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47013-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 07 09:23:29 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 5472 invoked by alias); 7 Jan 2020 09:23:29 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 5395 invoked by uid 48); 7 Jan 2020 09:23:24 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/21971] Added New Locale for mfe_MU Date: Tue, 07 Jan 2020 09:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.27 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on resolution everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00023.txt.bz2 Content-length: 681 https://sourceware.org/bugzilla/show_bug.cgi?id=21971 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2020-01-07 Resolution|FIXED |--- Ever confirmed|0 |1 --- Comment #8 from Mike FABIAN --- Reopen to correct the orthography for the name of days and months. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47014-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 07 12:02:54 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 23389 invoked by alias); 7 Jan 2020 12:02:54 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 23328 invoked by uid 48); 7 Jan 2020 12:02:50 -0000 From: "nsz at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25051] aarch64, powerpc64 uses surplus static tls for dynamically loaded dsos Date: Tue, 07 Jan 2020 12:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nsz at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nsz at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00024.txt.bz2 Content-length: 552 https://sourceware.org/bugzilla/show_bug.cgi?id=25051 Szabolcs Nagy changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at sourceware dot org |nsz at gcc dot gnu.org --- Comment #2 from Szabolcs Nagy --- posted a patch for discussion https://sourceware.org/ml/libc-alpha/2020-01/msg00099.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47015-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 07 16:09:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 113519 invoked by alias); 7 Jan 2020 16:09:42 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 113459 invoked by uid 48); 7 Jan 2020 16:09:38 -0000 From: "lukma at denx dot de" To: glibc-bugs@sourceware.org Subject: [Bug libc/25352] New: dl_naudit wrong offset in struct rtld_global_ro on 32 bit ARMv7 Date: Tue, 07 Jan 2020 16:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: lukma at denx dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00025.txt.bz2 Content-length: 4589 https://sourceware.org/bugzilla/show_bug.cgi?id=25352 Bug ID: 25352 Summary: dl_naudit wrong offset in struct rtld_global_ro on 32 bit ARMv7 Product: glibc Version: 2.31 Status: UNCONFIRMED Severity: critical Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: lukma at denx dot de CC: drepper.fsp at gmail dot com Target Milestone: --- Dear Community, The commit 1bdda52fe92fd01b424cd6fbb63e3df96a95015c (elf: Move vDSO setup to rtld (BZ#24967)) caused a regression on my ARMv7 (32 bit) based setup. When I start (a previously working) binary - I do receive following error: Program received signal SIGSEGV, Segmentation fault. __libc_start_main (main=0x40380d
, argc=1, argv=0x7efffdf4, init=, fini=0x4050e9 <__libc_csu_fini>, rtld_fini=0x76fe2355 <_dl_fini>, stack_end=0x7efffdf4) at libc-start.c:274 274 if (afct->preinit != NULL) (gdb) p afct $1 = (struct audit_ifaces *) 0x0 (gdb) disassemble /m 0x76ee44a0,+10 Dump of assembler code from 0x76ee44a0 to 0x76ee44aa: 268 if (__glibc_unlikely (GLRO(dl_naudit) > 0)) 0x76ee44a0 <__libc_start_main+84>: ldr r3, [pc, #264] ; (0x76ee45ac <__libc_start_main+352>) 0x76ee44a2 <__libc_start_main+86>: ldr r2, [sp, #0] 0x76ee44a4 <__libc_start_main+88>: ldr r3, [r2, r3] => 0x76ee44a6 <__libc_start_main+90>: ldr.w r7, [r3, #440] ; 0x1b8 0x76ee44aa <__libc_start_main+94>: cmp r7, #0 0x76ee44ac <__libc_start_main+96>: bne.n 0x76ee4544 <__libc_start_main+248> End of assembler dump. (gdb) i r r3 r3 0x76ffe908 1996482824 (gdb) p &_rtld_global_ro._dl_naudit $26 = (unsigned int *) 0x76ffeab8 <_rtld_global_ro+432> (gdb) p &_rtld_global_ro $27 = (struct rtld_global_ro *) 0x76ffe908 <_rtld_global_ro> The issue seems to be that the compile time offset for GLRO(dl_naudit) (440 dec) is different than the one returned at runtime (432 dec). This causes reading (gdb) i r r7 r7 0x1000000 16777216 And we do have null pointer dereference: (gdb) p afct $1 = (struct audit_ifaces *) 0x0 With this patch reverted: (gdb) disassemble /m 0x76ee4508,+10 Dump of assembler code from 0x76ee4508 to 0x76ee4512: 268 if (__glibc_unlikely (GLRO(dl_naudit) > 0)) 0x76ee4508 <__libc_start_main+84>: ldr r3, [pc, #264] ; (0x76ee4614 <__libc_start_main+352>) 0x76ee450a <__libc_start_main+86>: ldr r2, [sp, #0] 0x76ee450c <__libc_start_main+88>: ldr r3, [r2, r3] => 0x76ee450e <__libc_start_main+90>: ldr.w r7, [r3, #432] ; 0x1b0 0x76ee4512 <__libc_start_main+94>: cmp r7, #0 0x76ee4514 <__libc_start_main+96>: bne.n 0x76ee45ac <__libc_start_main+248> End of assembler dump. (gdb) i r r7 r7 0x0 0 (gdb) i r r3 r3 0x76ffe908 1996482824 The offset here is correct - #432 dec HW platform: Hardware : ARM-Versatile Express model name : ARMv7 Processor rev 0 (v7l) (32 bit) Run under QEMU root@y2038arm:~# file /usr/bin/test_n2038 /usr/bin/test_n2038: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 5.1.0, BuildID[sha1]=df17b5cf94232f94f77afc03a3bceaa77b25ddf4, stripped (gdb) bt #0 __libc_start_main (main=0x40380d
, argc=1, argv=0x7efffdf4, init=0x4050a9 <__libc_csu_init>, fini=0x4050e9 <__libc_csu_fini>, rtld_fini=0x76fe2355 <_dl_fini>, stack_end=0x7efffdf4) at libc-start.c:268 #1 0x00401174 in _start () at ../sysdeps/arm/start.S:110 Backtrace stopped: previous frame identical to this frame (corrupt stack?) It looks to me that the issue is with: -------------------------------------- struct rtld_global_ro @ sysdeps/generic/ldsodefs.h +# define PROCINFO_DECL +# ifndef PROCINFO_CLASS +# define PROCINFO_CLASS EXTERN +# endif +# include Inclusion of dl-vdso-setup.c (vdso pointers for clock_gettme and gettimeofday) may cause the +8B offset for _dl_n_audit - the last element in the structure. However, I don't know why the '__glibc_unlikely (GLRO(dl_naudit)' returns the data as the vDSO were not defined at all in struct rtld_global_ro. Thanks in advance for help. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47016-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 07 16:18:34 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 122430 invoked by alias); 7 Jan 2020 16:18:34 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 122375 invoked by uid 48); 7 Jan 2020 16:18:29 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25352] dl_naudit wrong offset in struct rtld_global_ro on 32 bit ARMv7 Date: Tue, 07 Jan 2020 16:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00026.txt.bz2 Content-length: 270 https://sourceware.org/bugzilla/show_bug.cgi?id=25352 --- Comment #1 from Andreas Schwab --- Make sure you are not mixing different versions of ld.so and libc.so. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47017-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 07 16:29:35 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 45981 invoked by alias); 7 Jan 2020 16:29:35 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 45943 invoked by uid 48); 7 Jan 2020 16:29:31 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25352] dl_naudit wrong offset in struct rtld_global_ro on 32 bit ARMv7 Date: Tue, 07 Jan 2020 16:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00027.txt.bz2 Content-length: 808 https://sourceware.org/bugzilla/show_bug.cgi?id=25352 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adhemerval.zanella at linaro dot o | |rg --- Comment #2 from Adhemerval Zanella --- Indeed libc.so and ld.so should match, what gdb command 'info proc map' shows? I think we can move the dl-vdso-setup.c variables to the end of the rtld_global_ro struct, but even though the scenario of different ld/lib* are not really supported. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47018-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 07 20:27:46 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 25946 invoked by alias); 7 Jan 2020 20:27:45 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 25884 invoked by uid 48); 7 Jan 2020 20:27:41 -0000 From: "jwtiyar at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Tue, 07 Jan 2020 20:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jwtiyar at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: libc-locales at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00028.txt.bz2 Content-length: 391 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #36 from Jwtiayr Nariman --- Created attachment 12173 --> https://sourceware.org/bugzilla/attachment.cgi?id=12173&action=edit Localedata file for ckb_IQ Here is new version of localedata file for ckb.thanks -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47019-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 07 20:38:14 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 37481 invoked by alias); 7 Jan 2020 20:38:13 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 37216 invoked by uid 48); 7 Jan 2020 20:38:08 -0000 From: "aras.noori at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Tue, 07 Jan 2020 20:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: aras.noori at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: libc-locales at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00029.txt.bz2 Content-length: 2490 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #37 from Aras Noori --- (In reply to Mike Frysinger from comment #35) > first, please update the header of the file to match all the current > locales. the first ~10 lines should be the same (e.g. as en_US). you > should sync to latest git as the last release is out of date already. > > > title "Kurdish language locale based on Arabic letters" > > this should be: > Central Kurdish language locale for Iraq > > > tel "+49 17629857380" > > leave this field blank > > > language "Kurdish" > > change to "Central Kurdish" > > > territory "Iraq, Iran" > > drop Iran. this locale is only for Iraq. > > > category "ckb_IQ:2000";LC_IDENTIFICATION > > you'll need to fix all these category fields. copy them from en_US for > their correct values. > > > LC_COLLATE > > please rebase this to start with: > copy "iso14651_t1" > > > % This is the POSIX Locale definition for the LC_NUMERIC category. > > delete these old comments from the LC_NUMERIC, LC_TIME, LC_NAME, and > LC_ADDRESS categories > > > LC_TIME > > are you sure about the day/abday/mon/abmon translations ? CLDR says they're > different. > > make sure day/abday start on Sunday > > > am_pm > > does Iraq really use am/pm notation ? if not, leave these fields blank. > > > first_workday 7 > > change this to 2 and add this line: > week 7;19971130;1 > > > yesexpr "" > > noexpr "" > > these need to be updated. these should be regular expressions to match a > yes/no answer. see the current en_US value as an example. > > please also provide yesstr/nostr translations > > > LC_PAPER > > LC_MEASUREMENT > > change both of these categories to simply: > copy "ar_IQ" > > > name_gen "" > > this is "-san". is that correct ? > > > country_car "" > > shouldn't this be "IRQ" instead of "IQ" ? > > > LC_ADDRESS > > please define country_name (localized translation for Iraq) > > > tel_int_fmt "+%c ;%a ;%l" > > pretty sure this should be: > +%c %a%t%l > > > tel_dom_fmt "" > > are you sure this is correct ? Thank you for your tipps, @Jwtiayr and I fixed the bugs. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47020-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 07 20:39:39 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 38533 invoked by alias); 7 Jan 2020 20:39:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 38478 invoked by uid 48); 7 Jan 2020 20:39:35 -0000 From: "aras.noori at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Tue, 07 Jan 2020 20:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: aras.noori at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: libc-locales at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00030.txt.bz2 Content-length: 389 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #38 from Aras Noori --- (In reply to Jwtiayr Nariman from comment #36) > Created attachment 12173 [details] > Localedata file for ckb_IQ > > Here is new version of localedata file for ckb.thanks Great Work. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47021-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 07 23:09:16 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 94116 invoked by alias); 7 Jan 2020 23:09:15 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 93904 invoked by uid 48); 7 Jan 2020 23:09:11 -0000 From: "lukma at denx dot de" To: glibc-bugs@sourceware.org Subject: [Bug libc/25352] dl_naudit wrong offset in struct rtld_global_ro on 32 bit ARMv7 Date: Tue, 07 Jan 2020 23:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: lukma at denx dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00031.txt.bz2 Content-length: 2317 https://sourceware.org/bugzilla/show_bug.cgi?id=25352 --- Comment #3 from Lukasz Majewski --- (gdb) info proc map process 1136 Mapped address spaces: Start Addr End Addr Size Offset objfile 0x400000 0x408000 0x8000 0x0 /usr/bin/test_n2038 0x417000 0x418000 0x1000 0x7000 /usr/bin/test_n2038 0x418000 0x419000 0x1000 0x8000 /usr/bin/test_n2038 0x76ea8000 0x76eba000 0x12000 0x0 /opt/lib/libpthread-2.30.9000.so 0x76eba000 0x76ec9000 0xf000 0x12000 /opt/lib/libpthread-2.30.9000.so 0x76ec9000 0x76eca000 0x1000 0x11000 /opt/lib/libpthread-2.30.9000.so 0x76eca000 0x76ecb000 0x1000 0x12000 /opt/lib/libpthread-2.30.9000.so 0x76ecb000 0x76ecd000 0x2000 0x0 0x76ecd000 0x76fac000 0xdf000 0x0 /opt/lib/libc-2.30.9000.so 0x76fac000 0x76fbb000 0xf000 0xdf000 /opt/lib/libc-2.30.9000.so 0x76fbb000 0x76fbd000 0x2000 0xde000 /opt/lib/libc-2.30.9000.so 0x76fbd000 0x76fbe000 0x1000 0xe0000 /opt/lib/libc-2.30.9000.so 0x76fbe000 0x76fc1000 0x3000 0x0 0x76fc1000 0x76fc6000 0x5000 0x0 /opt/lib/librt-2.30.9000.so 0x76fc6000 0x76fd5000 0xf000 0x5000 /opt/lib/librt-2.30.9000.so 0x76fd5000 0x76fd6000 0x1000 0x4000 /opt/lib/librt-2.30.9000.so 0x76fd6000 0x76fd7000 0x1000 0x5000 /opt/lib/librt-2.30.9000.so 0x76fd7000 0x76fef000 0x18000 0x0 /lib/ld-2.28.so 0x76ff9000 0x76ffb000 0x2000 0x0 0x76ffb000 0x76ffc000 0x1000 0x0 [sigpage] 0x76ffc000 0x76ffd000 0x1000 0x0 [vvar] 0x76ffd000 0x76ffe000 0x1000 0x0 [vdso] 0x76ffe000 0x76fff000 0x1000 0x17000 /lib/ld-2.28.so 0x76fff000 0x77000000 0x1000 0x18000 /lib/ld-2.28.so 0x7efdf000 0x7f000000 0x21000 0x0 [stack] 0xffff0000 0xffff1000 0x1000 0x0 [vectors] Indeed, the ld.so is from 2.28. If the mismatch is not supported, then I will update ld.so as well. Thanks for pointing this. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47022-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 07 23:21:09 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 16142 invoked by alias); 7 Jan 2020 23:21:09 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 16091 invoked by uid 55); 7 Jan 2020 23:21:05 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25233] Consider . as the thousands separator for sl_SI (Slovenian) Date: Tue, 07 Jan 2020 23:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00032.txt.bz2 Content-length: 898 https://sourceware.org/bugzilla/show_bug.cgi?id=25233 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Rafal Luzynski : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=135540285cb44f820dac41c2b95531db33658f9f commit 135540285cb44f820dac41c2b95531db33658f9f Author: Rafał Lużyński Date: Fri Jan 3 12:11:20 2020 +0100 sl_SI locale: Use "." as the thousands separator (bug 25233) This is correct according to CLDR [1] and Florian Weimer's quick research. [2] [1] https://st.unicode.org/cldr-apps/v#/sl/Symbols/ [2] https://sourceware.org/bugzilla/show_bug.cgi?id=25233#c0 Reviewed-by: Siddhesh Poyarekar -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47023-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 07 23:27:07 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 49473 invoked by alias); 7 Jan 2020 23:27:06 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 49418 invoked by uid 48); 7 Jan 2020 23:27:03 -0000 From: "digitalfreak at lingonborough dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25233] Consider . as the thousands separator for sl_SI (Slovenian) Date: Tue, 07 Jan 2020 23:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: digitalfreak at lingonborough dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00033.txt.bz2 Content-length: 591 https://sourceware.org/bugzilla/show_bug.cgi?id=25233 Rafal Luzynski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #3 from Rafal Luzynski --- Fixed by the commit 135540285cb44f820dac41c2b95531db33658f9f. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47024-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 07 23:42:57 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 65662 invoked by alias); 7 Jan 2020 23:42:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 65624 invoked by uid 48); 7 Jan 2020 23:42:52 -0000 From: "lukma at denx dot de" To: glibc-bugs@sourceware.org Subject: [Bug libc/25352] dl_naudit wrong offset in struct rtld_global_ro on 32 bit ARMv7 Date: Tue, 07 Jan 2020 23:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: lukma at denx dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00034.txt.bz2 Content-length: 593 https://sourceware.org/bugzilla/show_bug.cgi?id=25352 --- Comment #4 from Lukasz Majewski --- I had to explicitly add the path to dynamic linker: -Wl,--dynamic-linker=${Y2038_GLIBC_DEPLOY_DIR}${base_libdir}/ld-linux-armhf.so.3 when building test_n2038. After this the correct ld.so is used: 0x76ffe000 0x76fff000 0x1000 0x19000 /opt/lib/ld-2.30.9000.so 0x76fff000 0x77000000 0x1000 0x1a000 /opt/lib/ld-2.30.9000.so Thanks one more time for help :-) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47025-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 08 09:36:41 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 63617 invoked by alias); 8 Jan 2020 09:36:41 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 63558 invoked by uid 48); 8 Jan 2020 09:36:37 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25352] dl_naudit wrong offset in struct rtld_global_ro on 32 bit ARMv7 Date: Wed, 08 Jan 2020 09:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00035.txt.bz2 Content-length: 508 https://sourceware.org/bugzilla/show_bug.cgi?id=25352 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #5 from Andreas Schwab --- Not a bug. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47026-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 08 13:52:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 40237 invoked by alias); 8 Jan 2020 13:52:49 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 40121 invoked by uid 48); 8 Jan 2020 13:52:44 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 08 Jan 2020 13:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00036.txt.bz2 Content-length: 410 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|libc-locales at sourceware dot org |maiku.fabian at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47027-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 08 17:35:41 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 86990 invoked by alias); 8 Jan 2020 17:35:41 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 86927 invoked by uid 48); 8 Jan 2020 17:35:36 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 08 Jan 2020 17:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00037.txt.bz2 Content-length: 1302 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #39 from Mike FABIAN --- > LC_COLLATE > % The Kurdish Sorani, Bahdini, and others dialects is mainly written using a modified (Arabic-based alphabet) with 33 letters. > % Unlike the regular Arabic alphabet, which is an abjad, kurdish is an alphabet in which vowels are mandatory, making the script easy to read. > % > % The kurdish alphabet order is: > % in Latin: a, b, c, ç, d, e, ê, f, g, h, i, î, j, k, l, ll, m, n, o, p, q, r, rr, s, sh, t, u, uu, v, w, x, y, z > % vowels: A, E, I, O, U, UU > % > % Copy the template from ISO/IEC 14651 > > order_start forward; forward > % > % Kurdish numeric characters. > % > You still did not base the collation on iso14651_t1. Your LC_COLLATE section should start like this: LC_COLLATE copy "iso14651_t1" and then you should only reorder the characters which are not correctly ordered already, i.e. you should only do modifications to the default collation order comming from "iso14651_t1", *not* write everything from scratch. I can try to help you with that and try to rewrite your LC_COLLATE. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47028-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 08 20:27:54 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 19187 invoked by alias); 8 Jan 2020 20:27:53 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 18873 invoked by uid 48); 8 Jan 2020 20:27:49 -0000 From: "jwtiyar at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 08 Jan 2020 20:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jwtiyar at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00038.txt.bz2 Content-length: 1536 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #40 from Jwtiyar Nariman --- T(In reply to Mike FABIAN from comment #39) > > LC_COLLATE > > % The Kurdish Sorani, Bahdini, and others dialects is mainly written using a modified (Arabic-based alphabet) with 33 letters. > > % Unlike the regular Arabic alphabet, which is an abjad, kurdish is an alphabet in which vowels are mandatory, making the script easy to read. > > % > > % The kurdish alphabet order is: > > % in Latin: a, b, c, ç, d, e, ê, f, g, h, i, î, j, k, l, ll, m, n, o, p, q, r, rr, s, sh, t, u, uu, v, w, x, y, z > > % vowels: A, E, I, O, U, UU > > % > > % Copy the template from ISO/IEC 14651 > > > > order_start forward; forward > > % > > % Kurdish numeric characters. > > % > > > > You still did not base the collation on iso14651_t1. > > Your LC_COLLATE section should start like this: > > LC_COLLATE > copy "iso14651_t1" > > and then you should only reorder the characters which are not correctly > ordered already, i.e. you should only do modifications to the default > collation order comming from "iso14651_t1", *not* write everything from > scratch. > > I can try to help you with that and try to rewrite your LC_COLLATE. Thank you mike, its little complicated i think i don't understand your point. But if you can do its really appreciated. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47029-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 09 21:21:35 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 11763 invoked by alias); 9 Jan 2020 21:21:34 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 11506 invoked by uid 48); 9 Jan 2020 21:21:24 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/23960] [2.28 Regression]: New getdents{64} implementation breaks qemu-user Date: Thu, 09 Jan 2020 21:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00039.txt.bz2 Content-length: 2169 https://sourceware.org/bugzilla/show_bug.cgi?id=23960 --- Comment #53 from Aladjev Andrew --- Please review getdents function once again: https://github.com/bminor/glibc/blob/master/sysdeps/unix/sysv/linux/getdents.c#L21 What does it mean "!_DIRENT_MATCHES_DIRENT64"? https://github.com/bminor/glibc/blob/master/sysdeps/unix/sysv/linux/bits/dirent.h#L54 #if defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T # define _DIRENT_MATCHES_DIRENT64 1 #else # define _DIRENT_MATCHES_DIRENT64 0 #endif >From architecture perspective "!_DIRENT_MATCHES_DIRENT64" means "we need to emulate getdents using getdents64". So this issue can be titled correctly as "getdents emulation using getdents64 is not working in several cases". /* Pack the dirent64 struct down into 32-bit offset/inode fields, and ensure that no overflow occurs. */ The main assumption is wrong. Packing "dirent64" down to "dirent" is not possible in general case. This issue is very popular. Musl libc has the same issue. https://github.com/ifduyue/musl/blob/master/src/internal/syscall.h#L131-L134 /* fixup legacy 32-bit-vs-lfs64 junk */ #define SYS_getdents SYS_getdents64 Only UClibc (and uclibc-ng) works almost correctly with "getdents" https://github.com/wbx-github/uclibc-ng/blob/master/libc/sysdeps/linux/common/getdents.c#L94-L116 You can enable "ARCH_HAS_DEPRECATED_SYSCALLS" config option and "getdents" won't be emulated with "getdents64", it will use regular "getdents" syscall. Is it possible to fix "getdents" emulation? Yes, we need to replace "getdents64" syscall with "__X32_SYSCALL_BIT + __NR_getdents64". This syscall guarantees that packing "dirent64" down to "dirent" is possible. This replacement requires "CONFIG_X86_X32=y" in your host kernel config. If I were glibc/musl core developer I will rewrite "getdents" in the following way: 1. If x32 syscall is available - use "__X32_SYSCALL_BIT + __NR_getdents64". 2. Otherwise do not try to emulate "getdents" using "getdents64", use regular "getdents" syscall. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47030-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 09 22:33:39 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 25835 invoked by alias); 9 Jan 2020 22:33:39 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 25765 invoked by uid 48); 9 Jan 2020 22:33:35 -0000 From: "digitalfreak at lingonborough dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25233] Consider . as the thousands separator for sl_SI (Slovenian) Date: Thu, 09 Jan 2020 22:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: digitalfreak at lingonborough dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00040.txt.bz2 Content-length: 388 https://sourceware.org/bugzilla/show_bug.cgi?id=25233 Rafal Luzynski changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.31 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47031-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 09 22:35:02 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 27915 invoked by alias); 9 Jan 2020 22:35:01 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 27794 invoked by uid 48); 9 Jan 2020 22:34:58 -0000 From: "digitalfreak at lingonborough dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25233] Consider "." as the thousands separator for sl_SI (Slovenian) Date: Thu, 09 Jan 2020 22:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: digitalfreak at lingonborough dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00041.txt.bz2 Content-length: 543 https://sourceware.org/bugzilla/show_bug.cgi?id=25233 Rafal Luzynski changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Consider . as the thousands |Consider "." as the |separator for sl_SI |thousands separator for |(Slovenian) |sl_SI (Slovenian) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47032-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 09 23:16:50 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 8417 invoked by alias); 9 Jan 2020 23:16:50 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 8339 invoked by uid 48); 9 Jan 2020 23:16:45 -0000 From: "digitalfreak at lingonborough dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/21971] Added New Locale for mfe_MU Date: Thu, 09 Jan 2020 23:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: digitalfreak at lingonborough dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.27 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00042.txt.bz2 Content-length: 637 https://sourceware.org/bugzilla/show_bug.cgi?id=21971 Rafal Luzynski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |digitalfreak@lingonborough. | |com --- Comment #9 from Rafal Luzynski --- For multiple reasons I suggest filing a new bug report rather than reopening this old one. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47033-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 09 23:44:31 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 98964 invoked by alias); 9 Jan 2020 23:44:31 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 98876 invoked by uid 48); 9 Jan 2020 23:44:26 -0000 From: "digitalfreak at lingonborough dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/24366] la_VA locale support Date: Thu, 09 Jan 2020 23:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: digitalfreak at lingonborough dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00043.txt.bz2 Content-length: 1175 https://sourceware.org/bugzilla/show_bug.cgi?id=24366 Rafal Luzynski changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |digitalfreak@lingonborough. | |com --- Comment #3 from Rafal Luzynski --- I hesitate to add such locales. My point is that Latin language does not have native speakers. We will not make anybody's life easier supporting Latin language in Linux. I believe people who could be potential users of la_VA would rather choose their native languages in their computers, like Italian, Spanish, German, and so on. However, I don't want to close this as "WONTFIX" yet because maybe I am missing something. By the way, the patch contains some technical issues but I don't want to discuss them here because I don't want to suggest that I will accept the patch if they are corrected. See also: bug 21919. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47034-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 10 16:00:58 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 68444 invoked by alias); 10 Jan 2020 16:00:44 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 68069 invoked by uid 48); 10 Jan 2020 16:00:37 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25139] Please add the new mnw_MM locale Date: Fri, 10 Jan 2020 16:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00044.txt.bz2 Content-length: 542 https://sourceware.org/bugzilla/show_bug.cgi?id=25139 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #14 from Mike FABIAN --- Will be in the next release (2.31) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47035-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Jan 11 22:01:48 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 13213 invoked by alias); 11 Jan 2020 22:01:48 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 13043 invoked by uid 48); 11 Jan 2020 22:01:44 -0000 From: "kokoye2007 at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/13605] shn_MM: new Shan locale Date: Sat, 11 Jan 2020 22:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kokoye2007 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.27 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00045.txt.bz2 Content-length: 659 https://sourceware.org/bugzilla/show_bug.cgi?id=13605 kokoye2007 changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kokoye2007 at gmail dot com --- Comment #11 from kokoye2007 --- Created attachment 12187 --> https://sourceware.org/bugzilla/attachment.cgi?id=12187&action=edit shn_MM fix string message fix for locale_shn_2012-07-01.txt to locale_shn_2020_01_12.txt -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47036-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Jan 11 22:03:05 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 14670 invoked by alias); 11 Jan 2020 22:03:05 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 14576 invoked by uid 48); 11 Jan 2020 22:03:01 -0000 From: "kokoye2007 at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/13605] shn_MM: new Shan locale Date: Sat, 11 Jan 2020 22:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kokoye2007 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.27 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00046.txt.bz2 Content-length: 394 https://sourceware.org/bugzilla/show_bug.cgi?id=13605 --- Comment #12 from kokoye2007 --- Created attachment 12188 --> https://sourceware.org/bugzilla/attachment.cgi?id=12188&action=edit shn_MM fix string message .diff / patch Its small fix - 2012 version vs 2020 version -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47037-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Jan 11 22:14:54 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 25052 invoked by alias); 11 Jan 2020 22:14:54 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 24969 invoked by uid 48); 11 Jan 2020 22:14:50 -0000 From: "kokoye2007 at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/13605] shn_MM: new Shan locale Date: Sat, 11 Jan 2020 22:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kokoye2007 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.27 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00047.txt.bz2 Content-length: 332 https://sourceware.org/bugzilla/show_bug.cgi?id=13605 --- Comment #13 from kokoye2007 --- Comment on attachment 12187 --> https://sourceware.org/bugzilla/attachment.cgi?id=12187 shn_MM fix string message STILL FIX -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47038-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Jan 11 23:07:22 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 123277 invoked by alias); 11 Jan 2020 23:07:22 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 121047 invoked by uid 48); 11 Jan 2020 23:07:16 -0000 From: "kokoye2007 at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/13605] shn_MM: new Shan locale Date: Sat, 11 Jan 2020 23:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: kokoye2007 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.27 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00048.txt.bz2 Content-length: 720 https://sourceware.org/bugzilla/show_bug.cgi?id=13605 kokoye2007 changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12187|0 |1 is obsolete| | Attachment #12188|0 |1 is obsolete| | --- Comment #14 from kokoye2007 --- Created attachment 12189 --> https://sourceware.org/bugzilla/attachment.cgi?id=12189&action=edit shn_MM fix string message -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47039-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Jan 12 10:11:34 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 64758 invoked by alias); 12 Jan 2020 10:11:34 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 64701 invoked by uid 55); 12 Jan 2020 10:11:30 -0000 From: "jwtiyar at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Sun, 12 Jan 2020 10:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jwtiyar at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00049.txt.bz2 Content-length: 1680 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #41 from Jwtiyar Nariman --- What we do now dear mike? On Wed, Jan 8, 2020, 20:35 maiku.fabian at gmail dot com < sourceware-bugzilla@sourceware.org> wrote: > https://sourceware.org/bugzilla/show_bug.cgi?id=9809 > > --- Comment #39 from Mike FABIAN --- > > LC_COLLATE > > % The Kurdish Sorani, Bahdini, and others dialects is mainly written > using a modified (Arabic-based alphabet) with 33 letters. > > % Unlike the regular Arabic alphabet, which is an abjad, kurdish is an > alphabet in which vowels are mandatory, making the script easy to read. > > % > > % The kurdish alphabet order is: > > % in Latin: a, b, c, ç, d, e, ê, f, g, h, i, î, j, k, l, ll, m, n, o, p, > q, r, rr, s, sh, t, u, uu, v, w, x, y, z > > % vowels: A, E, I, O, U, UU > > % > > % Copy the template from ISO/IEC 14651 > > > > order_start forward; forward > > % > > % Kurdish numeric characters. > > % > > > > You still did not base the collation on iso14651_t1. > > Your LC_COLLATE section should start like this: > > LC_COLLATE > copy "iso14651_t1" > > and then you should only reorder the characters which are not correctly > ordered already, i.e. you should only do modifications to the default > collation order comming from "iso14651_t1", *not* write everything from > scratch. > > I can try to help you with that and try to rewrite your LC_COLLATE. > > -- > You are receiving this mail because: > You are on the CC list for the bug. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47040-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 16:33:56 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 125545 invoked by alias); 13 Jan 2020 16:33:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 125301 invoked by uid 48); 13 Jan 2020 16:33:52 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 16:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00050.txt.bz2 Content-length: 296 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #42 from Mike FABIAN --- You have IGNORE in your sort order. U+0640 ARABIC TATWEEL Why IGNORE? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47041-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 16:34:12 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 127121 invoked by alias); 13 Jan 2020 16:34:12 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 127037 invoked by uid 48); 13 Jan 2020 16:34:09 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 16:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00051.txt.bz2 Content-length: 380 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |ASSIGNED -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47042-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 16:55:03 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 122550 invoked by alias); 13 Jan 2020 16:55:03 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 122275 invoked by uid 48); 13 Jan 2020 16:54:59 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 16:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00052.txt.bz2 Content-length: 421 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #43 from Mike FABIAN --- % % % Other control characters etc. upto order_end % Why do you sort control characters? These have nothing to do with the Kurdish Sorani language. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47043-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 18:03:14 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 111580 invoked by alias); 13 Jan 2020 18:03:14 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 111487 invoked by uid 48); 13 Jan 2020 18:03:06 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 18:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00053.txt.bz2 Content-length: 385 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #44 from Mike FABIAN --- Created attachment 12192 --> https://sourceware.org/bugzilla/attachment.cgi?id=12192&action=edit 0001-Add-ckb_IQ-locale.patch That is your original locale file as a patch -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47044-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 18:03:37 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 119618 invoked by alias); 13 Jan 2020 18:03:37 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 117428 invoked by uid 48); 13 Jan 2020 18:03:33 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 18:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00054.txt.bz2 Content-length: 397 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #45 from Mike FABIAN --- Created attachment 12193 --> https://sourceware.org/bugzilla/attachment.cgi?id=12193&action=edit 0002-Fix-ckb_IQ-Add-ckb_IQ-to-SUPPORTED-file-Add-ckb_IQ.U.patch My suggested changes. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47045-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 18:06:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 127711 invoked by alias); 13 Jan 2020 18:06:27 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 127500 invoked by uid 48); 13 Jan 2020 18:06:22 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 18:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00055.txt.bz2 Content-length: 2117 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #46 from Mike FABIAN --- LC_MONETARY -int_curr_symbol "" +int_curr_symbol "IQD " currency_symbol "" -mon_decimal_point "" -mon_thousands_sep "" +mon_decimal_point "." +mon_thousands_sep "," mon_grouping 3 positive_sign "" -negative_sign "" +negative_sign "-" int_frac_digits 3 frac_digits 3 p_cs_precedes 1 For everything which is ASCII, it is allowed (and preferred) to write the ASCII directly and not the code points. I.e. it is better (because more readable) to write "-" instead of "". I hope in future this will be allowed also for non-ASCII characters, at the moment it is only allowed for ASCII. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47046-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 18:11:53 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 6832 invoked by alias); 13 Jan 2020 18:11:53 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 6723 invoked by uid 48); 13 Jan 2020 18:11:49 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 18:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00056.txt.bz2 Content-length: 1628 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #47 from Mike FABIAN --- LC_MESSAGES -yesexpr "" -noexpr "" +yesexpr "^[+1yY]" +noexpr "^[-0nN]" yesstr "" nostr "" END LC_MESSAGES "yesstr" and "nostr" are the words for "yes" and "no" in your language. "yesexpr" should *not* be the same as "yesstr". "yesexpr" should be a regular expression matching single letters which could be typed as the response for "yes" when you get a prompt asking something like: "Do you want ...? (y/n)" and when you type "y" in English, this means yes. In *all* glibc locales we include +1yY to the "yesexpr" as long as this does not conflict with the language of that locale. If "y" would suggest "no" in that language we can not add it to "yesexpr" but in all other cases we add it. Similar ofr "noexpr". -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47047-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 18:14:37 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 13166 invoked by alias); 13 Jan 2020 18:14:37 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 13064 invoked by uid 48); 13 Jan 2020 18:14:32 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 18:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00057.txt.bz2 Content-length: 2914 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #48 from Mike FABIAN --- LC_ADDRESS postal_fmt "%z%c%T%s%b%e%r" -country_name "Iraq" -country_ab2 "" -country_ab3 "" -country_post "" +country_name "" +country_ab2 "IQ" +country_ab3 "IRQ" +country_post "IRQ" country_num 368 -country_car "" +country_car "IQ" +lang_name " From glibc-bugs-return-47048-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 18:19:00 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 37220 invoked by alias); 13 Jan 2020 18:19:00 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 37068 invoked by uid 48); 13 Jan 2020 18:18:55 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 18:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00058.txt.bz2 Content-length: 1487 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #49 from Mike FABIAN --- I rewrote the LC_COLLATE section to contain only the absolutely necessary stuff. Now it looks like this: LC_COLLATE % The Kurdish Sorani, Bahdini, and others dialects is mainly written using a modified (Arabic-based alphabet) with 33 letters. % Unlike the regular Arabic alphabet, which is an abjad, kurdish is an alphabet in which vowels are mandatory, making the script easy to read. % % The kurdish alphabet order is: % in Latin: a, b, c, ç, d, e, ê, f, g, h, i, î, j, k, l, ll, m, n, o, p, q, r, rr, s, sh, t, u, uu, v, w, x, y, z % vowels: A, E, I, O, U, UU % % Copy the template from ISO/IEC 14651 copy "iso14651_t1" reorder-after % ر % ڕ reorder-after % ن % و % ۆ END LC_COLLATE I.e. this sorts U+0695, U+0648, and U+06C6 differently from the default sort order. The default sort order comes from copy "iso14651_t1" You use this line to copy the default sort order and then add changes needed for your language. According to what you wrote in your locale, the 3 characters U+0695, U+0648, and U+06C6 sort differently than the default sort order for Arabic characters, all the reset sort the same as in the default sort order. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47049-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 18:21:51 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 52268 invoked by alias); 13 Jan 2020 18:21:51 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 52190 invoked by uid 48); 13 Jan 2020 18:21:47 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 18:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00059.txt.bz2 Content-length: 625 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #50 from Mike FABIAN --- If you do *not* use copy "iso14651_t1" this is bad because then almost all Unicode characters which you do not cover by your own sort order will sort incorrectly. You want a reasonable default and apply the changes for your language to that default. Of course your locale should sort Kurdish Sorani correctly, but it should not sort other characters (Cyrillic, Devanagari, ... whatever) completely silly. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47050-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 18:23:18 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 58631 invoked by alias); 13 Jan 2020 18:23:18 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 58587 invoked by uid 48); 13 Jan 2020 18:23:14 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 18:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00060.txt.bz2 Content-length: 497 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #51 from Mike FABIAN --- Your locale also sorted many control characters and ASCII punctuation characters. I think there is no reason to deviate from the default for these characters, therefore I removed them. If you have a good reason why some of these need to be sorted differently for Kurdish, please tell me. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47051-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 18:28:08 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 62662 invoked by alias); 13 Jan 2020 18:28:08 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 62598 invoked by uid 48); 13 Jan 2020 18:28:04 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 18:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00061.txt.bz2 Content-length: 649 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #52 from Mike FABIAN --- Your locale sorted the Kurdish numbers at the top, i.e. before the Western numbers. The default order (as you can see in the ckb_IQ.UTF-8.in sorting test file in my patch) sorts these in between the Western numbers. Like this: 0 ٠ 1 ١ 2 ٢ 3 ٣ 4 ٤ 5 ٥ 6 ٦ 7 ٧ 8 ٨ 9 ٩ That is reasonably good, isn’t it? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47052-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 18:34:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 68020 invoked by alias); 13 Jan 2020 18:34:27 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 67954 invoked by uid 48); 13 Jan 2020 18:34:21 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 18:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00062.txt.bz2 Content-length: 1072 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #53 from Mike FABIAN --- Your locale also resorted all the ASCII letters to make upper case letters come first. I.e. A a instead of a A Lower case first is what comes from copy "iso14651_t1" When using CLDR for sorting, one can use an option [caseFirst upper], see for example: https://github.com/unicode-org/cldr/blob/master/common/collation/da.xml glibc has no easy option to do that at the moment. It is *possible* do sort A-Za-z differently in your locale *but* if you do that you will get a weird order for all Latin characters you forget. I.e. if you do not include äÄ in your sort order as well, they would still sort lower case first. It is a lot of work to do this correctly for *all* Latin characters without a convenient option like CLDR’s [caseFirst upper], I would recommend not doing that if it is not absolutely required. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47053-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 19:43:22 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 15344 invoked by alias); 13 Jan 2020 19:43:22 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 15058 invoked by uid 48); 13 Jan 2020 19:43:18 -0000 From: "aras.noori at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 19:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: aras.noori at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00063.txt.bz2 Content-length: 1846 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #54 from Aras Noori --- (In reply to Mike FABIAN from comment #53) > Your locale also resorted all the ASCII letters to make upper case letters > come first. > > I.e. > > A > a > > instead of > > a > A > > Lower case first is what comes from > > copy "iso14651_t1" > > When using CLDR for sorting, one can use an option > [caseFirst upper], see for example: > > https://github.com/unicode-org/cldr/blob/master/common/collation/da.xml > > glibc has no easy option to do that at the moment. > > It is *possible* do sort A-Za-z differently in your locale *but* > if you do that you will get a weird order for all Latin characters you > forget. > I.e. if you do not include äÄ in your sort order as well, they would still > sort > lower case first. It is a lot of work to do this correctly for *all* Latin > characters without a convenient option like CLDR’s [caseFirst upper], > I would recommend not doing that if it is not absolutely required. Hello Fabian, thanks to your suggestions and notice. You are right with sorting (aA) as well with Numbers, this should be modified. The kurdish alphabet order is: ئ U+0626 ا U+0627 ب U+0628 پ U+067E ت U+062A ج U+062C چ U+0686 ح U+062D خ U+062E د U+062F ر U+0631 ڕ U+0695 ز U+0632 ژ U+0698 س U+0633 ش U+0634 ع U+0639 غ U+063A ف U+0641 ڤ U+06A4 ق U+0642 ک U+06A9 گ U+06AF ل U+0644 ڵ U+06B5 م U+0645 ن U+0646 و U+0648 ۆ U+06C6 ھ U+0647 ە U+06D5 ی U+06CC ێ U+06CE -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47054-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 20:20:48 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 70462 invoked by alias); 13 Jan 2020 20:20:48 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 70184 invoked by uid 48); 13 Jan 2020 20:20:42 -0000 From: "jwtiyar at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 20:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jwtiyar at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00064.txt.bz2 Content-length: 924 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #55 from Jwtiyar Nariman --- thank you mike you is really appreciated i have pointed all my answers according to your question and suggestion to our locale as follow: 1. For positive sign and negative i agree with you let it be + and - . 2. For regular expression i didn't know how to type it in my language hope to hekp me solve this. we have "ب" for Y in English and "ن" for N in English . 3.You right we type Iraq in Kurdish(Sorani) now changed. 4.We have Kurdish alphabet as Aras Noori wrote before my reply and i look at iso14651_t1 now all characters which is used in Kurdish are exist, these characters that you did add them are from Arabic language not Kurdish. Can you send the .dat file with your last changes? Best Regards -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47055-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 20:22:06 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 72633 invoked by alias); 13 Jan 2020 20:22:06 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 72570 invoked by uid 48); 13 Jan 2020 20:22:03 -0000 From: "jwtiyar at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 20:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jwtiyar at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00065.txt.bz2 Content-length: 936 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #56 from Jwtiyar Nariman --- Thank you mike you your help is really appreciated I have pointed all my answers according to your question and suggestion to our locale as follow: 1. For positive sign and negative i agree with you let it be + and - . 2. For regular expression i didn't know how to type it in my language hope to hekp me solve this. we have "ب" for Y in English and "ن" for N in English . 3.You right we type Iraq in Kurdish(Sorani) now changed. 4.We have Kurdish alphabet as Aras Noori wrote before my reply and i look at iso14651_t1 now all characters which is used in Kurdish are exist, these characters that you did add them are from Arabic language not Kurdish. Can you send the .dat file with your last changes? Best Regards -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47056-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 20:27:57 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 92021 invoked by alias); 13 Jan 2020 20:27:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 91930 invoked by uid 48); 13 Jan 2020 20:27:51 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 20:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00066.txt.bz2 Content-length: 1539 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #57 from Mike FABIAN --- > thanks to your suggestions and notice. You are right with sorting (aA) as > well with Numbers, this should be modified. So sorting a A and 0 ٠ 1 ١ ... is OK? I hope so ... > The kurdish alphabet order is: To achieve that order, this is enough: copy "iso14651_t1" reorder-after % ر % ڕ reorder-after % ن % و % ۆ I added the test file ckb_IQ.UTF-8.in in my patch, this file is sorted using the rules of my patched ckb_IQ locale, the sorted result should be the same as the original file, otherwise the test fails. As the test passes, the above collation rules work and achieve the order as in the ckb_IQ.UTF-8.in test file. I’ll paste this test file here again for your easy refererence: 0 ٠ 1 ١ 2 ٢ 3 ٣ 4 ٤ 5 ٥ 6 ٦ 7 ٧ 8 ٨ 9 ٩ a A b B c C d D e E f F g G h H i I j J k K l L m M n N o O p P q Q r R s S t T u U v V w W x X y Y z Z ئ ا ب پ ت ج چ ح خ د ر ڕ ز ژ س ش ع غ ف ڤ ق ک گ ل ڵ م ن و ۆ ه ە ی ێ Other characters not in this test file are sorted according to the defaults from copy "iso14651_t1" -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47057-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 20:34:56 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 13789 invoked by alias); 13 Jan 2020 20:34:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 13728 invoked by uid 48); 13 Jan 2020 20:34:52 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 20:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00067.txt.bz2 Content-length: 1336 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #58 from Mike FABIAN --- (In reply to Jwtiyar Nariman from comment #56) > Thank you mike you your help is really appreciated > I have pointed all my answers according to your question and suggestion to > our locale as follow: > > 1. For positive sign and negative i agree with you let it be + and - . Your original locale had the positive sign empty. Probably a mistake. So I’ll make it + now. > 2. For regular expression i didn't know how to type it in my language hope > to hekp me solve this. > we have "ب" for Y in English and "ن" for N in English . That is what I used: yesexpr "^[+1yY]" noexpr "^[-0nN]" So these regular expressions except +, 1, y, Y, and ب as a yes answer. And -, 0, n, N, and ن as a no answer. > 3.You right we type Iraq in Kurdish(Sorani) now changed. > 4.We have Kurdish alphabet as Aras Noori wrote before my reply and i look at > iso14651_t1 now all characters which is used in Kurdish are exist, these > characters that you did add them are from Arabic language not Kurdish. I don’t understand. Most of these characters are used both in Arabic *and* Kurdish. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47058-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 20:37:25 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 15365 invoked by alias); 13 Jan 2020 20:37:25 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 15316 invoked by uid 48); 13 Jan 2020 20:37:21 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 20:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00068.txt.bz2 Content-length: 463 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #59 from Mike FABIAN --- Created attachment 12194 --> https://sourceware.org/bugzilla/attachment.cgi?id=12194&action=edit ckb_IQ > Can you send the .dat file with your last changes? Here is the latest file with the changes I made. I just added the + as the positive_sign. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47059-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 20:39:05 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 16750 invoked by alias); 13 Jan 2020 20:39:05 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 16708 invoked by uid 48); 13 Jan 2020 20:39:01 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 20:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00069.txt.bz2 Content-length: 643 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12192|0 |1 is obsolete| | --- Comment #60 from Mike FABIAN --- Created attachment 12195 --> https://sourceware.org/bugzilla/attachment.cgi?id=12195&action=edit 0001-Add-ckb_IQ-locale.patch Updated patch. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47060-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 20:39:40 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 17237 invoked by alias); 13 Jan 2020 20:39:39 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 17178 invoked by uid 48); 13 Jan 2020 20:39:36 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 20:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00070.txt.bz2 Content-length: 678 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12193|0 |1 is obsolete| | --- Comment #61 from Mike FABIAN --- Created attachment 12196 --> https://sourceware.org/bugzilla/attachment.cgi?id=12196&action=edit 0002-Fix-ckb_IQ-Add-ckb_IQ-to-SUPPORTED-file-Add-ckb_IQ.U.patch Updated patch. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47061-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 20:50:03 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 62305 invoked by alias); 13 Jan 2020 20:50:02 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 62181 invoked by uid 48); 13 Jan 2020 20:49:58 -0000 From: "jwtiyar at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 20:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jwtiyar at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00071.txt.bz2 Content-length: 2220 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #62 from Jwtiyar Nariman --- (In reply to Mike FABIAN from comment #57) > > thanks to your suggestions and notice. You are right with sorting (aA) as > > well with Numbers, this should be modified. > > So sorting > > a > A > > and > > 0 > ٠ > 1 > ١ > ... > > is OK? I hope so ... > > > The kurdish alphabet order is: > > To achieve that order, this is enough: > > copy "iso14651_t1" > > reorder-after % ر > % ڕ > > reorder-after % ن > % و > % ۆ > > I added the test file ckb_IQ.UTF-8.in in my patch, this file is sorted > using the rules of my patched ckb_IQ locale, the sorted result should > be the same as the original file, otherwise the test fails. > > As the test passes, the above collation rules work and achieve the > order as in the ckb_IQ.UTF-8.in test file. > > I’ll paste this test file here again for your easy refererence: > > 0 > ٠ > 1 > ١ > 2 > ٢ > 3 > ٣ > 4 > ٤ > 5 > ٥ > 6 > ٦ > 7 > ٧ > 8 > ٨ > 9 > ٩ > a > A > b > B > c > C > d > D > e > E > f > F > g > G > h > H > i > I > j > J > k > K > l > L > m > M > n > N > o > O > p > P > q > Q > r > R > s > S > t > T > u > U > v > V > w > W > x > X > y > Y > z > Z > ئ > ا > ب > پ > ت > ج > چ > ح > خ > د > ر > ڕ > ز > ژ > س > ش > ع > غ > ف > ڤ > ق > ک > گ > ل > ڵ > م > ن > و > ۆ > ه > ە > ی > ێ > > Other characters not in this test file are sorted according to the defaults > from > > copy "iso14651_t1" Sorting is good now, but adding these reorder-after % ر > % ڕ > > reorder-after % ن > % و > % ۆ iam not understanding because for example this " % ڕ " how you order it? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47062-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 21:36:28 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 59424 invoked by alias); 13 Jan 2020 21:36:28 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 59385 invoked by uid 48); 13 Jan 2020 21:36:24 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 13 Jan 2020 21:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00072.txt.bz2 Content-length: 3254 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #63 from Mike FABIAN --- (In reply to Jwtiyar Nariman from comment #62) > > Other characters not in this test file are sorted according to the defaults > > from > > > > copy "iso14651_t1" > > Sorting is good now, but adding these > reorder-after % ر > > % ڕ > > > > reorder-after % ن > > % و > > % ۆ > iam not understanding because for example this " % ڕ " how you > order it? copy "iso14651_t1" contains copy "iso14651_t1_common" and some modifications which affect only Chinese and Japanese. So we look into the iso14651_t1_common file to see what the default sort order is. We find for example: ... % ARABIC LETTER REH % ARABIC LETTER ZAIN % ARABIC LETTER RREH % ARABIC LETTER REH WITH SMALL V % ARABIC LETTER REH WITH RING % ARABIC LETTER REH WITH DOT BELOW % ARABIC LETTER REH WITH SMALL V BELOW % ARABIC LETTER REH WITH DOT BELOW AND DOT ABOVE ... Looking at this you see that ڕ U+0695 ARABIC LETTER REH WITH SMALL V BELOW is sorted right after ڔ U+0694 ARABIC LETTER REH WITH DOT BELOW by default. That is not what you want for Kurdish. For Kurdish, you want ڕ U+0695 ARABIC LETTER REH WITH SMALL V BELOW to be sorted right after ر U+0631 ARABIC LETTER REH. This is achieved by the rule: reorder-after % ر % ڕ Which removes U+0695 from its default position in the sort order and inserts it again after U+0631. reorder-after % ن % و % ۆ does a similar thing to change the sorting of U+0648 and U+06C6. To find out which of these rules I need, I created the ckb_IQ.UTF-8.in test file first and wrote the Kurdish characters in the order you wanted into that file. Then I ran a test sort using a ckb_IQ locale which had *only* LC_COLLATE copy "iso14651_t1" END LC_COLLATE and *nothing* else. The test sort showed that only U+0695, U+0648, and U+06C6 were sorted incorrectly. All other characters from your list of Kurdish characters were sorted correctly already. So I needed only to add rules to fix the sort order for these 3 characters. You can see the same by just reading the iso14651_t1_common and find out which of the Kurdish characters are already in the correct order in that file and which are not. You have to do nothing for the characters which are already in correct order. For the characters which are in a wrong position in iso14651_t1_common, you add rules like reorder-after <... collating-symbol after which to reorder ...> <... the collating-symbol which should be reordered ...> I found writing the test file and checking which characters are sorted wrongly by default easier than staring at iso14651_t1_common. And it is a good idea to have the test file anyway to make sure that the Kurdish sort order always stays correct when something is changed in glibc. If we have the test file, we will notice when some change causes a problem. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47063-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 13 22:10:51 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 69640 invoked by alias); 13 Jan 2020 22:10:50 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 69438 invoked by uid 48); 13 Jan 2020 22:10:46 -0000 From: "tuliom at ascii dot art.br" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/20802] getauxval NULL pointer dereference after static dlopen Date: Mon, 13 Jan 2020 22:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tuliom at ascii dot art.br X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00073.txt.bz2 Content-length: 417 https://sourceware.org/bugzilla/show_bug.cgi?id=20802 Tulio Magno Quites Machado Filho changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tuliom at ascii dot art.br -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47064-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 14 03:57:36 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 116634 invoked by alias); 14 Jan 2020 03:57:36 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 116601 invoked by uid 48); 14 Jan 2020 03:57:32 -0000 From: "jiangning.liu at amperecomputing dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/25382] New: __pow_finite and similar symbols missing in libm.a Date: Tue, 14 Jan 2020 03:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jiangning.liu at amperecomputing dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00074.txt.bz2 Content-length: 935 https://sourceware.org/bugzilla/show_bug.cgi?id=25382 Bug ID: 25382 Summary: __pow_finite and similar symbols missing in libm.a Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: math Assignee: unassigned at sourceware dot org Reporter: jiangning.liu at amperecomputing dot com Target Milestone: --- Commit https://github.com/bminor/glibc/commit/220622dde5704c95a100c2792a280f18f3deba73 caused problems. 1) Before this commit, we have, $ readelf -a libm.a | grep pow_finite 29: 0000000000000000 1100 FUNC GLOBAL DEFAULT 1 __pow_finite 2) After this commit, we have $ readelf -a libm.a | grep pow_finite $ /* No symbol any longer */ This problem is causing static linking broken. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47065-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 14 03:58:47 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 121622 invoked by alias); 14 Jan 2020 03:58:47 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 117599 invoked by uid 48); 14 Jan 2020 03:58:43 -0000 From: "jiangning.liu at amperecomputing dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/25382] __pow_finite and similar symbols missing in libm.a Date: Tue, 14 Jan 2020 03:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jiangning.liu at amperecomputing dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00075.txt.bz2 Content-length: 895 https://sourceware.org/bugzilla/show_bug.cgi?id=25382 --- Comment #1 from Jiangning Liu --- Link time failure message is like, pp.o: In function `Perl_pp_sin': pp.c:(.text+0xef88): undefined reference to `__log_finite' pp.c:(.text+0xefb0): undefined reference to `__exp_finite' pp.o: In function `Perl_pp_atan2': pp.c:(.text+0xf0ec): undefined reference to `__atan2_finite' pp.o: In function `Perl_pp_pow': pp.c:(.text+0x15574): undefined reference to `__pow_finite' pp.c:(.text+0x15780): undefined reference to `__pow_finite' pp.o: In function `Perl_pp_modulo': pp.c:(.text+0x21098): undefined reference to `__fmod_finite' toke.o: In function `Perl_scan_num': toke.c:(.text+0x4ea4): undefined reference to `__exp2_finite' collect2: error: ld returned 1 exit status -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47066-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 14 05:36:20 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 115095 invoked by alias); 14 Jan 2020 05:36:20 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 115048 invoked by uid 48); 14 Jan 2020 05:36:15 -0000 From: "jwtiyar at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Tue, 14 Jan 2020 05:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jwtiyar at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00076.txt.bz2 Content-length: 3821 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #64 from Jwtiyar Nariman --- Thank you very much dear mike i got it, you made a great job, thanks again. So now every thing is ready to be accepted in glibc. Best Regards (In reply to Mike FABIAN from comment #63) > (In reply to Jwtiyar Nariman from comment #62) > > > > Other characters not in this test file are sorted according to the defaults > > > from > > > > > > copy "iso14651_t1" > > > > Sorting is good now, but adding these > > reorder-after % ر > > > % ڕ > > > > > > reorder-after % ن > > > % و > > > % ۆ > > iam not understanding because for example this " % ڕ " how you > > order it? > > copy "iso14651_t1" > > contains > > copy "iso14651_t1_common" > > and some modifications which affect only Chinese and Japanese. > > So we look into the iso14651_t1_common file to see what the default sort > order is. > > We find for example: > > ... > % ARABIC LETTER REH > % ARABIC LETTER ZAIN > % ARABIC LETTER RREH > % ARABIC LETTER REH WITH SMALL V > % ARABIC LETTER REH WITH RING > % ARABIC LETTER REH WITH DOT BELOW > % ARABIC LETTER REH WITH SMALL V BELOW > % ARABIC LETTER REH WITH DOT BELOW AND DOT ABOVE > ... > > Looking at this you see that ڕ U+0695 ARABIC LETTER REH WITH SMALL V BELOW > is sorted right after ڔ U+0694 ARABIC LETTER REH WITH DOT BELOW by default. > That is not what you want for Kurdish. For Kurdish, you want > ڕ U+0695 ARABIC LETTER REH WITH SMALL V BELOW to be sorted right after > ر U+0631 ARABIC LETTER REH. > > This is achieved by the rule: > > reorder-after % ر > % ڕ > > Which removes U+0695 from its default position in the sort order > and inserts it again after U+0631. > > reorder-after % ن > % و > % ۆ > > does a similar thing to change the sorting of U+0648 and U+06C6. > > To find out which of these rules I need, I created the ckb_IQ.UTF-8.in > test file first and wrote the Kurdish characters in the order you wanted > into that file. > > Then I ran a test sort using a ckb_IQ locale which had *only* > > LC_COLLATE > copy "iso14651_t1" > END LC_COLLATE > > and *nothing* else. > > The test sort showed that only U+0695, U+0648, and U+06C6 were sorted > incorrectly. > All other characters from your list of Kurdish characters were sorted > correctly > already. So I needed only to add rules to fix the sort order for these 3 > characters. > > You can see the same by just reading the iso14651_t1_common and find out > which > of the Kurdish characters are already in the correct order in that file and > which are not. > You have to do nothing for the characters which are already in correct order. > For the characters which are in a wrong position in iso14651_t1_common, you > add > rules like > > reorder-after <... collating-symbol after which to reorder ...> > <... the collating-symbol which should be reordered ...> > > I found writing the test file and checking which characters are sorted > wrongly by default easier than staring at iso14651_t1_common. And it > is a good idea to have the test file anyway to make sure that the > Kurdish sort order always stays correct when something is changed in > glibc. If we have the test file, we will notice when some change causes a > problem. Thank you very much dear mike i got it, you made a great job, thanks again. So now every thing is ready to be accepted in glibc. Best Regards -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47067-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 14 09:28:56 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 38521 invoked by alias); 14 Jan 2020 09:28:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 38448 invoked by uid 48); 14 Jan 2020 09:28:51 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Tue, 14 Jan 2020 09:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00077.txt.bz2 Content-length: 363 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #65 from Mike FABIAN --- Posted to the mailing list for review: https://sourceware.org/ml/libc-alpha/2020-01/msg00255.html https://sourceware.org/ml/libc-alpha/2020-01/msg00256.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47068-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 14 09:40:14 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 59963 invoked by alias); 14 Jan 2020 09:40:14 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 59900 invoked by uid 48); 14 Jan 2020 09:40:10 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug math/25382] __pow_finite and similar symbols missing in libm.a Date: Tue, 14 Jan 2020 09:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00078.txt.bz2 Content-length: 595 https://sourceware.org/bugzilla/show_bug.cgi?id=25382 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andreas Schwab --- That's correct. The functions have been moved to compat and are no longer available for linking. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47069-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 14 10:46:47 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 83982 invoked by alias); 14 Jan 2020 10:46:47 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 83925 invoked by uid 48); 14 Jan 2020 10:46:43 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Tue, 14 Jan 2020 10:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00079.txt.bz2 Content-length: 384 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #66 from Mike FABIAN --- https://github.com/mike-fabian/langtable/releases/tag/0.0.51 I added ckb_IQ.UTF-8 to langtable to make it usuable for installation on Fedora as soon as it is included in glibc. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47070-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 14 10:50:08 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 86643 invoked by alias); 14 Jan 2020 10:50:08 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 86555 invoked by uid 48); 14 Jan 2020 10:50:03 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Tue, 14 Jan 2020 10:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00080.txt.bz2 Content-length: 314 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #67 from Mike FABIAN --- By the way, how do you input Kurdish Sorani? Do you use a keyboard layout? Or do you need an input method? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47071-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 14 11:29:39 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 114922 invoked by alias); 14 Jan 2020 11:29:39 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 114877 invoked by uid 48); 14 Jan 2020 11:29:35 -0000 From: "jwtiyar at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Tue, 14 Jan 2020 11:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jwtiyar at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00081.txt.bz2 Content-length: 390 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #68 from Jwtiyar Nariman --- (In reply to Mike FABIAN from comment #67) > By the way, how do you input Kurdish Sorani? Do you use a keyboard layout? > Or do you need an input method? Yes we have and its available. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47072-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 14 11:31:51 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 118058 invoked by alias); 14 Jan 2020 11:31:50 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 118001 invoked by uid 48); 14 Jan 2020 11:31:47 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25383] New: where_is_shmfs/__shm_directory/SHM_GET_NAME may cause shm_open to pick wrong directory Date: Tue, 14 Jan 2020 11:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00082.txt.bz2 Content-length: 906 https://sourceware.org/bugzilla/show_bug.cgi?id=25383 Bug ID: 25383 Summary: where_is_shmfs/__shm_directory/SHM_GET_NAME may cause shm_open to pick wrong directory Product: glibc Version: 2.32 Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: fweimer at redhat dot com CC: drepper.fsp at gmail dot com Target Milestone: --- If /dev/shm does not exist, where_is_shmfs picks an arbitrary tmpfs mount point from /proc/mounts. It does not even check if the permissions are 1777 as expected. This wrong decision is cached and used even if /dev/shm becomes available later. I think we should hard-code /dev/shm instead. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47073-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 14 12:44:35 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 110574 invoked by alias); 14 Jan 2020 12:44:34 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 110485 invoked by uid 48); 14 Jan 2020 12:44:30 -0000 From: "jwtiyar at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Tue, 14 Jan 2020 12:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jwtiyar at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00083.txt.bz2 Content-length: 506 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #69 from Jwtiyar Nariman --- (In reply to Mike FABIAN from comment #66) > https://github.com/mike-fabian/langtable/releases/tag/0.0.51 > > I added ckb_IQ.UTF-8 to langtable to make it usuable for installation on > Fedora as soon as it is included in glibc. Our focus now is on Ubuntu because too much users in Ubuntu we have. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47074-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 14 16:58:11 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 104121 invoked by alias); 14 Jan 2020 16:58:10 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 103317 invoked by uid 48); 14 Jan 2020 16:58:06 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/25382] __pow_finite and similar symbols missing in libm.a Date: Tue, 14 Jan 2020 16:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00084.txt.bz2 Content-length: 605 https://sourceware.org/bugzilla/show_bug.cgi?id=25382 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- --- Comment #3 from Florian Weimer --- It's likely that recompiling pp.o against current glibc will fix the link error. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47075-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 15 03:26:06 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 58852 invoked by alias); 15 Jan 2020 03:26:06 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 50570 invoked by uid 48); 15 Jan 2020 03:26:02 -0000 From: "eggert at cs dot ucla.edu" To: glibc-bugs@sourceware.org Subject: [Bug time/25387] New: year 2038 bug for localtime with leap seconds and DST Date: Wed, 15 Jan 2020 03:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: time X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eggert at cs dot ucla.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00085.txt.bz2 Content-length: 2137 https://sourceware.org/bugzilla/show_bug.cgi?id=25387 Bug ID: 25387 Summary: year 2038 bug for localtime with leap seconds and DST Product: glibc Version: 2.30 Status: NEW Severity: normal Priority: P2 Component: time Assignee: unassigned at sourceware dot org Reporter: eggert at cs dot ucla.edu Target Milestone: --- Created attachment 12209 --> https://sourceware.org/bugzilla/attachment.cgi?id=12209&action=edit exercise the Y2038 leap second bug glibc localtime and related functions mishandle daylight saving time transitions calculated from the TZ string of a TZif file, if the file has leap seconds. One way to see the bug is to run the shell command: zdump -i -c 2037,2039 right/America/Los_Angeles on Fedora 31 x86-64. The output is: TZ="right/America/Los_Angeles" - - -08 PST 2037-03-08 03 -07 PDT 1 2037-11-01 01 -08 PST 2038-03-14 02:59:33 -07 PDT 1 2038-11-07 00:59:33 -08 PST The transitions are correct through the year 2037, but starting in 2038 they are off by 27 seconds (the number of leap seconds from 1972 until now). To see the bug in glibc directly, compile and run the attached program localtime-bug.c. The output is: 2152173599 - Sun Mar 14 01:59:32 2038 2152173600 - Sun Mar 14 02:59:33 2038 showing that localtime thinks the clock jumps forward at 01:59:33, whereas it should jump forward at 02:00. A similar bug appears in tzcode 2019c and earlier. I proposed a fix here: https://mm.icann.org/pipermail/tz/2020-January/028792.html and something like this fix should appear in the next tzdb release. It might also be helpful for glibc to sync to the zic.c in tzdb 2020a (whenever 2020a comes out), as this should cause zic to omit the problematic transitions from the installed TZif files. See: https://mm.icann.org/pipermail/tz/2020-January/028794.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47077-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 15 05:49:54 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 31279 invoked by alias); 15 Jan 2020 05:49:54 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 31125 invoked by uid 48); 15 Jan 2020 05:49:50 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/23960] [2.28 Regression]: New getdents{64} implementation breaks qemu-user Date: Wed, 15 Jan 2020 05:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00087.txt.bz2 Content-length: 344 https://sourceware.org/bugzilla/show_bug.cgi?id=23960 --- Comment #55 from Aladjev Andrew --- Created attachment 12211 --> https://sourceware.org/bugzilla/attachment.cgi?id=12211&action=edit getdents emulation for qemu -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47076-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 15 05:49:31 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 30562 invoked by alias); 15 Jan 2020 05:49:31 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 30401 invoked by uid 48); 15 Jan 2020 05:49:27 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/23960] [2.28 Regression]: New getdents{64} implementation breaks qemu-user Date: Wed, 15 Jan 2020 05:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00086.txt.bz2 Content-length: 345 https://sourceware.org/bugzilla/show_bug.cgi?id=23960 --- Comment #54 from Aladjev Andrew --- Created attachment 12210 --> https://sourceware.org/bugzilla/attachment.cgi?id=12210&action=edit getdents emulation for glibc -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47078-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 15 05:54:04 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 71669 invoked by alias); 15 Jan 2020 05:54:04 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 71449 invoked by uid 48); 15 Jan 2020 05:53:58 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/23960] [2.28 Regression]: New getdents{64} implementation breaks qemu-user Date: Wed, 15 Jan 2020 05:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00088.txt.bz2 Content-length: 644 https://sourceware.org/bugzilla/show_bug.cgi?id=23960 --- Comment #56 from Aladjev Andrew --- I've created 2 new patches: first one is using 0xffff (free 16 bit syscall number) for getdents emulation in glibc and second one is redirecting this syscall to x86 x32 kernel syscall. If you have "CONFIG_X86_X32=y" and "qemu_binfmt" registered in your host kernel - than you will be able to build complete image using qemu user. I've tested it using "arm-unknown-linux-gnueabi" and "mips-unknown-linux-gnu", works perfect. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47079-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 15 09:05:39 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 118604 invoked by alias); 15 Jan 2020 09:05:39 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 118527 invoked by uid 48); 15 Jan 2020 09:05:35 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 15 Jan 2020 09:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00089.txt.bz2 Content-length: 750 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12195|0 |1 is obsolete| | --- Comment #70 from Mike FABIAN --- Created attachment 12212 --> https://sourceware.org/bugzilla/attachment.cgi?id=12212&action=edit 0001-Add-new-locale-ckb_IQ-Kurdish-Sorani-spoken-in-Iraq-.patch git log message changed according to Rafał Lużyński’s review. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47080-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 15 09:06:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 119676 invoked by alias); 15 Jan 2020 09:06:48 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 119623 invoked by uid 48); 15 Jan 2020 09:06:45 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 15 Jan 2020 09:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00090.txt.bz2 Content-length: 696 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #12196|0 |1 is obsolete| | --- Comment #71 from Mike FABIAN --- Created attachment 12213 --> https://sourceware.org/bugzilla/attachment.cgi?id=12213&action=edit 0002-Fix-ckb_IQ-BZ-9809.patch Fixed according to Rafał Lużyński’s review. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47081-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 15 09:12:45 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 126998 invoked by alias); 15 Jan 2020 09:12:45 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 126913 invoked by uid 48); 15 Jan 2020 09:12:40 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 15 Jan 2020 09:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00091.txt.bz2 Content-length: 605 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #72 from Mike FABIAN --- (In reply to Mike FABIAN from comment #71) > Created attachment 12213 [details] > 0002-Fix-ckb_IQ-BZ-9809.patch > > Fixed according to Rafał Lużyński’s review. Changed to this according to Rafał Lużyński’s suggestion: d_t_fmt "%A %d %b %Y, %I:%M:%S %p" date_fmt "%A %d %B %Y, %Z %I:%M:%S %p" All otherchanges are just whitespace and formatting. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47082-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 15 09:13:32 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 127708 invoked by alias); 15 Jan 2020 09:13:32 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 127610 invoked by uid 48); 15 Jan 2020 09:13:28 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 15 Jan 2020 09:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00092.txt.bz2 Content-length: 313 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #73 from Mike FABIAN --- Rafał Lużyński’s review: https://sourceware.org/ml/libc-alpha/2020-01/msg00281.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47083-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 15 10:11:02 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 101628 invoked by alias); 15 Jan 2020 10:11:02 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 100920 invoked by uid 48); 15 Jan 2020 10:10:54 -0000 From: "aras.noori at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 15 Jan 2020 10:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: aras.noori at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00093.txt.bz2 Content-length: 429 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #74 from Aras Noori --- (In reply to Mike FABIAN from comment #73) > Rafał Lużyński’s review: > > https://sourceware.org/ml/libc-alpha/2020-01/msg00281.html Thanks to your efforts, the locale is now ripe to join to the lib. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47084-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 15 15:57:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 57985 invoked by alias); 15 Jan 2020 15:57:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 57932 invoked by uid 48); 15 Jan 2020 15:57:39 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 15 Jan 2020 15:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00094.txt.bz2 Content-length: 376 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.32 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47085-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 15 15:59:05 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 59039 invoked by alias); 15 Jan 2020 15:59:04 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 59006 invoked by uid 48); 15 Jan 2020 15:59:00 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 15 Jan 2020 15:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00095.txt.bz2 Content-length: 383 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #75 from Mike FABIAN --- We have to wait until the release of glibc 2.31: https://www.gnu.org/software/libc/ The current development version of glibc 2.31, releasing on or around February 1st, 2020. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47086-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 15 23:58:19 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 34365 invoked by alias); 15 Jan 2020 23:58:18 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 33641 invoked by uid 48); 15 Jan 2020 23:58:14 -0000 From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25396] New: [2.31 Regression] FAIL: nss/test-netdb Date: Wed, 15 Jan 2020 23:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00096.txt.bz2 Content-length: 6383 https://sourceware.org/bugzilla/show_bug.cgi?id=25396 Bug ID: 25396 Summary: [2.31 Regression] FAIL: nss/test-netdb Product: glibc Version: 2.31 Status: NEW Severity: normal Priority: P2 Component: dynamic-link Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- On Fedora 31, most of shared libraries are CET enabled. But /lib64/libnss_myhostname.so.2 isn't one of them. It depends on: linux-vdso.so.1 (0x00007ffc29b44000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f6859f61000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f6859f3f000) libc.so.6 => /lib64/libc.so.6 (0x00007f6859d76000) /lib64/ld-linux-x86-64.so.2 (0x00007f6859fb9000) On CET machine, when nss/test-netdb tries to dlopen /lib64/libnss_myhostname.so.2, it sets GL(dl_initfirst) to libpthread.so.0: Old value = (struct link_map *) 0x0 New value = (struct link_map *) 0x40e8f0 0x00007ffff7fd940a in _dl_map_object_from_fd ( name=name@entry=0x7ffff75d7ad3 "libpthread.so.0", origname=origname@entry=0x0, fd=-1, fbp=fbp@entry=0x7ffeffffbb20, realname=, loader=loader@entry=0x40df00, l_type=, mode=, stack_endp=, nsid=) at dl-load.c:1354 1354 GL(dl_initfirst) = l; (gdb) When for some reason, dl_cet_check failed and called _dl_signal_error, __GI__dl_catch_exception called _dl_close_worker which unloaded libpthread.so.0: _int_free (av=0x7ffff77c8b80 , p=0x40e8e0, have_lock=) at malloc.c:4359 4359 if (!in_smallbin_range(size)) (gdb) bt #0 _int_free (av=0x7ffff77c8b80 , p=0x40e8e0, have_lock=) at malloc.c:4359 #1 0x00007ffff7fe74bb in _dl_close_worker (force=, map=) at dl-close.c:759 #2 _dl_close_worker (map=, force=force@entry=true) at dl-close.c:135 #3 0x00007ffff7fe5b08 in _dl_open (file=, mode=, caller_dlopen=0x7ffff772a4a1 , nsid=-2, argc=2, argv=, env=0x7ffeffffcde0) at dl-open.c:874 #4 0x00007ffff7740ef1 in do_dlopen (ptr=ptr@entry=0x7ffeffffc970) at dl-libc.c:96 #5 0x00007ffff7741971 in __GI__dl_catch_exception ( exception=exception@entry=0x7ffeffffc8f0, operate=operate@entry=0x7ffff7740eb0 , args=args@entry=0x7ffeffffc970) at dl-error-skeleton.c:208 #6 0x00007ffff7741a23 in __GI__dl_catch_error ( objname=objname@entry=0x7ffeffffc950, errstring=errstring@entry=0x7ffeffffc958, mallocedp=mallocedp@entry=0x7ffeffffc94f, operate=operate@entry=0x7ffff7740eb0 , args=args@entry=0x7ffeffffc970) at dl-error-skeleton.c:227 #7 0x00007ffff7740fe7 in dlerror_run ( operate=operate@entry=0x7ffff7740eb0 , Then I got Program received signal SIGSEGV, Segmentation fault. call_init (l=0x40e8f0, argc=argc@entry=2, argv=argv@entry=0x7ffeffffcdc8, env=env@entry=0x7ffeffffcde0) at dl-init.c:39 39 if (__builtin_expect (l->l_name[0], 'a') == '\0' (gdb) p *l $34 = {l_addr = 7738135660173684588, l_name = 0x302e302e37323100 , l_ld = 0xd5d5d5d50000302e, l_next = 0x0, l_prev = 0xd5d5d5d5d5d5d5d5, l_real = 0xd5d5d5d5d5d5d5d5, l_ns = -3038287259199220267, l_libname = 0xd5d5d5d5d5d5d5d5, l_info = { 0xd5d5d5d5d5d5d5d5 }, l_phdr = 0xd5d5d5d5d5d5d5d5, l_entry = 15408456814510331349, l_phnum = 54741, l_ldnum = 54741, l_searchlist = {r_list = 0xd5d5d5d5d5d5d5d5, r_nlist = 3587560917}, l_symbolic_searchlist = {r_list = 0xd5d5d5d5d5d5d5d5, r_nlist = 3587560917}, l_loader = 0xd5d5d5d5d5d5d5d5, l_versions = 0xd5d5d5d5d5d5d5d5, l_nversions = 3587560917, l_nbuckets = 3587560917, l_gnu_bitmask_idxbits = 3587560917, l_gnu_shift = 3587560917, l_gnu_bitmask = 0xd5d5d5d5d5d5d5d5, {l_gnu_buckets = 0xd5d5d5d5d5d5d5d5, l_chain = 0xd5d5d5d5d5d5d5d5}, {l_gnu_chain_zero = 0xd5d5d5d5d5d5d5d5, l_buckets = 0xd5d5d5d5d5d5d5d5}, l_direct_opencount = 3587560917, l_type = lt_library, l_relocated = 1, l_init_called = 1, l_global = 1, l_reserved = 2, l_phdr_allocated = 1, l_soname_added = 1, l_faked = 0, l_need_tls_init = 1, l_auditing = 0, l_audit_any_plt = 1, l_removed = 0, l_contiguous = 1, l_symbolic_in_local_scope = 1, l_free_initfini = 1, l_nodelete_active = 213, l_nodelete_pending = 213, l_cet = 5, l_rpath_dirs = {dirs = 0xd5d5d5d5d5d5d5d5, malloced = -707406379}, l_reloc_result = 0xd5d5d5d5d5d5d5d5, l_versyms = 0xd5d5d5d5d5d5d5d5, l_origin = 0xd5d5d5d5d5d5d5d5 , l_map_start = 15408456814510331349, l_map_end = 15408456814510331349, l_text_end = 15408456814510331349, l_scope_mem = {0xd5d5d5d5d5d5d5d5, 0xd5d5d5d5d5d5d5d5, 0xd5d5d5d5d5d5d5d5, 0xd5d5d5d5d5d5d5d5}, l_scope_max = 15408456814510331349, l_scope = 0xd5d5d5d5d5d5d5d5, l_local_scope = {0xd5d5d5d5d5d5d5d5, 0xd5d5d5d5d5d5d5d5}, l_file_id = {dev = 15408456814510331349, ino = 15408456814510331349}, l_runpath_dirs = {dirs = 0xd5d5d5d5d5d5d5d5, malloced = -707406379}, l_initfini = 0xd5d5d5d5d5d5d5d5, l_reldeps = 0xd5d5d5d5d5d5d5d5, l_reldepsmax = 3587560917, l_used = 3587560917, l_feature_1 = 3587560917, l_flags_1 = 3587560917, l_flags = 3587560917, l_idx = -707406379, l_mach = { plt = 15408456814510331349, gotplt = 15408456814510331349, tlsdesc_table = 0x2a2a2a2a2a2a2a2a}, l_lookup_cache = {sym = 0x21, type_class = 4255008, value = 0x40ed40, ret = 0x40ed80}, l_tls_initimage = 0x21, l_tls_initimage_size = 140737345313970, -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47087-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 00:02:24 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 55261 invoked by alias); 16 Jan 2020 00:02:23 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 55202 invoked by uid 48); 16 Jan 2020 00:02:19 -0000 From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25396] [2.31 Regression] FAIL: nss/test-netdb Date: Thu, 16 Jan 2020 00:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00097.txt.bz2 Content-length: 3091 https://sourceware.org/bugzilla/show_bug.cgi?id=25396 --- Comment #1 from H.J. Lu --- Program received signal SIGSEGV, Segmentation fault. call_init (l=0x40e8f0, argc=argc@entry=2, argv=argv@entry=0x7ffeffffcdc8, env=env@entry=0x7ffeffffcde0) at dl-init.c:39 39 if (__builtin_expect (l->l_name[0], 'a') == '\0' (gdb) bt #0 call_init (l=0x40e8f0, argc=argc@entry=2, argv=argv@entry=0x7ffeffffcdc8, env=env@entry=0x7ffeffffcde0) at dl-init.c:39 #1 0x00007ffff7fe22c6 in call_init (env=0x7ffeffffcde0, argv=0x7ffeffffcdc8, argc=2, l=) at dl-init.c:86 #2 _dl_init (main_map=0x40fca0, argc=2, argv=0x7ffeffffcdc8, env=0x7ffeffffcde0) at dl-init.c:86 #3 0x00007ffff77419bd in __GI__dl_catch_exception (exception=, operate=, args=) at dl-error-skeleton.c:182 #4 0x00007ffff7fe6198 in dl_open_worker (a=a@entry=0x7ffeffffc7e0) at dl-open.c:758 #5 0x00007ffff7741971 in __GI__dl_catch_exception (exception=, operate=, args=) at dl-error-skeleton.c:208 #6 0x00007ffff7fe5a1e in _dl_open (file=0x7ffeffffca50 "libnss_sss.so.2", mode=-2147483646, caller_dlopen=0x7ffff772a4a1 , nsid=-2, argc=2, argv=, env=0x7ffeffffcde0) at dl-open.c:837 #7 0x00007ffff7740ef1 in do_dlopen (ptr=ptr@entry=0x7ffeffffca20) at dl-libc.c:96 #8 0x00007ffff7741971 in __GI__dl_catch_exception ( exception=exception@entry=0x7ffeffffc9a0, operate=operate@entry=0x7ffff7740eb0 , args=args@entry=0x7ffeffffca20) at dl-error-skeleton.c:208 #9 0x00007ffff7741a23 in __GI__dl_catch_error ( objname=objname@entry=0x7ffeffffca00, errstring=errstring@entry=0x7ffeffffca08, mallocedp=mallocedp@entry=0x7ffeffffc9ff, operate=operate@entry=0x7ffff7740eb0 , args=args@entry=0x7ffeffffca20) at dl-error-skeleton.c:227 #10 0x00007ffff7740fe7 in dlerror_run ( operate=operate@entry=0x7ffff7740eb0 , args=args@entry=0x7ffeffffca20) at dl-libc.c:46 #11 0x00007ffff774105a in __GI___libc_dlopen_mode ( name=name@entry=0x7ffeffffca50 "libnss_sss.so.2", mode=mode@entry=-2147483646) at dl-libc.c:195 #12 0x00007ffff772a4a1 in nss_load_library (ni=ni@entry=0x409d90) at nsswitch.c:359 #13 0x00007ffff772acd9 in __GI___nss_lookup_function (ni=0x409d90, fct_name=, fct_name@entry=0x7ffff7795d0b "getservbyname_r") at nsswitch.c:456 --Type for more, q to quit, c to continue without paging--q Quit (gdb) f 1 #1 0x00007ffff7fe22c6 in call_init (env=0x7ffeffffcde0, argv=0x7ffeffffcdc8, argc=2, l=) at dl-init.c:86 86 call_init (GL(dl_initfirst), argc, argv, env); (gdb) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47088-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 01:46:04 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 62115 invoked by alias); 16 Jan 2020 01:46:04 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 61959 invoked by uid 48); 16 Jan 2020 01:45:51 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25396] [2.31 Regression] FAIL: nss/test-netdb Date: Thu, 16 Jan 2020 01:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00098.txt.bz2 Content-length: 615 https://sourceware.org/bugzilla/show_bug.cgi?id=25396 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlos at redhat dot com, | |fweimer at redhat dot com --- Comment #2 from Carlos O'Donell --- Florian, Do you think this might have to do with the NODELETE reordering? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47089-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 03:43:53 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 109996 invoked by alias); 16 Jan 2020 03:43:53 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 102771 invoked by uid 48); 16 Jan 2020 03:43:48 -0000 From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25396] [2.31 Regression] FAIL: nss/test-netdb Date: Thu, 16 Jan 2020 03:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00099.txt.bz2 Content-length: 940 https://sourceware.org/bugzilla/show_bug.cgi?id=25396 --- Comment #3 from H.J. Lu --- There is /* Remember whether this object must be initialized first. */ if (l->l_flags_1 & DF_1_INITFIRST) GL(dl_initfirst) = l; libpthread.so.0 has 0x000000006ffffffb (FLAGS_1) Flags: NOW NODELETE INITFIRST _dl_close_worker unloaded libpthread.so.0 which left GL(dl_initfirst) unchanged. This patch: diff --git a/elf/dl-close.c b/elf/dl-close.c index 104c299209..2d426d8737 100644 --- a/elf/dl-close.c +++ b/elf/dl-close.c @@ -756,6 +756,9 @@ _dl_close_worker (struct link_map *map, bool force) if (imap->l_runpath_dirs.dirs != (void *) -1) free (imap->l_runpath_dirs.dirs); + if (imap == GL(dl_initfirst)) + GL(dl_initfirst) = NULL; + free (imap); } } seems to work. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47091-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 04:34:46 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 12338 invoked by alias); 16 Jan 2020 04:34:45 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 12306 invoked by uid 48); 16 Jan 2020 04:34:41 -0000 From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25397] Legacy bitmap isn't freed when shadow stack is enabled Date: Thu, 16 Jan 2020 04:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00101.txt.bz2 Content-length: 518 https://sourceware.org/bugzilla/show_bug.cgi?id=25397 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Legacy bitmap isn't freed |Legacy bitmap isn't freed |when |when shadow stack is | |enabled -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47090-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 04:34:24 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 11823 invoked by alias); 16 Jan 2020 04:34:24 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 11673 invoked by uid 48); 16 Jan 2020 04:34:20 -0000 From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25397] New: Legacy bitmap isn't freed when Date: Thu, 16 Jan 2020 04:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00100.txt.bz2 Content-length: 806 https://sourceware.org/bugzilla/show_bug.cgi?id=25397 Bug ID: 25397 Summary: Legacy bitmap isn't freed when Product: glibc Version: 2.31 Status: NEW Severity: normal Priority: P2 Component: dynamic-link Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- When CET is enabled, during dlopen, dl_cet_check does: 1. Allocate legacy bitmap for each legacy DSO. 2. If SHSTK is enabled, call _dl_signal_error if there is a legacy DSO. But legacy bitmap for legacy DSOs is never cleared. We need to clear legacy bitmap for legacy DSOs before calling _dl_signal_error. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47092-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 08:19:08 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 119129 invoked by alias); 16 Jan 2020 08:19:07 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 119047 invoked by uid 48); 16 Jan 2020 08:19:03 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25396] [2.31 Regression] FAIL: nss/test-netdb Date: Thu, 16 Jan 2020 08:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00102.txt.bz2 Content-length: 340 https://sourceware.org/bugzilla/show_bug.cgi?id=25396 --- Comment #4 from Florian Weimer --- Thanks. Would you please post the patch to libc-alpha? I think it is correct. I will post my non-CET test case for this separately. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47093-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 10:41:44 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 126147 invoked by alias); 16 Jan 2020 10:41:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 125536 invoked by uid 48); 16 Jan 2020 10:41:38 -0000 From: "sguelton at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug string/25399] New: undefined reference to `__warn_memset_zero_len' when changing gnuc version Date: Thu, 16 Jan 2020 10:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: string X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sguelton at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00103.txt.bz2 Content-length: 2126 https://sourceware.org/bugzilla/show_bug.cgi?id=25399 Bug ID: 25399 Summary: undefined reference to `__warn_memset_zero_len' when changing gnuc version Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: string Assignee: unassigned at sourceware dot org Reporter: sguelton at redhat dot com Target Milestone: --- When compiling the following program ``` #undef __GNUC__ #define __GNUC__ 4 #undef __GNUC_MINOR__ #define __GNUC_MINOR__ 9 #include char a[64]; int main () { memset (a, 64, 0); return 0; } ``` with a decent gcc version (8.3) and glibc version (2.28), I get a link error ``` gcc a.c -D_FORTIFY_SOURCE=2 -O2 In file included from /usr/include/string.h:494, from a.c:6: In function ‘memset’, inlined from ‘main’ at a.c:10:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:67:7: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters __warn_memset_zero_len (); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/cc7RDLx1.o: in function `main': a.c:(.text.startup+0x5): undefined reference to `__warn_memset_zero_len' collect2: error: ld returned 1 exit status ``` No link error if I don't force the __GNUC__ and __GNUC_MINOR__. I've checked the source of glibc-2.30, and the problem seems related to ``` #if !__GNUC_PREREQ (5,0) __warndecl (__warn_memset_zero_len, "memset used with constant zero length parameter; this could be due to transposed parameters"); #endif ``` while `__warn_memset_zero_len` is not defined elsewhere. In addition to binding glibc to some gcc version, it is also a problem for non-gcc compilers, like clang, which set GNU C version to 3.2 by default (see for instance https://reviews.llvm.org/D71082#1822925) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47094-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 10:42:39 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 127005 invoked by alias); 16 Jan 2020 10:42:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 126952 invoked by uid 48); 16 Jan 2020 10:42:34 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug string/25399] undefined reference to `__warn_memset_zero_len' when changing gnuc version Date: Thu, 16 Jan 2020 10:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: string X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00104.txt.bz2 Content-length: 397 https://sourceware.org/bugzilla/show_bug.cgi?id=25399 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47095-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 13:39:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 110873 invoked by alias); 16 Jan 2020 13:39:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 110816 invoked by uid 48); 16 Jan 2020 13:39:39 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25396] Failing dlopen can leave behind dangling GL (dl_initfirst) link map pointer Date: Thu, 16 Jan 2020 13:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: short_desc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00105.txt.bz2 Content-length: 653 https://sourceware.org/bugzilla/show_bug.cgi?id=25396 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[2.31 Regression] FAIL: |Failing dlopen can leave |nss/test-netdb |behind dangling GL | |(dl_initfirst) link map | |pointer Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47096-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 14:53:22 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 69950 invoked by alias); 16 Jan 2020 14:53:21 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 69890 invoked by uid 48); 16 Jan 2020 14:53:13 -0000 From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25396] Failing dlopen can leave behind dangling GL (dl_initfirst) link map pointer Date: Thu, 16 Jan 2020 14:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00106.txt.bz2 Content-length: 447 https://sourceware.org/bugzilla/show_bug.cgi?id=25396 --- Comment #5 from H.J. Lu --- (In reply to Florian Weimer from comment #4) > Thanks. Would you please post the patch to libc-alpha? I think it is > correct. > > I will post my non-CET test case for this separately. https://sourceware.org/ml/libc-alpha/2020-01/msg00333.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47097-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 15:49:26 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 31093 invoked by alias); 16 Jan 2020 15:49:15 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 31022 invoked by uid 48); 16 Jan 2020 15:49:10 -0000 From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25396] Failing dlopen can leave behind dangling GL (dl_initfirst) link map pointer Date: Thu, 16 Jan 2020 15:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00107.txt.bz2 Content-length: 921 https://sourceware.org/bugzilla/show_bug.cgi?id=25396 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.31 --- Comment #6 from H.J. Lu --- Fixed by commit 5177d85b0c050a2333a0c4165c938dd422013d05 Author: H.J. Lu Date: Thu Jan 16 06:45:36 2020 -0800 Clear GL(dl_initfirst) when freeing its link_map memory [BZ# 25396] We should clear GL(dl_initfirst) when freeing its link_map memory. Tested on Fedora 31/x86-64 with CET. Reviewed-by: Florian Weimer -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47098-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 16:11:13 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 78495 invoked by alias); 16 Jan 2020 16:11:05 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 78329 invoked by uid 55); 16 Jan 2020 16:11:00 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25396] Failing dlopen can leave behind dangling GL (dl_initfirst) link map pointer Date: Thu, 16 Jan 2020 16:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00108.txt.bz2 Content-length: 1072 https://sourceware.org/bugzilla/show_bug.cgi?id=25396 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a332bd1518af518c984fad73eba6f46dc5b2b2d4 commit a332bd1518af518c984fad73eba6f46dc5b2b2d4 Author: Florian Weimer Date: Thu Jan 16 16:53:58 2020 +0100 elf: Add elf/tst-dlopenfail-2 [BZ #25396] Without CET, a jump into a newly loaded object through an overwritten link map often does not crash, it just executes some random code. CET detects this in some cases because the function pointer does not point to the start of a function in the replacement shared object, so there is no ENDBR instruction. The new test uses a small shared object and the existing dangling link map to trigger the bug. Reviewed-by: Siddhesh Poyarekar -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47099-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 17:25:04 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 70954 invoked by alias); 16 Jan 2020 17:25:03 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 70334 invoked by uid 48); 16 Jan 2020 17:24:51 -0000 From: "jakub at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug string/25399] undefined reference to `__warn_memset_zero_len' when changing gnuc version Date: Thu, 16 Jan 2020 17:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: string X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00109.txt.bz2 Content-length: 587 https://sourceware.org/bugzilla/show_bug.cgi?id=25399 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at redhat dot com --- Comment #1 from Jakub Jelinek --- debug/warning-nop.c should provide those symbols in libc.a (and libc_nonshared.a ?), but for some reason it doesn't work anymore. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47100-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 17:49:16 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 29033 invoked by alias); 16 Jan 2020 17:49:15 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 29001 invoked by uid 48); 16 Jan 2020 17:49:11 -0000 From: "jakub at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25401] New: pvalloc must not have __attribute_alloc_size__ Date: Thu, 16 Jan 2020 17:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00110.txt.bz2 Content-length: 819 https://sourceware.org/bugzilla/show_bug.cgi?id=25401 Bug ID: 25401 Summary: pvalloc must not have __attribute_alloc_size__ Product: glibc Version: 2.32 Status: NEW Severity: normal Priority: P2 Component: malloc Assignee: unassigned at sourceware dot org Reporter: jakub at redhat dot com Target Milestone: --- The 9bf8e29ca136094f73f69f725f15c51facc97206 change has incorrectly added __attribute_alloc_size__ ((1)) . That means that it allocates as many bytes as the first argument says, but that is not the case, it allocates that many bytes rounded up to multiple of page. This breaks gcc g++.dg/asan/asan_test.C test. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47101-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 18:03:11 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 60345 invoked by alias); 16 Jan 2020 18:03:11 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 60294 invoked by uid 48); 16 Jan 2020 18:03:06 -0000 From: "jakub at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25401] pvalloc must not have __attribute_alloc_size__ Date: Thu, 16 Jan 2020 18:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00111.txt.bz2 Content-length: 1007 https://sourceware.org/bugzilla/show_bug.cgi?id=25401 --- Comment #1 from Jakub Jelinek --- Short example can be something like: #include #include char *q; int main () { char *p = (char *) pvalloc (5); if (p == NULL) return 0; memcpy (p, "abcdefgh", 8); q = p; return 0; } with gcc trunk -O2 -W -Wall: /tmp/1.c: In function ‘main’: /tmp/1.c:12:3: warning: ‘memcpy’ writing 8 bytes into a region of size 5 [-Wstringop-overflow=] 12 | memcpy (p, "abcdefgh", 8); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/1.c:9:22: note: at offset 0 to an object with size 5 allocated by ‘pvalloc’ here 9 | char *p = (char *) pvalloc (5); | ^~~~~~~~~~~ is reported, although the program is valid (well, relies on pagesize at least 8 bytes, which is quite reasonable assumption). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47102-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 18:21:46 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 116877 invoked by alias); 16 Jan 2020 18:21:45 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 116758 invoked by uid 48); 16 Jan 2020 18:21:40 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug string/25399] undefined reference to `__warn_memset_zero_len' when changing gnuc version Date: Thu, 16 Jan 2020 18:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: string X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00112.txt.bz2 Content-length: 326 https://sourceware.org/bugzilla/show_bug.cgi?id=25399 --- Comment #2 from Andreas Schwab --- When glibc is compiled with GCC >= 5 the __warndecl in is compiled out, so debug/warning-nop.c gets empty. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47103-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 16 18:27:33 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 71700 invoked by alias); 16 Jan 2020 18:27:32 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 66901 invoked by uid 48); 16 Jan 2020 18:27:27 -0000 From: "jakub at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug string/25399] undefined reference to `__warn_memset_zero_len' when changing gnuc version Date: Thu, 16 Jan 2020 18:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: string X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00113.txt.bz2 Content-length: 572 https://sourceware.org/bugzilla/show_bug.cgi?id=25399 --- Comment #3 from Jakub Jelinek --- Indeed, that's it. So perhaps we need: /* Pretend compilation with GCC 4.9 if compiled by GCC >= 5, so that __warndecl are not skipped. */ #if __GNUC_PREREQ (5, 0) #undef __GNUC__ #define __GNUC__ 4 #undef __GNUC_MINOR__ #define __GNUC_MINOR__ 9 #endif (or instead of __GNUC_PREREQ the longer check and do this before including the first header in warning-nop.c). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47104-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 09:49:39 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 60216 invoked by alias); 17 Jan 2020 09:49:37 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 60192 invoked by uid 48); 17 Jan 2020 09:49:33 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/1890] strerror() unnecessarily non thread-safe Date: Fri, 17 Jan 2020 09:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.3.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00114.txt.bz2 Content-length: 574 https://sourceware.org/bugzilla/show_bug.cgi?id=1890 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2020-01-17 Assignee|drepper.fsp at gmail dot com |fweimer at redhat dot com Ever confirmed|0 |1 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47105-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 09:50:46 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 62152 invoked by alias); 17 Jan 2020 09:50:46 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 61460 invoked by uid 48); 17 Jan 2020 09:50:40 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25401] pvalloc must not have __attribute_alloc_size__ Date: Fri, 17 Jan 2020 09:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc assigned_to flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00115.txt.bz2 Content-length: 598 https://sourceware.org/bugzilla/show_bug.cgi?id=25401 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |fweimer at redhat dot com Assignee|unassigned at sourceware dot org |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47106-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 12:39:56 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 108034 invoked by alias); 17 Jan 2020 12:39:54 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 107967 invoked by uid 55); 17 Jan 2020 12:39:50 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/20802] getauxval NULL pointer dereference after static dlopen Date: Fri, 17 Jan 2020 12:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00116.txt.bz2 Content-length: 813 https://sourceware.org/bugzilla/show_bug.cgi?id=20802 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tulio Magno Quites Machado Filho : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c908ae0492cb9c68736306e2bceec7244a940568 commit c908ae0492cb9c68736306e2bceec7244a940568 Author: Tulio Magno Quites Machado Filho Date: Fri Jan 10 19:14:56 2020 -0300 powerpc: Initialize rtld_global_ro for static dlopen [BZ #20802] Initialize dl_auxv, dl_hwcap and dl_hwcap2 in rtld_global_ro for DSOs that have been statically dlopen'ed. Reviewed-by: Carlos O'Donell -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47111-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 14:02:53 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 88483 invoked by alias); 17 Jan 2020 14:02:52 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 88397 invoked by uid 55); 17 Jan 2020 14:02:48 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/24899] Missing nonstring attributes in , Date: Fri, 17 Jan 2020 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00121.txt.bz2 Content-length: 1004 https://sourceware.org/bugzilla/show_bug.cgi?id=24899 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The release/2.30/master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=85da102c52517a9bfb0253f7ba65b2ddb893519c commit 85da102c52517a9bfb0253f7ba65b2ddb893519c Author: Florian Weimer Date: Thu Aug 15 16:09:43 2019 +0200 login: Add nonstring attributes to struct utmp, struct utmpx [BZ #24899] Commit 7532837d7b03b3ca5b9a63d77a5bd81dd23f3d9c ("The -Wstringop-truncation option new in GCC 8 detects common misuses") added __attribute_nonstring__ to bits/utmp.h, but it did not update the parallel bits/utmpx.h header. In struct utmp, the nonstring attribute for ut_id was missing. (cherry picked from commit c2adefbafcdd2519ff43eca6891c77cd7b29ab62) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47108-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 14:02:23 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 86630 invoked by alias); 17 Jan 2020 14:02:22 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 86437 invoked by uid 55); 17 Jan 2020 14:02:18 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/24879] login: utmp alarm timer can arrive after lock acquisition Date: Fri, 17 Jan 2020 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00118.txt.bz2 Content-length: 1032 https://sourceware.org/bugzilla/show_bug.cgi?id=24879 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The release/2.30/master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8baeebad9aa6eca0eba028a9c95cd0867b37aa2d commit 8baeebad9aa6eca0eba028a9c95cd0867b37aa2d Author: Florian Weimer Date: Thu Aug 15 16:09:05 2019 +0200 login: Disarm timer after utmp lock acquisition [BZ #24879] If the file processing takes a long time for some reason, SIGALRM can arrive while the file is still being processed. At that point, file access will fail with EINTR. Disarming the timer after lock acquisition avoids that. (If there was a previous alarm, it is the responsibility of the caller to deal with the EINTR error.) (cherry picked from commit 628598be7e1bfaa04f34df71ef6678f2c5103dfd) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47112-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 14:02:59 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 88794 invoked by alias); 17 Jan 2020 14:02:58 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 88672 invoked by uid 55); 17 Jan 2020 14:02:54 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/24882] login: pututline uses potentially outdated cache Date: Fri, 17 Jan 2020 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00122.txt.bz2 Content-length: 1137 https://sourceware.org/bugzilla/show_bug.cgi?id=24882 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The release/2.30/master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=83f793e6a63c4bdd1b2f39618040a8317562a1f7 commit 83f793e6a63c4bdd1b2f39618040a8317562a1f7 Author: Florian Weimer Date: Thu Nov 7 18:15:18 2019 +0100 login: Acquire write lock early in pututline [BZ #24882] It has been reported that due to lack of fairness in POSIX file locking, the current reader-to-writer lock upgrade can result in lack of forward progress. Acquiring the write lock directly hopefully avoids this issue if there are only writers. This also fixes bug 24882 due to the cache revalidation in __libc_pututline. Reviewed-by: Carlos O'Donell Change-Id: I57e31ae30719e609a53505a0924dda101d46372e (cherry picked from commit be6b16d975683e6cca57852cd4cfe715b2a9d8b1) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47109-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 14:02:30 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 87269 invoked by alias); 17 Jan 2020 14:02:29 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 86954 invoked by uid 55); 17 Jan 2020 14:02:25 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/24880] login: utmp implementation uses struct flock with fcntl64 Date: Fri, 17 Jan 2020 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00119.txt.bz2 Content-length: 944 https://sourceware.org/bugzilla/show_bug.cgi?id=24880 --- Comment #5 from cvs-commit at gcc dot gnu.org --- The release/2.30/master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=dbbd748c5f69a2fb4d5d305df2ce15b9e69a46ef commit dbbd748c5f69a2fb4d5d305df2ce15b9e69a46ef Author: Florian Weimer Date: Thu Aug 15 16:09:20 2019 +0200 login: Use struct flock64 in utmp [BZ #24880] Commit 06ab719d30b01da401150068054d3b8ea93dd12f ("Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251)") introduced the use of fcntl64 into the utmp implementation. However, the lock file structure was not updated to struct flock64 at that point. (cherry picked from commit 0d5b2917530ccaf8ad312dfbb7bce69d569c23ad) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47110-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 14:02:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 88087 invoked by alias); 17 Jan 2020 14:02:42 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 87814 invoked by uid 55); 17 Jan 2020 14:02:37 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/24902] login: Repeating pututxline on EINTR/EAGAIN causes stale utmp entries Date: Fri, 17 Jan 2020 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00120.txt.bz2 Content-length: 1455 https://sourceware.org/bugzilla/show_bug.cgi?id=24902 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The release/2.30/master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f0cd1cfbe37eed659df75cad3b5a58ad386d0fe6 commit f0cd1cfbe37eed659df75cad3b5a58ad386d0fe6 Author: Florian Weimer Date: Wed Aug 28 11:59:45 2019 +0200 login: pututxline could fail to overwrite existing entries [BZ #24902] The internal_getut_r function updates the file_offset variable and therefore must always update last_entry as well. Previously, if pututxline could not upgrade the read lock to a write lock, internal_getut_r would update file_offset only, without updating last_entry, and a subsequent call would not overwrite the existing utmpx entry at file_offset, instead creating a new entry. This has been observed to cause unbounded file growth in high-load situations. This commit removes the buffer argument to internal_getut_r and updates the last_entry variable directly, along with file_offset. Initially reported and fixed by Ondřej Lysoněk. Reviewed-by: Gabriel F. T. Gomes (cherry picked from commit 61d3db428176d9d0822e4e680305fe34285edff2) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47107-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 14:02:11 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 85700 invoked by alias); 17 Jan 2020 14:02:10 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 85338 invoked by uid 55); 17 Jan 2020 14:01:59 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/23518] Eliminate __libc_utmp_jump_table Date: Fri, 17 Jan 2020 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00117.txt.bz2 Content-length: 910 https://sourceware.org/bugzilla/show_bug.cgi?id=23518 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The release/2.30/master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b90aefd4ac44e9353d45170282c01f0bfdeeaf1c commit b90aefd4ac44e9353d45170282c01f0bfdeeaf1c Author: Florian Weimer Date: Mon Aug 5 15:54:10 2019 +0200 login: Remove utmp backend jump tables [BZ #23518] There is just one file-based implementation, so this dispatch mechanism is unnecessary. Instead of the vtable pointer __libc_utmp_jump_table, use a non-negative file_fd as the indicator that the backend is initialized. (cherry picked from commit 1a7fe2ebe52b3c8bf465d1756e69452d05c1c103) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47113-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 14:03:04 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 89110 invoked by alias); 17 Jan 2020 14:03:03 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 88811 invoked by uid 55); 17 Jan 2020 14:02:59 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/24882] login: pututline uses potentially outdated cache Date: Fri, 17 Jan 2020 14:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00123.txt.bz2 Content-length: 1075 https://sourceware.org/bugzilla/show_bug.cgi?id=24882 --- Comment #5 from cvs-commit at gcc dot gnu.org --- The release/2.30/master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=dfa1f9fe0df169cd099a6f5cc0c43ccdd73590d0 commit dfa1f9fe0df169cd099a6f5cc0c43ccdd73590d0 Author: Florian Weimer Date: Tue Nov 12 12:02:57 2019 +0100 login: Introduce matches_last_entry to utmp processing This simplifies internal_getut_nolock and fixes a regression, introduced in commit be6b16d975683e6cca57852cd4cfe715b2a9d8b1 ("login: Acquire write lock early in pututline [BZ #24882]") in pututxline because __utmp_equal can only compare process-related utmp entries. Fixes: be6b16d975683e6cca57852cd4cfe715b2a9d8b1 Change-Id: Ib8a85002f7f87ee41590846d16d7e52bdb82f5a5 (cherry picked from commit 76a7c103eb9060f9e3ba01d073ae4621a17d8b46) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47114-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 14:06:50 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 96498 invoked by alias); 17 Jan 2020 14:06:50 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 96421 invoked by uid 55); 17 Jan 2020 14:06:45 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25401] pvalloc must not have __attribute_alloc_size__ Date: Fri, 17 Jan 2020 14:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00124.txt.bz2 Content-length: 1105 https://sourceware.org/bugzilla/show_bug.cgi?id=25401 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=768c83b7f60d82db6677e19dc51be9f341e0f3fc commit 768c83b7f60d82db6677e19dc51be9f341e0f3fc Author: Florian Weimer Date: Fri Jan 17 15:05:34 2020 +0100 Remove incorrect alloc_size attribute from pvalloc [BZ #25401] pvalloc is guarantueed to round up the allocation size to the page size, so applications can assume that the memory region is larger than the passed-in argument. The alloc_size attribute cannot express that. The test case is based on a suggestion from Jakub Jelinek. This fixes commit 9bf8e29ca136094f73f69f725f15c51facc97206 ("malloc: make malloc fail with requests larger than PTRDIFF_MAX (BZ#23741)"). Reviewed-by: Adhemerval Zanella -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47115-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 14:09:44 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 105575 invoked by alias); 17 Jan 2020 14:09:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 105484 invoked by uid 48); 17 Jan 2020 14:09:39 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25401] pvalloc must not have __attribute_alloc_size__ Date: Fri, 17 Jan 2020 14:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00125.txt.bz2 Content-length: 579 https://sourceware.org/bugzilla/show_bug.cgi?id=25401 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.31 --- Comment #3 from Florian Weimer --- Fixed for glibc 2.31. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47116-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 14:09:59 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 105968 invoked by alias); 17 Jan 2020 14:09:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 105900 invoked by uid 48); 17 Jan 2020 14:09:53 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25397] Legacy bitmap isn't freed when shadow stack is enabled Date: Fri, 17 Jan 2020 14:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00126.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=25397 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47117-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 14:12:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 110315 invoked by alias); 17 Jan 2020 14:12:15 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 110027 invoked by uid 55); 17 Jan 2020 14:12:09 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25401] pvalloc must not have __attribute_alloc_size__ Date: Fri, 17 Jan 2020 14:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00127.txt.bz2 Content-length: 1191 https://sourceware.org/bugzilla/show_bug.cgi?id=25401 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The release/2.30/master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=994e529a37953a057b9e6c80afa03b03fd3724f2 commit 994e529a37953a057b9e6c80afa03b03fd3724f2 Author: Florian Weimer Date: Fri Jan 17 15:11:20 2020 +0100 Remove incorrect alloc_size attribute from pvalloc [BZ #25401] pvalloc is guarantueed to round up the allocation size to the page size, so applications can assume that the memory region is larger than the passed-in argument. The alloc_size attribute cannot express that. The test case is based on a suggestion from Jakub Jelinek. This fixes commit 9bf8e29ca136094f73f69f725f15c51facc97206 ("malloc: make malloc fail with requests larger than PTRDIFF_MAX (BZ#23741)"). Reviewed-by: Adhemerval Zanella (cherry picked from commit 768c83b7f60d82db6677e19dc51be9f341e0f3fc) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47118-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 14:51:22 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 8467 invoked by alias); 17 Jan 2020 14:51:21 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 8395 invoked by uid 48); 17 Jan 2020 14:51:17 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/12154] Cannot resolve hosts which have wildcard aliases Date: Fri, 17 Jan 2020 14:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00128.txt.bz2 Content-length: 464 https://sourceware.org/bugzilla/show_bug.cgi?id=12154 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at sourceware dot org |fweimer at redhat dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47119-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 16:06:44 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 40135 invoked by alias); 17 Jan 2020 16:06:44 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 40083 invoked by uid 48); 17 Jan 2020 16:06:39 -0000 From: "erick.ochoa@theobroma-systems.com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25413] New: VDSO not setup before `_dl_non_dynamic_init` Date: Fri, 17 Jan 2020 16:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.29 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: erick.ochoa@theobroma-systems.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00129.txt.bz2 Content-length: 5729 https://sourceware.org/bugzilla/show_bug.cgi?id=25413 Bug ID: 25413 Summary: VDSO not setup before `_dl_non_dynamic_init` Product: glibc Version: 2.29 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: erick.ochoa@theobroma-systems.com CC: drepper.fsp at gmail dot com Target Milestone: --- Created attachment 12217 --> https://sourceware.org/bugzilla/attachment.cgi?id=12217&action=edit Possible fix Hello, jemalloc [0] is a malloc alternative that makes calls to `clock_gettime` in order to do memory profiling (and possibly other reasons). This means that uses of malloc [1] which happen before VDSO is setup will access invalid memory. [0] https://github.com/jemalloc/jemalloc [1] such as the ones in _dl_get_origin and _dl_new_object ### Minimal error ```bash [eochoa@osprey1 temp]$ cat a.c #include int main( int argc, char **argv ) { malloc(0); } [eochoa@osprey1 temp]$ gcc -O0 -g a.c -ljemalloc -lpthread -static [eochoa@osprey1 temp]$ ./a.out Bus error (core dumped) ``` Please make sure * you are running on an aarch64 machine * and that either glibc 2.29 is installed or you are linking against glibc 2.29 like so: ``` [eochoa@osprey1 temp]$ gcc -O0 -g a.c -ljemalloc -lpthread -static /path/to/libc.a ``` ### Stack trace Using gdb, I found the stack trace when SIGBUS was sent. Two interesting things to note is that the error is triggered when `__clock_gettime` is called and very early during the program, during `__libc_init_first` . ``` #0 0x5efaf6adad3c47c6 in ?? () #1 0x00000000004cb914 in __clock_gettime (clock_id=6, tp=0xffffffffc400) at ../sysdeps/unix/sysv/linux/clock_gettime.c:33 #2 0x0000000000470b6c in nstime_get (time=0xffff80006b80) at src/nstime.c:119 #3 0x0000000000470bb8 in nstime_update_impl (time=0xffff80006b80) at src/nstime.c:160 #4 0x000000000042238c in arena_decay_reinit (decay=0xffff80006ab8, decay_ms=10000) at src/arena.c:672 #5 0x00000000004224b0 in arena_decay_init (decay=0xffff80006ab8, decay_ms=10000, stats=0xffff80000df0) at src/arena.c:693 #6 0x0000000000426298 in je_arena_new (tsdn=0x0, ind=0, extent_hooks=0x508200 ) at src/arena.c:2043 #7 0x0000000000409fec in arena_init_locked (tsdn=0x0, ind=0, extent_hooks=0x508200 ) at src/jemalloc.c:340 #8 0x000000000040a0b0 in je_arena_init (tsdn=0x0, ind=0, extent_hooks=0x508200 ) at src/jemalloc.c:368 #9 0x000000000040f3a8 in malloc_init_hard_a0_locked () at src/jemalloc.c:1553 #10 0x000000000040fb04 in malloc_init_hard () at src/jemalloc.c:1750 #11 0x0000000000409b90 in malloc_init () at src/jemalloc.c:223 #12 0x0000000000410a88 in imalloc_init_check (sopts=0xffffffffe128, dopts=0xffffffffe0f0) at src/jemalloc.c:2229 #13 0x0000000000410bf4 in imalloc (sopts=0xffffffffe128, dopts=0xffffffffe0f0) at src/jemalloc.c:2260 #14 0x0000000000410d58 in je_malloc_default (size=19) at src/jemalloc.c:2289 #15 0x0000000000410ff8 in malloc (size=19) at src/jemalloc.c:2332 #16 0x00000000004f221c in _dl_get_origin () at ../sysdeps/unix/sysv/linux/generic/dl-origin.c:51 #17 0x00000000004ce6a4 in _dl_non_dynamic_init () at dl-support.c:308 #18 0x00000000004cf528 in __libc_init_first (argc=argc@entry=2, argv=argv@entry=0xfffffffff438, envp=0xfffffffff450) at ../csu/init-first.c:74 #19 0x00000000004b03ac in __libc_start_main (main=0x4006c4
, argc=2, argv=0xfffffffff438, init=0x4b0840 <__libc_csu_init>, fini=0x4b0920 <__libc_csu_fini>, rtld_fini=0x0, stack_end=) at ../csu/libc-start.c:244 #20 0x000000000040058c in _start () at ../sysdeps/aarch64/start.S:92 ``` ### Bisecting glibc I did a git bisect from glibc 2.28 to glibc 2.29 and found [the offending commit](https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=979cfed05d0ee5a9d81d310ea1eb2d590739e36b;hp=ce035c6e909ad20ef2fe13c92eab4e69f6495b61) Which enables VDSO for static linking. Since `clock_gettime` is part of VDSO this means that `clock_gettime` should be able to link statically as well. ### The problem However, [`_dl_non_dynamic_init`](https://code.woboq.org/userspace/glibc/csu/init-first.c.html#74) which has a run time path to malloc is called before [VDSO](https://code.woboq.org/userspace/glibc/csu/init-first.c.html#78) has been setup. Because malloc is now jemalloc, it will attempt to use `clock_gettime` which has not been setup properly. ### The possible solution I'm filing a bug in glibc tracker to apply this patch. This makes the sample program run, however there is another [`setup_vdso`](https://code.woboq.org/userspace/glibc/elf/setup-vdso.h.html#20) function which (without the patch applied) is called before `VDSO_SETUP` and I am unsure about the interactions between them. Can you please clarify/review? Thanks! ``` diff --git a/csu/init-first.c b/csu/init-first.c index 289373f9d8..330cc7d36c 100644 --- a/csu/init-first.c +++ b/csu/init-first.c @@ -68,16 +68,16 @@ _init (int argc, char **argv, char **envp) __libc_argv = argv; __environ = envp; +#ifdef VDSO_SETUP + VDSO_SETUP (); +#endif + #ifndef SHARED /* First the initialization which normally would be done by the dynamic linker. */ _dl_non_dynamic_init (); #endif -#ifdef VDSO_SETUP - VDSO_SETUP (); -#endif - __init_misc (argc, argv, envp); /* Initialize ctype data. */ ``` -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47120-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 16:08:29 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 44833 invoked by alias); 17 Jan 2020 16:08:28 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 44801 invoked by uid 48); 17 Jan 2020 16:08:24 -0000 From: "erick.ochoa@theobroma-systems.com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25413] VDSO not setup before `_dl_non_dynamic_init` Date: Fri, 17 Jan 2020 16:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.29 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: erick.ochoa@theobroma-systems.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00130.txt.bz2 Content-length: 460 https://sourceware.org/bugzilla/show_bug.cgi?id=25413 Erick Ochoa changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erick.ochoa@theobroma-syste | |ms.com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47121-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 16:13:52 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 50393 invoked by alias); 17 Jan 2020 16:13:52 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 50337 invoked by uid 48); 17 Jan 2020 16:13:48 -0000 From: "christoph.muellner@theobroma-systems.com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25413] VDSO not setup before `_dl_non_dynamic_init` Date: Fri, 17 Jan 2020 16:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.29 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: christoph.muellner@theobroma-systems.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00131.txt.bz2 Content-length: 460 https://sourceware.org/bugzilla/show_bug.cgi?id=25413 christoph.muellner@theobroma-systems.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |christoph.muellner@theobrom | |a-systems.com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47123-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 19:05:59 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 71374 invoked by alias); 17 Jan 2020 19:05:59 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 71176 invoked by uid 48); 17 Jan 2020 19:05:55 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/24967] jemalloc static linking causes runtime failure Date: Fri, 17 Jan 2020 19:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00133.txt.bz2 Content-length: 618 https://sourceware.org/bugzilla/show_bug.cgi?id=24967 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |erick.ochoa@theobroma-syste | |ms.com --- Comment #13 from Adhemerval Zanella --- *** Bug 25413 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47122-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 19:05:58 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 71236 invoked by alias); 17 Jan 2020 19:05:58 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 71150 invoked by uid 48); 17 Jan 2020 19:05:54 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25413] VDSO not setup before `_dl_non_dynamic_init` Date: Fri, 17 Jan 2020 19:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.29 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00132.txt.bz2 Content-length: 808 https://sourceware.org/bugzilla/show_bug.cgi?id=25413 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |adhemerval.zanella at linaro dot o | |rg Resolution|--- |DUPLICATE --- Comment #1 from Adhemerval Zanella --- It will be fixed on 2.31 (1bdda52fe92fd01b424cd6fbb63e3df96a95015c). *** This bug has been marked as a duplicate of bug 24967 *** -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47124-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 19:44:57 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 72310 invoked by alias); 17 Jan 2020 19:44:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 70313 invoked by uid 48); 17 Jan 2020 19:44:51 -0000 From: "eggert at cs dot ucla.edu" To: glibc-bugs@sourceware.org Subject: [Bug glob/25414] New: 'glob' use-after-free bug Date: Fri, 17 Jan 2020 19:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: glob X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eggert at cs dot ucla.edu X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00134.txt.bz2 Content-length: 803 https://sourceware.org/bugzilla/show_bug.cgi?id=25414 Bug ID: 25414 Summary: 'glob' use-after-free bug Product: glibc Version: 2.30 Status: NEW Severity: normal Priority: P2 Component: glob Assignee: unassigned at sourceware dot org Reporter: eggert at cs dot ucla.edu Target Milestone: --- Created attachment 12218 --> https://sourceware.org/bugzilla/attachment.cgi?id=12218&action=edit patch for use-after-free bug in 'glob' There's a use-after-free bug in 'glob', reported against Gnulib here: https://lists.gnu.org/r/bug-gnulib/2020-01/msg00102.html Proposed (but untested) glibc patch attached. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47125-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 21:08:09 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 93992 invoked by alias); 17 Jan 2020 21:08:09 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 93942 invoked by uid 48); 17 Jan 2020 21:08:05 -0000 From: "bruno at clisp dot org" To: glibc-bugs@sourceware.org Subject: [Bug glob/25414] 'glob' use-after-free bug Date: Fri, 17 Jan 2020 21:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: glob X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bruno at clisp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00135.txt.bz2 Content-length: 667 https://sourceware.org/bugzilla/show_bug.cgi?id=25414 Bruno Haible changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bruno at clisp dot org --- Comment #1 from Bruno Haible --- Created attachment 12219 --> https://sourceware.org/bugzilla/attachment.cgi?id=12219&action=edit simpler patch for use-after-free bug in glob The attached patch fixes the same bug, and is a little simpler. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47126-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 17 21:10:13 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 95807 invoked by alias); 17 Jan 2020 21:10:13 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 95775 invoked by uid 48); 17 Jan 2020 21:10:09 -0000 From: "bruno at clisp dot org" To: glibc-bugs@sourceware.org Subject: [Bug glob/25414] 'glob' use-after-free bug Date: Fri, 17 Jan 2020 21:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: glob X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bruno at clisp dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00136.txt.bz2 Content-length: 486 https://sourceware.org/bugzilla/show_bug.cgi?id=25414 --- Comment #2 from Bruno Haible --- Explanation of the bug: - end_name is part of dirname, - dirname is freed, - after dirname is freed, the code still accesses end_name. The fix is to store the dirname to be freed in a different variable, and free it a bit later, after the code has finished looking at end_name. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47127-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 13:37:38 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 96452 invoked by alias); 20 Jan 2020 13:37:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 96362 invoked by uid 48); 20 Jan 2020 13:37:25 -0000 From: "filip at sumologic dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25420] New: Race condition resolv_conf.c can result in caching stale configuration forever Date: Mon, 20 Jan 2020 13:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: filip at sumologic dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00137.txt.bz2 Content-length: 3172 https://sourceware.org/bugzilla/show_bug.cgi?id=25420 Bug ID: 25420 Summary: Race condition resolv_conf.c can result in caching stale configuration forever Product: glibc Version: 2.27 Status: UNCONFIRMED Severity: normal Priority: P2 Component: network Assignee: unassigned at sourceware dot org Reporter: filip at sumologic dot com Target Milestone: --- There is a TOCTOU race condition in resolv/resolv_conf.c:__resolv_conf_get_current between calling stat64 on /etc/resolv.conf and parsing its contents. If /etc/resolv.conf is a symlink that changes what it points to between 2 different, existing files, we can end up in a situation when stat64 is called on one file and parsing is done on the other. Consider the following scenario: 1. /etc/resolv.conf points to file A 2. __resolv_conf_get_current is called 3. stat64 is called on file A 4. we decide to update global cached config based on stat64 5. /etc/resolv.conf is changed to point to file B 6. __resolv_conf_load is called on file B and we use its contents as the new config 7. /etc/resolv.conf is changed back to point to file A After these steps, the cached configuration is based on file B yet /etc/resolv.conf points to file A. The cache won't ever be updated, because we saved output from stat64 on file A. I believe this issue could be solved by using fstat64 instead and then parsing from fd. I also include a fully working PoC, which is a bit involved and perhaps convoluted since I'm not a C programmer. Apologies for that in advance. In any case, here are the steps to reproduce this issue exactly. I uploaded the needed files here: https://gist.github.com/filipochnik/edbbf8e1eac56057d2a521840461639d 1. Compile main.c with gcc main.c -o main and renamer.c with gcc renamer.c -o renamer 2. Prepare 2 symlinks: /etc/resolv.conf pointing to good.conf and /etc/resolv.tmp.conf pointing to bad.conf. (I assumed that there's a local nameserver running 127.0.0.53 and none or 127.0.0.1, these values may need adjusting) 3. Run run.sh Description: This setup changes in a loop what /etc/resolv.conf points to and tries to hit the described race condition. renamer.c simply switches what /etc/resolv.conf points to in a quick loop. main.c runs renamer in the backgroud and resolves google.com in a loop. If we get an error on a first try it means we loaded the invalid configuration and possibly hit the race condition. We then kill renamer process, which leaves /etc/resolv.conf pointing to the correct configuration. In theory, we would expect that this change will be picked up soon but every so often it never happens. This means we hit the race condition. If you run this PoC you should hit a race condition in under a minute. Once the race condition is hit, the bug can finally be confirmed by running touch on the correct config. The main process will then see that stat64 output changed, load the config again and resolve google.com successfully. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47128-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 13:38:09 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 96975 invoked by alias); 20 Jan 2020 13:38:08 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 96923 invoked by uid 48); 20 Jan 2020 13:38:04 -0000 From: "filip at sumologic dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25420] Race condition resolv_conf.c can result in caching stale configuration forever Date: Mon, 20 Jan 2020 13:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: filip at sumologic dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00138.txt.bz2 Content-length: 397 https://sourceware.org/bugzilla/show_bug.cgi?id=25420 Filip Ochnik changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |filip at sumologic dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47129-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 14:41:57 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 6431 invoked by alias); 20 Jan 2020 14:41:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 131056 invoked by uid 48); 20 Jan 2020 14:41:53 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25421] New: Implement RTLD_GROUP, RTLD_PARENT, RTLD_WORLD Date: Mon, 20 Jan 2020 14:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00139.txt.bz2 Content-length: 1234 https://sourceware.org/bugzilla/show_bug.cgi?id=25421 Bug ID: 25421 Summary: Implement RTLD_GROUP, RTLD_PARENT, RTLD_WORLD Product: glibc Version: 2.31 Status: NEW Severity: normal Priority: P2 Component: dynamic-link Assignee: unassigned at sourceware dot org Reporter: carlos at redhat dot com Target Milestone: --- The Solaris dynamic loader implements 3 additional controls for symbol scope resolution: RTLD_GROUP - Resolution is only allowed from the self-contained set of objects that are in their dependencies. RTLD_PARENT - Resolution of the symbols of a secondary dlopen'd object can be taken from the parent object making the dlopen call. In this way you can have a secondary object that needs symbols from many different parent implementations without having an explicit dependency. RTLD_WORLD - Only symbols from RTLD_GLOBAL are used for resolution, ignorning the current scope. With these 3 additional modes we could provide additional semantics that would be useful for plugin authors, particularly RTLD_PARENT. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47130-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 14:42:08 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 20004 invoked by alias); 20 Jan 2020 14:42:07 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 14484 invoked by uid 48); 20 Jan 2020 14:42:03 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25421] Implement RTLD_GROUP, RTLD_PARENT, RTLD_WORLD Date: Mon, 20 Jan 2020 14:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00140.txt.bz2 Content-length: 475 https://sourceware.org/bugzilla/show_bug.cgi?id=25421 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.redhat.com | |/show_bug.cgi?id=1621927 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47133-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 14:51:54 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 123294 invoked by alias); 20 Jan 2020 14:51:53 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 123080 invoked by uid 48); 20 Jan 2020 14:51:47 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/20123] [powerpc] Enable libmvec vector math library on POWER VSX Date: Mon, 20 Jan 2020 14:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00143.txt.bz2 Content-length: 479 https://sourceware.org/bugzilla/show_bug.cgi?id=20123 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceware.org/bugz | |illa/show_bug.cgi?id=25422 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47131-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 14:51:17 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 122605 invoked by alias); 20 Jan 2020 14:51:17 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 122348 invoked by uid 48); 20 Jan 2020 14:51:10 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/25422] New: aarch64: Enable libmvec vector math library on AArch64 Date: Mon, 20 Jan 2020 14:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00141.txt.bz2 Content-length: 613 https://sourceware.org/bugzilla/show_bug.cgi?id=25422 Bug ID: 25422 Summary: aarch64: Enable libmvec vector math library on AArch64 Product: glibc Version: 2.31 Status: NEW Severity: normal Priority: P2 Component: math Assignee: unassigned at sourceware dot org Reporter: carlos at redhat dot com Target Milestone: --- Add AArch64 support for the libmvec vector math library to exploit the AArch64 vector instructions. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47132-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 14:51:53 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 123164 invoked by alias); 20 Jan 2020 14:51:52 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 123065 invoked by uid 48); 20 Jan 2020 14:51:47 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/25422] aarch64: Enable libmvec vector math library on AArch64 Date: Mon, 20 Jan 2020 14:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00142.txt.bz2 Content-length: 540 https://sourceware.org/bugzilla/show_bug.cgi?id=25422 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceware.org/bugz | |illa/show_bug.cgi?id=20123 Severity|normal |enhancement -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47135-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 15:25:52 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 110847 invoked by alias); 20 Jan 2020 15:25:52 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 110698 invoked by uid 48); 20 Jan 2020 15:25:36 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25423] New: Array overflow in backtrace on powerpc Date: Mon, 20 Jan 2020 15:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc blocked target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00145.txt.bz2 Content-length: 940 https://sourceware.org/bugzilla/show_bug.cgi?id=25423 Bug ID: 25423 Summary: Array overflow in backtrace on powerpc Product: glibc Version: 2.26 Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: schwab@linux-m68k.org CC: drepper.fsp at gmail dot com Blocks: 15867 Target Milestone: --- Target: powerpc*-*-* Commit d400dcac5e introduced an array overflow in the backtrace functions for powerpc. The entry for the signal trampoline stack frame is stored without checking the array bounds. Referenced Bugs: https://sourceware.org/bugzilla/show_bug.cgi?id=15867 [Bug 15867] PowerPC: backtrace() fails to handle signal trampoline stack frames -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47134-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 15:25:52 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 110829 invoked by alias); 20 Jan 2020 15:25:50 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 110712 invoked by uid 48); 20 Jan 2020 15:25:36 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/15867] PowerPC: backtrace() fails to handle signal trampoline stack frames Date: Mon, 20 Jan 2020 15:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: dependson Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00144.txt.bz2 Content-length: 499 https://sourceware.org/bugzilla/show_bug.cgi?id=15867 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |25423 Referenced Bugs: https://sourceware.org/bugzilla/show_bug.cgi?id=25423 [Bug 25423] Array overflow in backtrace on powerpc -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47136-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 15:26:11 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 111928 invoked by alias); 20 Jan 2020 15:26:11 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 111336 invoked by uid 48); 20 Jan 2020 15:25:58 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25423] Array overflow in backtrace on powerpc Date: Mon, 20 Jan 2020 15:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_gcctarget cf_gcchost Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00146.txt.bz2 Content-length: 430 https://sourceware.org/bugzilla/show_bug.cgi?id=25423 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Target|powerpc*-*-* | Host| |powerpc*-*-* -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47137-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 15:27:17 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 114846 invoked by alias); 20 Jan 2020 15:27:16 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 113924 invoked by uid 48); 20 Jan 2020 15:27:04 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25423] Array overflow in backtrace on powerpc Date: Mon, 20 Jan 2020 15:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00147.txt.bz2 Content-length: 372 https://sourceware.org/bugzilla/show_bug.cgi?id=25423 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Version|2.26 |2.19 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47139-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 16:33:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 9633 invoked by alias); 20 Jan 2020 16:33:26 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 9540 invoked by uid 48); 20 Jan 2020 16:33:13 -0000 From: "filip at sumologic dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25425] Missing call to __resolv_context_put in getaddrinfo.c:gethosts Date: Mon, 20 Jan 2020 16:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: filip at sumologic dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00149.txt.bz2 Content-length: 397 https://sourceware.org/bugzilla/show_bug.cgi?id=25425 Filip Ochnik changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |filip at sumologic dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47138-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 16:33:12 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 9294 invoked by alias); 20 Jan 2020 16:33:11 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 9154 invoked by uid 48); 20 Jan 2020 16:32:59 -0000 From: "filip at sumologic dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25425] New: Missing call to __resolv_context_put in getaddrinfo.c:gethosts Date: Mon, 20 Jan 2020 16:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: filip at sumologic dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00148.txt.bz2 Content-length: 2363 https://sourceware.org/bugzilla/show_bug.cgi?id=25425 Bug ID: 25425 Summary: Missing call to __resolv_context_put in getaddrinfo.c:gethosts Product: glibc Version: 2.27 Status: UNCONFIRMED Severity: normal Priority: P2 Component: network Assignee: unassigned at sourceware dot org Reporter: filip at sumologic dot com Target Milestone: --- In reference to mailing list discussion https://sourceware.org/ml/libc-help/2020-01/msg00031.html There is a missing call to __resolv_context_put here https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=blob;f=sysdeps/posix/getaddrinfo.c;h=f813d85aa39d80a9f23f95368854213ebd60b46b;hb=HEAD#l291 before the jump to free_and_return. Details: Looking at the function getaddrinfo.c:gaih_inet there is a call to __resolv_context_get in https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=blob;f=sysdeps/posix/getaddrinfo.c;h=f813d85aa39d80a9f23f95368854213ebd60b46b;hb=HEAD#l746 It is then possible to arrive at the call site of gethosts macro without calling __resolv_context_put here: https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=blob;f=sysdeps/posix/getaddrinfo.c;h=f813d85aa39d80a9f23f95368854213ebd60b46b;hb=HEAD#l849 or here: https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=blob;f=sysdeps/posix/getaddrinfo.c;h=f813d85aa39d80a9f23f95368854213ebd60b46b;hb=HEAD#l861 Next, in gethosts, we have a lot of branches, but it's possible to arrive here https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=blob;f=sysdeps/posix/getaddrinfo.c;h=f813d85aa39d80a9f23f95368854213ebd60b46b;hb=HEAD#l291 where the code jumps to free_and_return, without calling __resolv_context_put as in other branches. Finally, free_and_return does not call __resolv_context_put either: https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=blob;f=sysdeps/posix/getaddrinfo.c;h=f813d85aa39d80a9f23f95368854213ebd60b46b;hb=HEAD#l1116 In certain scenarios (I don't know what they are as I don't understand the code well enough) we can call __resolv_context_get without matching __resolv_context_put and never free the underlying context. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47140-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 16:35:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 47182 invoked by alias); 20 Jan 2020 16:35:42 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 25931 invoked by uid 48); 20 Jan 2020 16:35:29 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25425] Missing call to __resolv_context_put in getaddrinfo.c:gethosts Date: Mon, 20 Jan 2020 16:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00150.txt.bz2 Content-length: 712 https://sourceware.org/bugzilla/show_bug.cgi?id=25425 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- --- Comment #1 from Florian Weimer --- This error path is only encountered after a strdup failure, so I don't think this memory leak has practical consequence (in other words, it does not open up a denial-of-service vector). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47141-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 16:39:42 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 46627 invoked by alias); 20 Jan 2020 16:39:42 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 46581 invoked by uid 48); 20 Jan 2020 16:39:38 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25425] Missing call to __resolv_context_put in getaddrinfo.c:gethosts Date: Mon, 20 Jan 2020 16:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00151.txt.bz2 Content-length: 575 https://sourceware.org/bugzilla/show_bug.cgi?id=25425 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2020-01-20 Assignee|unassigned at sourceware dot org |fweimer at redhat dot com Ever confirmed|0 |1 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47142-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 16:42:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 49873 invoked by alias); 20 Jan 2020 16:42:15 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 49798 invoked by uid 48); 20 Jan 2020 16:42:11 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25425] Missing call to __resolv_context_put in getaddrinfo.c:gethosts Date: Mon, 20 Jan 2020 16:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00152.txt.bz2 Content-length: 479 https://sourceware.org/bugzilla/show_bug.cgi?id=25425 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceware.org/bugz | |illa/show_bug.cgi?id=21885 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47143-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 16:42:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 49885 invoked by alias); 20 Jan 2020 16:42:15 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 49825 invoked by uid 48); 20 Jan 2020 16:42:11 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/21885] getaddrinfo: gethosts does not release resolver context on memory allocation failure Date: Mon, 20 Jan 2020 16:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.27 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00153.txt.bz2 Content-length: 479 https://sourceware.org/bugzilla/show_bug.cgi?id=21885 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceware.org/bugz | |illa/show_bug.cgi?id=25425 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47144-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 16:43:45 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 54078 invoked by alias); 20 Jan 2020 16:43:45 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 54037 invoked by uid 48); 20 Jan 2020 16:43:41 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25423] Array overflow in backtrace on powerpc Date: Mon, 20 Jan 2020 16:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00154.txt.bz2 Content-length: 728 https://sourceware.org/bugzilla/show_bug.cgi?id=25423 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adhemerval.zanella at linaro dot o | |rg Assignee|unassigned at sourceware dot org |adhemerval.zanella at linaro dot o | |rg --- Comment #1 from Adhemerval Zanella --- I will check this out. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47145-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 16:48:45 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 73856 invoked by alias); 20 Jan 2020 16:48:44 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 73672 invoked by uid 48); 20 Jan 2020 16:48:30 -0000 From: "filip at sumologic dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25420] Race condition in resolv_conf.c can result in caching stale configuration forever Date: Mon, 20 Jan 2020 16:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: filip at sumologic dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00155.txt.bz2 Content-length: 599 https://sourceware.org/bugzilla/show_bug.cgi?id=25420 Filip Ochnik changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Race condition |Race condition in |resolv_conf.c can result in |resolv_conf.c can result in |caching stale configuration |caching stale configuration |forever |forever -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47146-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 17:01:34 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 30141 invoked by alias); 20 Jan 2020 17:01:33 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 30111 invoked by uid 48); 20 Jan 2020 17:01:29 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25425] Missing call to __resolv_context_put in getaddrinfo.c:gethosts Date: Mon, 20 Jan 2020 17:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00156.txt.bz2 Content-length: 277 https://sourceware.org/bugzilla/show_bug.cgi?id=25425 --- Comment #2 from Florian Weimer --- Patch posted: https://sourceware.org/ml/libc-alpha/2020-01/msg00446.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47147-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 17:34:58 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 92568 invoked by alias); 20 Jan 2020 17:34:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 92485 invoked by uid 48); 20 Jan 2020 17:34:53 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25420] Race condition in resolv_conf.c can result in caching stale configuration forever Date: Mon, 20 Jan 2020 17:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00157.txt.bz2 Content-length: 709 https://sourceware.org/bugzilla/show_bug.cgi?id=25420 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2020-01-20 CC| |fweimer at redhat dot com Assignee|unassigned at sourceware dot org |fweimer at redhat dot com Ever confirmed|0 |1 Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47148-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 17:35:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 93250 invoked by alias); 20 Jan 2020 17:35:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 93194 invoked by uid 48); 20 Jan 2020 17:35:39 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25192] getaddrinfo can cause crash in the application. Date: Mon, 20 Jan 2020 17:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00158.txt.bz2 Content-length: 665 https://sourceware.org/bugzilla/show_bug.cgi?id=25192 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |INVALID Flags| |security- --- Comment #2 from Florian Weimer --- No response in several. Sorry, we cannot address this without further information. Closing this bug. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47149-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 17:38:17 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 99788 invoked by alias); 20 Jan 2020 17:38:17 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 99734 invoked by uid 55); 20 Jan 2020 17:38:13 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug network/25425] Missing call to __resolv_context_put in getaddrinfo.c:gethosts Date: Mon, 20 Jan 2020 17:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00159.txt.bz2 Content-length: 1070 https://sourceware.org/bugzilla/show_bug.cgi?id=25425 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8b222fa38700422b4da6731806835f0bbf40920d commit 8b222fa38700422b4da6731806835f0bbf40920d Author: Florian Weimer Date: Mon Jan 20 18:37:13 2020 +0100 getaddrinfo: Fix resource leak after strdup failure in gethosts [BZ #25425] Filip Ochnik spotted that one of the error jumps in gethosts fails to call __resolv_context_put to release the resolver context. Fixes commit 352f4ff9a268b81ef5d4b2413f582565806e4790 ("resolv: Introduce struct resolv_context [BZ #21668]") and commit 964263bb8d650f1681665c55704fb01a8e725621 ("getaddrinfo: Release resolver context on error in gethosts [BZ #21885]"). Reviewed-by: Siddhesh Poyarekar -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47150-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 17:38:18 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 99895 invoked by alias); 20 Jan 2020 17:38:18 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 99752 invoked by uid 55); 20 Jan 2020 17:38:13 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug network/21668] resolv: res_init cross-thread broadcast introduces race conditions Date: Mon, 20 Jan 2020 17:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.26 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00160.txt.bz2 Content-length: 1070 https://sourceware.org/bugzilla/show_bug.cgi?id=21668 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8b222fa38700422b4da6731806835f0bbf40920d commit 8b222fa38700422b4da6731806835f0bbf40920d Author: Florian Weimer Date: Mon Jan 20 18:37:13 2020 +0100 getaddrinfo: Fix resource leak after strdup failure in gethosts [BZ #25425] Filip Ochnik spotted that one of the error jumps in gethosts fails to call __resolv_context_put to release the resolver context. Fixes commit 352f4ff9a268b81ef5d4b2413f582565806e4790 ("resolv: Introduce struct resolv_context [BZ #21668]") and commit 964263bb8d650f1681665c55704fb01a8e725621 ("getaddrinfo: Release resolver context on error in gethosts [BZ #21885]"). Reviewed-by: Siddhesh Poyarekar -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47151-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 17:38:18 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 99934 invoked by alias); 20 Jan 2020 17:38:18 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 99754 invoked by uid 55); 20 Jan 2020 17:38:13 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug network/21885] getaddrinfo: gethosts does not release resolver context on memory allocation failure Date: Mon, 20 Jan 2020 17:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.27 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00161.txt.bz2 Content-length: 1070 https://sourceware.org/bugzilla/show_bug.cgi?id=21885 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8b222fa38700422b4da6731806835f0bbf40920d commit 8b222fa38700422b4da6731806835f0bbf40920d Author: Florian Weimer Date: Mon Jan 20 18:37:13 2020 +0100 getaddrinfo: Fix resource leak after strdup failure in gethosts [BZ #25425] Filip Ochnik spotted that one of the error jumps in gethosts fails to call __resolv_context_put to release the resolver context. Fixes commit 352f4ff9a268b81ef5d4b2413f582565806e4790 ("resolv: Introduce struct resolv_context [BZ #21668]") and commit 964263bb8d650f1681665c55704fb01a8e725621 ("getaddrinfo: Release resolver context on error in gethosts [BZ #21885]"). Reviewed-by: Siddhesh Poyarekar -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47152-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 20 17:39:05 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 100887 invoked by alias); 20 Jan 2020 17:39:04 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 100849 invoked by uid 48); 20 Jan 2020 17:39:00 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25425] Missing call to __resolv_context_put in getaddrinfo.c:gethosts Date: Mon, 20 Jan 2020 17:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00162.txt.bz2 Content-length: 579 https://sourceware.org/bugzilla/show_bug.cgi?id=25425 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.31 --- Comment #4 from Florian Weimer --- Fixed for glibc 2.31. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47153-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 05:00:02 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 69722 invoked by alias); 21 Jan 2020 05:00:01 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 69669 invoked by uid 48); 21 Jan 2020 04:59:57 -0000 From: "swarajsomala at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/25427] New: glibc is failing while doing bitbake[THUD version] Date: Tue, 21 Jan 2020 05:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: swarajsomala at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00163.txt.bz2 Content-length: 2138 https://sourceware.org/bugzilla/show_bug.cgi?id=25427 Bug ID: 25427 Summary: glibc is failing while doing bitbake[THUD version] Product: glibc Version: 2.28 Status: UNCONFIRMED Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: swarajsomala at gmail dot com CC: carlos at redhat dot com Target Milestone: --- Created attachment 12222 --> https://sourceware.org/bugzilla/attachment.cgi?id=12222&action=edit Please find the attached log file Hello There, I am trying to do the bitbake of glibc(V2.28) using yocto(thud). But while running do_compile task it's throwing the below error. ``` libpthread_pic.a(old_pthread_atfork.os): relocation R_386_GOTOFF against undefined hidden symbol `__dso_handle' can not be used when making a shared object ``` I tried in five laptops in that three are successfully compiled but the remaining two laptops have the same problem. I am using Ubuntu(16.04). I followed the below steps while setting up the build. git clone -b thud https://git.yoctoproject.org/git/poky git clone -b thud https://github.com/oci-labs/meta-opendds git clone -b thud https://github.com/openembedded/meta-openembedded git config --global http.sslVerify false source poky/oe-init-build-env bitbake-layers add-layer ../meta-openembedded/meta-oe bitbake-layers add-layer ../meta-openembedded/meta-python bitbake-layers add-layer ../yocto-layers/meta-ara bitbake-layers add-layer ../meta-opendds echo "MACHINE ??= \"qemux86\"" >> conf/local.conf echo "DL_DIR = \"$HOME/yocto/downloads\"" >> conf/local.conf echo "SSTATE_DIR = \"$HOME/yocto/sstate-cache\"" >> conf/local.conf echo 'PREFERRED_VERSION_opendds="1.0+git%"' >> conf/local.conf echo 'PREFERRED_VERSION_opendds-native="1.0+git%"' >> conf/local.conf echo 'PREFERRED_VERSION_nativesdk-opendds="1.0+git%"' >> conf/local.conf source poky/oe-init-build-env bitbake glibc -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47154-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 05:14:39 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 60489 invoked by alias); 21 Jan 2020 05:14:39 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 60439 invoked by uid 48); 21 Jan 2020 05:14:35 -0000 From: "swarajsomala at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/25427] glibc is failing while doing bitbake[THUD version] Date: Tue, 21 Jan 2020 05:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: swarajsomala at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00164.txt.bz2 Content-length: 406 https://sourceware.org/bugzilla/show_bug.cgi?id=25427 swaraj somala changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |swarajsomala at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47155-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 06:53:12 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 109777 invoked by alias); 21 Jan 2020 06:53:12 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 109734 invoked by uid 48); 21 Jan 2020 06:53:07 -0000 From: "akhipatel at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25428] New: [Loader] _dl_map_object Memory contents valid but Registers contents are invalid/corrupted Date: Tue, 21 Jan 2020 06:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.24 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akhipatel at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00165.txt.bz2 Content-length: 5436 https://sourceware.org/bugzilla/show_bug.cgi?id=25428 Bug ID: 25428 Summary: [Loader] _dl_map_object Memory contents valid but Registers contents are invalid/corrupted Product: glibc Version: 2.24 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: akhipatel at gmail dot com CC: drepper.fsp at gmail dot com Target Milestone: --- Dear All Recently I got many issues with same backtrace, issue occurred after long test with My complete stack,unfortunately I am unable to reproduce this issue with sample test application. Since my Coredump contents are valid but application is getting crashed accessing invalid address stored in R1, In all issues my observations are 1-> Backtrack is similar 2-> Memory contents are valid but Registers r9/r1 contents are invalid/corrupted. 3-> gdb) p/x l->l_info[14]->d_un.d_val $1 = 0xd128 (gdb) p/x l->l_info[5]->d_un.d_ptr $2 = 0x45c47f38 (gdb) x/1x 0x45c47f38+0xd128 0x45c55060: 0x7462696c >>>>>>>>>>>>> Valid 0x41008c2c <+164>: ldr r3, [r3, #4] // 0xd128 = p/x l->l_info[14]->d_un.d_val 0x41008c30 <+168>: ldr r9, [r2, #4] //0x45c47f38 = p/x l->l_info[5]->d_un.d_ptr 0x41008c34 <+172>: add r9, r9, r3 //0x7462696c 0x41008c38 <+176>: mov r1, r9 0x41008c3c <+180>: bl 0x4101a13c => 0x41008c40 <+184>: cmp r0, #0 0x41008c44 <+188>: bne 0x41008bd8 <_dl_map_object+80> 0x41008c48 <+192>: mov r1, r9 0x41008c4c <+196>: ldr r0, [r8, #28] 0x41008c50 <+200>: bl 0x41005ad0 Seems Expected value in r9/r1 is 0x7462696c but actual value is 0x55555554 (gdb) info r r0 0x46fa23fd 1190798333 r1 0x55555554 1431655764 r2 0x45ca1b54 1170873172 r3 0x6c 108 r4 0x46fa23fc 1190798332 r5 0x0 0 r6 0x374f0 226544 r7 0x2 2 r8 0x41670 267888 r9 0x55555554 1431655764 r10 0x0 0 r11 0xbe264224 3190178340 r12 0x80000000 2147483648 sp 0xbe261ff0 0xbe261ff0 lr 0x41008c40 1090554944 pc 0x41008c40 0x41008c40 <_dl_map_object+184> cpsr 0x20000010 536870928 (gdb) (gdb)bt #0 strcmp (p1=, p2=) at /usr/src/debug/glibc-2.24/string/strcmp.c:39 #1 0x41008c40 in _dl_map_object (loader=0xb67610e8, name=0x438e130e "terTMCloneTable", type=1, trace_mode=0, mode=0, nsid=0) at /usr/src/debug/glibc-2.24/elf/dl-load.c:2009 #2 0x4100e0b8 in openaux (a=0xbe67ec50) at /usr/src/debug/glibc-2.24/elf/dl-deps.c:63 #3 0x4101057c in _dl_catch_error (objname=0x41030830 , objname@entry=0xbe67ec4c, errstring=0x0, errstring@entry=0xbe67ec48, mallocedp=0xbe67ec4c, mallocedp@entry=0xbe67ec47, operate=0xbe67ec48, args=args@entry=0xbe67ec50) at /usr/src/debug/glibc-2.24/elf/dl-error.c:187 #4 0x4100e2a4 in _dl_map_object_deps (map=map@entry=0x41030908, preloads=, npreloads=npreloads@entry=0, trace_mode=trace_mode@entry=0, open_mode=, open_mode@entry=0) at /usr/src/debug/glibc-2.24/elf/dl-deps.c:254 #5 0x41002b44 in dl_main (phdr=, phnum=, user_entry=, auxv=) at /usr/src/debug/glibc-2.24/elf/rtld.c:1608 #6 0x41017ce0 in _dl_sysdep_start (start_argptr=start_argptr@entry=0xbe67ede0, dl_main=0x41001054 ) at /usr/src/debug/glibc-2.24/elf/../elf/dl-sysdep.c:249 #7 0x410051f8 in _dl_start_final (arg=0xbe67ede0) at /usr/src/debug/glibc-2.24/elf/rtld.c:307 #8 _dl_start (arg=0xbe67ede0) at /usr/src/debug/glibc-2.24/elf/rtld.c:413 #9 0x41000a70 in _start () from ./symbols/lib/ld-linux.so.3 Backtrace stopped: previous frame identical to this frame (corrupt stack?) We added below debug patch in _dl_map_object, and found "soname_offset" is invalid but if we read from coredump it seems valid - soname = ((const char *) D_PTR (l, l_info[DT_STRTAB]) - + l->l_info[DT_SONAME]->d_un.d_val); + strtab = (char *)D_PTR (l, l_info[DT_STRTAB]); + soname_offset = l->l_info[DT_SONAME]->d_un.d_val; + soname = strtab + soname_offset; (gdb) p soname+ soname_offset $13 = 0xe542a356 (gdb) (gdb) p soname_offset // stored in local variable $1 = 1688293803 (gdb) p l->l_info[14]->d_un.d_val // fetched from coredump (which read from actual so file on flash) $2 = 2071 (gdb) Now for me seems Loader issue Please comments. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47156-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 07:59:50 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 105385 invoked by alias); 21 Jan 2020 07:59:49 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 101335 invoked by uid 48); 21 Jan 2020 07:59:45 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/25427] glibc is failing while doing bitbake[THUD version] Date: Tue, 21 Jan 2020 07:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: MOVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00166.txt.bz2 Content-length: 686 https://sourceware.org/bugzilla/show_bug.cgi?id=25427 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |fweimer at redhat dot com Resolution|--- |MOVED --- Comment #1 from Florian Weimer --- Please report this to the party who supplied these build scripts. The glibc project does not maintain them. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47157-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 08:03:55 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 119248 invoked by alias); 21 Jan 2020 08:03:54 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 119164 invoked by uid 48); 21 Jan 2020 08:03:50 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25428] [Loader] _dl_map_object Memory contents valid but Registers contents are invalid/corrupted Date: Tue, 21 Jan 2020 08:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.24 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc everconfirmed flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00167.txt.bz2 Content-length: 986 https://sourceware.org/bugzilla/show_bug.cgi?id=25428 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2020-01-21 CC| |fweimer at redhat dot com Ever confirmed|0 |1 Flags| |security- --- Comment #1 from Florian Weimer --- Unfortunately, this bug report does not contain enough information. I don't think the cmp instruction at which the trap occurs would trap in any case. Is it possible that something has overwritten the dynamic loader on disk, truncating the file first? That's a typical source of such crashes. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47158-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 08:06:59 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 120973 invoked by alias); 21 Jan 2020 08:06:58 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 120914 invoked by uid 48); 21 Jan 2020 08:06:54 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25423] Array overflow in backtrace on powerpc Date: Tue, 21 Jan 2020 08:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00168.txt.bz2 Content-length: 397 https://sourceware.org/bugzilla/show_bug.cgi?id=25423 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47159-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 08:07:31 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 121703 invoked by alias); 21 Jan 2020 08:07:30 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 121637 invoked by uid 48); 21 Jan 2020 08:07:26 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug glob/25414] 'glob' use-after-free bug Date: Tue, 21 Jan 2020 08:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: glob X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00169.txt.bz2 Content-length: 397 https://sourceware.org/bugzilla/show_bug.cgi?id=25414 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47161-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 08:13:21 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 38467 invoked by alias); 21 Jan 2020 08:13:20 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 38414 invoked by uid 48); 21 Jan 2020 08:13:16 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25335] errno set by a DSO is not available to a static executable Date: Tue, 21 Jan 2020 08:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00171.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=25335 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47160-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 08:13:02 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 38071 invoked by alias); 21 Jan 2020 08:13:01 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 38010 invoked by uid 48); 21 Jan 2020 08:12:57 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug string/25343] strerror_r() and INT_MIN returns "Unknown error -18446744071562067968" (for x86_64) Date: Tue, 21 Jan 2020 08:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: string X-Bugzilla-Version: 2.29 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00170.txt.bz2 Content-length: 841 https://sourceware.org/bugzilla/show_bug.cgi?id=25343 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2020-01-21 CC| |fweimer at redhat dot com Assignee|unassigned at sourceware dot org |fweimer at redhat dot com Ever confirmed|0 |1 Flags| |security- --- Comment #1 from Florian Weimer --- My rework of strerror for bug 1890 happens to fix this as well. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47162-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 08:26:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 55716 invoked by alias); 21 Jan 2020 08:26:26 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 55395 invoked by uid 48); 21 Jan 2020 08:26:14 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25320] uniq should provide binary comparison. Date: Tue, 21 Jan 2020 08:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: MOVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc resolution flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00172.txt.bz2 Content-length: 511 https://sourceware.org/bugzilla/show_bug.cgi?id=25320 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Resolution|INVALID |MOVED Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47163-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 08:27:19 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 56389 invoked by alias); 21 Jan 2020 08:27:18 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 56286 invoked by uid 48); 21 Jan 2020 08:27:05 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25305] wrong _SC_ARG_MAX from sysconf Date: Tue, 21 Jan 2020 08:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00173.txt.bz2 Content-length: 648 https://sourceware.org/bugzilla/show_bug.cgi?id=25305 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- --- Comment #1 from Florian Weimer --- I'm worried that returning 128 KiB in all cases would result in a substantial performance regression in tools like xargs. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47164-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 08:30:48 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 99219 invoked by alias); 21 Jan 2020 08:30:29 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 98915 invoked by uid 48); 21 Jan 2020 08:30:04 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25288] malloc: memory leak on tcache cache variable for main thread Date: Tue, 21 Jan 2020 08:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: MOVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc resolution flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00174.txt.bz2 Content-length: 924 https://sourceware.org/bugzilla/show_bug.cgi?id=25288 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |fweimer at redhat dot com Resolution|--- |MOVED Flags| |security- --- Comment #1 from Florian Weimer --- We deliberately do not deallocate memory on process termination because the kernel will do it for us. This is why leak tracers either have to model the internal interfaces, or call __libc_freeres on process termination. In other words, the Intel Inspector needs to be made tcache-aware. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47165-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 08:30:56 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 99758 invoked by alias); 21 Jan 2020 08:30:52 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 99345 invoked by uid 48); 21 Jan 2020 08:30:41 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25286] [RFE] Reduce brk(2) syscall usage by implementing scaling heuristic. Date: Tue, 21 Jan 2020 08:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00175.txt.bz2 Content-length: 517 https://sourceware.org/bugzilla/show_bug.cgi?id=25286 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- Severity|normal |enhancement -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47166-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 08:59:21 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 29691 invoked by alias); 21 Jan 2020 08:59:20 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 29642 invoked by uid 48); 21 Jan 2020 08:59:16 -0000 From: "akhipatel at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25428] [Loader] _dl_map_object Memory contents valid but Registers contents are invalid/corrupted Date: Tue, 21 Jan 2020 08:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.24 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akhipatel at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00176.txt.bz2 Content-length: 2849 https://sourceware.org/bugzilla/show_bug.cgi?id=25428 Akhilesh changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |akhipatel at gmail dot com --- Comment #2 from Akhilesh --- (In reply to Florian Weimer from comment #1) > Unfortunately, this bug report does not contain enough information. I don't > think the cmp instruction at which the trap occurs would trap in any case. Actual crash happened in strcmp since r1(which is soname) is invalid->0x55555554 , but when i read soname from memory shows valid->0x45c55060 (gdb) p (char *)0x45c47f38+0xd128 $2 = 0x45c55060 "libtv-ap-ipc.so" (gdb) (gdb) disassemble Dump of assembler code for function strcmp: 0x4101a13c <+0>: ldrb r3, [r0], #1 => 0x4101a140 <+4>: ldrb r2, [r1], #1 0x4101a144 <+8>: cmp r3, #0 0x4101a148 <+12>: beq 0x4101a15c 0x4101a14c <+16>: cmp r3, r2 0x4101a150 <+20>: beq 0x4101a13c 0x4101a154 <+24>: sub r0, r3, r2 0x4101a158 <+28>: bx lr 0x4101a15c <+32>: rsb r0, r2, #0 0x4101a160 <+36>: bx lr End of assembler dump. (gdb) f 1 (gdb) disassemble Dump of assembler code for function _dl_map_object: 0x41008b88 <+0>: push {r4, r5, r6, r7, r8, r9, r10, r11, lr} ------------------------------------------ ------------------------------------------- 0x45c55060: 0x7462696c >>>>>>>>>>>>> Valid 0x41008c2c <+164>: ldr r3, [r3, #4] // 0xd128 = p/x l->l_info[14]->d_un.d_val 0x41008c30 <+168>: ldr r9, [r2, #4] //0x45c47f38 = p/x l->l_info[5]->d_un.d_ptr 0x41008c34 <+172>: add r9, r9, r3 //0x45c47f38+0xd128 => soname 0x41008c38 <+176>: mov r1, r9 0x41008c3c <+180>: bl 0x4101a13c => 0x41008c40 <+184>: cmp r0, #0 0x41008c44 <+188>: bne 0x41008bd8 <_dl_map_object+80> 0x41008c48 <+192>: mov r1, r9 0x41008c4c <+196>: ldr r0, [r8, #28] 0x41008c50 <+200>: bl 0x41005ad0 > Is it possible that something has overwritten the dynamic loader on disk, > truncating the file first? That's a typical source of such crashes. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47167-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 09:12:12 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 56473 invoked by alias); 21 Jan 2020 09:12:12 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 56417 invoked by uid 48); 21 Jan 2020 09:12:08 -0000 From: "akhipatel at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25428] [Loader] _dl_map_object Memory contents valid but Registers contents are invalid/corrupted Date: Tue, 21 Jan 2020 09:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.24 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akhipatel at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00177.txt.bz2 Content-length: 398 https://sourceware.org/bugzilla/show_bug.cgi?id=25428 Akhilesh changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |akhilesh.k at samsung dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47168-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 13:55:39 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 66165 invoked by alias); 21 Jan 2020 13:55:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 66078 invoked by uid 48); 21 Jan 2020 13:55:32 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25271] undeclared identifier PTHREAD_MUTEX_DEFAULT when compiling with -std1 Date: Tue, 21 Jan 2020 13:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on resolution everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00178.txt.bz2 Content-length: 613 https://sourceware.org/bugzilla/show_bug.cgi?id=25271 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2020-01-21 Resolution|INVALID |--- Ever confirmed|0 |1 --- Comment #11 from Andreas Schwab --- Reopen. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47169-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 14:29:46 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 44931 invoked by alias); 21 Jan 2020 14:29:45 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 44848 invoked by uid 55); 21 Jan 2020 14:29:41 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25423] Array overflow in backtrace on powerpc Date: Tue, 21 Jan 2020 14:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00179.txt.bz2 Content-length: 818 https://sourceware.org/bugzilla/show_bug.cgi?id=25423 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Andreas Schwab : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d93769405996dfc11d216ddbe415946617b5a494 commit d93769405996dfc11d216ddbe415946617b5a494 Author: Andreas Schwab Date: Mon Jan 20 17:01:50 2020 +0100 Fix array overflow in backtrace on PowerPC (bug 25423) When unwinding through a signal frame the backtrace function on PowerPC didn't check array bounds when storing the frame address. Fixes commit d400dcac5e ("PowerPC: fix backtrace to handle signal trampolines"). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47170-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 14:41:02 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 27669 invoked by alias); 21 Jan 2020 14:41:01 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 27577 invoked by uid 48); 21 Jan 2020 14:40:57 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25423] Array overflow in backtrace on powerpc Date: Tue, 21 Jan 2020 14:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00180.txt.bz2 Content-length: 564 https://sourceware.org/bugzilla/show_bug.cgi?id=25423 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.31 --- Comment #3 from Andreas Schwab --- Fixed in 2.31. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47171-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 14:41:02 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 27695 invoked by alias); 21 Jan 2020 14:41:02 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 27599 invoked by uid 48); 21 Jan 2020 14:40:58 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/15867] PowerPC: backtrace() fails to handle signal trampoline stack frames Date: Tue, 21 Jan 2020 14:41:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: dep_changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00181.txt.bz2 Content-length: 550 https://sourceware.org/bugzilla/show_bug.cgi?id=15867 Bug 15867 depends on bug 25423, which changed state. Bug 25423 Summary: Array overflow in backtrace on powerpc https://sourceware.org/bugzilla/show_bug.cgi?id=25423 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47172-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 16:07:16 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 84131 invoked by alias); 21 Jan 2020 16:07:16 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 77884 invoked by uid 48); 21 Jan 2020 16:07:12 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25429] New: res_vinit_1 leaks fp stdio stream on error Date: Tue, 21 Jan 2020 16:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00182.txt.bz2 Content-length: 1373 https://sourceware.org/bugzilla/show_bug.cgi?id=25429 Bug ID: 25429 Summary: res_vinit_1 leaks fp stdio stream on error Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: network Assignee: unassigned at sourceware dot org Reporter: fweimer at redhat dot com Target Milestone: --- Flags: security- On memory allocation and other errors, res_vinit_1 returns directly: ssize_t ret = __getline (&parser->buffer, &buffer_size, fp); if (ret <= 0) { if (_IO_ferror_unlocked (fp)) return false; else break; } … cp = __strdup (cp); if (cp == NULL) return false; … cp = __strdup (cp); if (cp == NULL) return false; But __resolv_conf_load expects res_vinit_1 to always close the stream. The best fix is probably to change res_vinit_1 not to take ownership. I'm flagging this as security- despite the descriptor resource leak because it is not likely that it is possible to trigger this at will. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47173-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 16:08:21 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 57480 invoked by alias); 21 Jan 2020 16:08:20 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 52379 invoked by uid 48); 21 Jan 2020 16:08:16 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25429] res_vinit_1 leaks fp stdio stream on error Date: Tue, 21 Jan 2020 16:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00183.txt.bz2 Content-length: 464 https://sourceware.org/bugzilla/show_bug.cgi?id=25429 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at sourceware dot org |fweimer at redhat dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47174-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 21:15:46 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 82334 invoked by alias); 21 Jan 2020 21:15:45 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 82235 invoked by uid 48); 21 Jan 2020 21:15:40 -0000 From: "fche at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25434] New: RFE: detect undefined behavior for fts_open, instead of later SEGV Date: Tue, 21 Jan 2020 21:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fche at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00184.txt.bz2 Content-length: 1137 https://sourceware.org/bugzilla/show_bug.cgi?id=25434 Bug ID: 25434 Summary: RFE: detect undefined behavior for fts_open, instead of later SEGV Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: fche at redhat dot com CC: drepper.fsp at gmail dot com Target Milestone: --- The following program SEGV's in fts_read, because fts_open was given a 0-element directory list. It'd be nicer from a quality-of-implementation point of view if fts_open() detected this condition and returned a null FTS* instead of a broken one. #include #include #include int main() { char* dirs[1] = { NULL }; FTS *fts = fts_open (dirs, FTS_LOGICAL, NULL); assert (fts != NULL); FTSENT *fe = fts_read (fts); /* SEGV here */ printf("%s\n", fe->fts_path); } glibc-2.29-27.fc30.x86_64 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47175-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 21 21:16:51 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 83979 invoked by alias); 21 Jan 2020 21:16:50 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 83920 invoked by uid 48); 21 Jan 2020 21:16:46 -0000 From: "fche at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25434] RFE: detect undefined behavior for fts_open, instead of later SEGV Date: Tue, 21 Jan 2020 21:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fche at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00185.txt.bz2 Content-length: 997 https://sourceware.org/bugzilla/show_bug.cgi?id=25434 --- Comment #1 from Frank Ch. Eigler --- Program received signal SIGSEGV, Segmentation fault. fts_read (sp=0x4052a0) at ../sysdeps/wordsize-64/../../io/fts.c:457 457 if (p->fts_level == FTS_ROOTPARENTLEVEL) { (gdb) bt #0 fts_read (sp=0x4052a0) at ../sysdeps/wordsize-64/../../io/fts.c:457 #1 0x00000000004011ac in main () at foo.c:10 (gdb) l 452 /* Move up to the parent node. */ 453 p = tmp->fts_parent; 454 sp->fts_cur = p; 455 free(tmp); 456 457 if (p->fts_level == FTS_ROOTPARENTLEVEL) { 458 /* 459 * Done; free everything up and set errno to 0 so the user 460 * can distinguish between error and EOF. 461 */ (gdb) p p $1 = (FTSENT *) 0x0 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47176-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 01:26:34 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 104500 invoked by alias); 22 Jan 2020 01:26:34 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 104461 invoked by uid 48); 22 Jan 2020 01:26:30 -0000 From: "asteinhauser at google dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25436] New: Mitigating speculative execution beyond SVC Date: Wed, 22 Jan 2020 01:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asteinhauser at google dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00186.txt.bz2 Content-length: 1500 https://sourceware.org/bugzilla/show_bug.cgi?id=25436 Bug ID: 25436 Summary: Mitigating speculative execution beyond SVC Product: glibc Version: 2.32 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: asteinhauser at google dot com CC: drepper.fsp at gmail dot com Target Milestone: --- Created attachment 12223 --> https://sourceware.org/bugzilla/attachment.cgi?id=12223&action=edit Description of the CPU vulnerability aarch64 CPUs speculate past the SVC instruction creating Spectre-like effects. The equivalent behavior of the ERET instruction was already fixed in Linux, FreeBSD, OpenBSD and Optee OS: https://github.com/torvalds/linux/commit/679db70801da9fda91d26caf13bf5b5ccc74e8e8 https://github.com/freebsd/freebsd/commit/29fb48ace4186a41c409fde52bcf4216e9e50b61 https://github.com/openbsd/src/commit/3a08873ece1cb28ace89fd65e8f3c1375cc98de2 https://github.com/OP-TEE/optee_os/commit/abfd092aa19f9c0251e3d5551e2d68a9ebcfec8a The full report of the vulnerability is in the attachment. The mitigation requires just appending a DSB NSH, ISB sequence after the SVC instruction. That should not bring an additional performance penalty, because the change of exception levels is serializing anyway. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47177-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 01:27:40 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 105115 invoked by alias); 22 Jan 2020 01:27:39 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 105078 invoked by uid 48); 22 Jan 2020 01:27:35 -0000 From: "asteinhauser at google dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25436] Mitigating speculative execution beyond SVC Date: Wed, 22 Jan 2020 01:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: asteinhauser at google dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00187.txt.bz2 Content-length: 325 https://sourceware.org/bugzilla/show_bug.cgi?id=25436 --- Comment #1 from Anthony Steinhauser --- Created attachment 12224 --> https://sourceware.org/bugzilla/attachment.cgi?id=12224&action=edit Patch -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47178-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 02:03:38 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 66469 invoked by alias); 22 Jan 2020 02:03:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 66343 invoked by uid 48); 22 Jan 2020 02:03:33 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25288] malloc: memory leak on tcache cache variable for main thread Date: Wed, 22 Jan 2020 02:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: MOVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00188.txt.bz2 Content-length: 998 https://sourceware.org/bugzilla/show_bug.cgi?id=25288 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlos at redhat dot com --- Comment #2 from Carlos O'Donell --- (In reply to Florian Weimer from comment #1) > We deliberately do not deallocate memory on process termination because the > kernel will do it for us. This is why leak tracers either have to model the > internal interfaces, or call __libc_freeres on process termination. In other > words, the Intel Inspector needs to be made tcache-aware. Calling __libc_freeres would fix this since it calls __libc_thread_freeres which calls __malloc_arena_thread_freeres to shutdown and free the tcache blocks. Valgrind does this correctly. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47179-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 09:59:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 53891 invoked by alias); 22 Jan 2020 09:59:15 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 53850 invoked by uid 48); 22 Jan 2020 09:59:11 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25436] Mitigating speculative execution beyond SVC Date: Wed, 22 Jan 2020 09:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00189.txt.bz2 Content-length: 397 https://sourceware.org/bugzilla/show_bug.cgi?id=25436 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47180-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 09:59:28 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 54299 invoked by alias); 22 Jan 2020 09:59:27 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 54234 invoked by uid 48); 22 Jan 2020 09:59:23 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25436] aarch64: Mitigating speculative execution beyond SVC Date: Wed, 22 Jan 2020 09:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00190.txt.bz2 Content-length: 522 https://sourceware.org/bugzilla/show_bug.cgi?id=25436 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Mitigating speculative |aarch64: Mitigating |execution beyond SVC |speculative execution | |beyond SVC -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47181-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 12:01:25 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 17248 invoked by alias); 22 Jan 2020 12:01:16 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 17148 invoked by uid 48); 22 Jan 2020 12:01:11 -0000 From: "kircherlike at outlook dot com" To: glibc-bugs@sourceware.org Subject: [Bug nss/25440] New: Add request type in DNS random id Date: Wed, 22 Jan 2020 12:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nss X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kircherlike at outlook dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00191.txt.bz2 Content-length: 2475 https://sourceware.org/bugzilla/show_bug.cgi?id=25440 Bug ID: 25440 Summary: Add request type in DNS random id Product: glibc Version: 2.32 Status: UNCONFIRMED Severity: normal Priority: P2 Component: nss Assignee: unassigned at sourceware dot org Reporter: kircherlike at outlook dot com Target Milestone: --- The following if-condition judgment statement can be found in glibc-2.30 file res_send.c line:1397 ... 1397 if (recvresp1 == 0 && hp->id == anhp->id) 1398 recvresp1 = 1; 1399 else 1400 recvresp2 = 1; ... These statements are used to determine whether the DNS request is responded based on the response packet ID. Although, the IDs of these DNS request packets are randomly generated, they are unlikely to be the same. In fact, these random IDs are generated by the clock_gettime function. When my computer calls the clock_gettime function twice within 1 nanosecond to send both IPv4 and IPv6 DNS requests, I get two request packets with the same ID. In this case, if I first receive an ipv6 reply from the server, this code will determine it as an ipv4 reply based on its id. ... 1343 if ((recvresp1 || !res_queriesmatch(buf, buf + buflen, 1344 *thisansp, 1345 *thisansp 1346 + *thisanssizp)) 1347 && (recvresp2 || !res_queriesmatch(buf2, buf2 + buflen2, 1348 *thisansp, 1349 *thisansp 1350 + *thisanssizp))) 1351 goto wait; ... Finally, the reply type is judged to be mismatched, and I'll spend an extra 5 seconds waiting for the reply for the next cycle. To avoid this situation, I think some bits in id should be adjusted to distinguish between IPv4 and IPv6 requests. For example if (type == T_A) hp->id |= 0x80000000; else if (type == T_AAAA) hp->id &= 0x7fffffff; Alternatively, this problem can be avoided by adding the packet format check to the packet receiving check. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47182-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 12:55:06 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 54686 invoked by alias); 22 Jan 2020 12:55:06 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 54370 invoked by uid 48); 22 Jan 2020 12:55:00 -0000 From: "weinull at outlook dot com" To: glibc-bugs@sourceware.org Subject: [Bug crypt/25441] New: DOS attack risk caused by incomplete system password check function Date: Wed, 22 Jan 2020 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: crypt X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: weinull at outlook dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00192.txt.bz2 Content-length: 3076 https://sourceware.org/bugzilla/show_bug.cgi?id=25441 Bug ID: 25441 Summary: DOS attack risk caused by incomplete system password check function Product: glibc Version: unspecified Status: UNCONFIRMED Severity: critical Priority: P2 Component: crypt Assignee: unassigned at sourceware dot org Reporter: weinull at outlook dot com Target Milestone: --- Created attachment 12225 --> https://sourceware.org/bugzilla/attachment.cgi?id=12225&action=edit demo Hi Security Team: I found a security problem in the underlying crypt function of the system. The crypt function can be used for password checking, because the crypt function does not limit the length of the password. When checking a very long password, this function will always be in calculation and cannot return normally. And, the CPU usage rate reaches 100%. Failure to return normally will cause the program using this function to be abnormal and achieve the effect of a DOS attack. The crypt function in the official documentation states that the function of the function is used for password checking. Developers believe that this function is very secure, so they will use this function for password checking (usually used for system password checking, and some applications also Will use this function to check their own password), when developers do not limit the length of the password will trigger a DOS attack, usually the password check is in the login function, the login function can usually be remotely operated, all can Implement remote DOS attacks without authentication. I have found this problem with multiple products, for example: 1. Linux PAM (Verification only) 2. VMware related products (DoS attacks have been implemented, reported to vendors) 3. FreeNAS related products(DoS attacks have been implemented, reported to vendors) 4. The crypt module in the Python standard library (Verification only, reported to vendors) 5. Management port of a brand server(DoS attacks have been implemented, reported to vendors) Many products will use this function for password checking, and fully trust the security of this function (the related products listed can be used as proof). If no other protection measures are taken, it is easy to implement DOS attacks (including possible switches, routers, etc. (Such as key network equipment), the password length should be limited, normal passwords will not be very long, it should be a system-level function, it should be controlled from the system level, and it can not be limited only by the product developer. Because it is a problem with the underlying functions of the system, all Linux distributions will be affected. /glibc/crypt/crypt-entry.c I wrote some demos, I put it in the attachment, you can test. If you have any questions, please send me an email and look forward to your reply, thank you. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47183-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 12:55:50 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 55677 invoked by alias); 22 Jan 2020 12:55:49 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 55622 invoked by uid 48); 22 Jan 2020 12:55:45 -0000 From: "weinull at outlook dot com" To: glibc-bugs@sourceware.org Subject: [Bug crypt/25441] DOS attack risk caused by incomplete system password check function Date: Wed, 22 Jan 2020 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: crypt X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: weinull at outlook dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00193.txt.bz2 Content-length: 392 https://sourceware.org/bugzilla/show_bug.cgi?id=25441 weinull changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |weinull at outlook dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47184-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 13:03:34 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 6374 invoked by alias); 22 Jan 2020 13:03:33 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 6297 invoked by uid 48); 22 Jan 2020 13:03:29 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug crypt/25441] DOS attack risk caused by incomplete system password check function Date: Wed, 22 Jan 2020 13:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: crypt X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00194.txt.bz2 Content-length: 554 https://sourceware.org/bugzilla/show_bug.cgi?id=25441 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com See Also| |https://sourceware.org/bugz | |illa/show_bug.cgi?id=20616 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47185-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 13:03:34 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 6516 invoked by alias); 22 Jan 2020 13:03:34 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 6330 invoked by uid 48); 22 Jan 2020 13:03:30 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug crypt/20616] Limit crypt rounds to avoid denial of service Date: Wed, 22 Jan 2020 13:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: crypt X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00195.txt.bz2 Content-length: 479 https://sourceware.org/bugzilla/show_bug.cgi?id=20616 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceware.org/bugz | |illa/show_bug.cgi?id=25441 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47186-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 14:39:35 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 22485 invoked by alias); 22 Jan 2020 14:39:34 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 22439 invoked by uid 48); 22 Jan 2020 14:39:30 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/14578] fchmodat(..., AT_SYMLINK_NOFOLLOW) returns ENOTSUP on non-symlinks Date: Wed, 22 Jan 2020 14:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00196.txt.bz2 Content-length: 1655 https://sourceware.org/bugzilla/show_bug.cgi?id=14578 --- Comment #12 from Florian Weimer --- (In reply to Eric Blake from comment #11) > (In reply to joseph@codesourcery.com from comment #4) > > I don't know if O_PATH will do the trick. If it does, what do kernels > > before 2.6.39 (when O_PATH was introduced) do when O_PATH is used? (If > > they just ignore it and open the file as if O_PATH were not present, then > > we'd need to make sure not to try using O_PATH on older kernels, to avoid > > any side-effects from opening device files, for example.) > > O_PATH will do the trick for kernels 3.6 and newer; here's a discussion > where qemu implemented a solution similar to Rich's pseudo-solution: > https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg01600.html > https://lists.gnu.org/archive/html/qemu-devel/2017-08/msg01812.html I think the Linux 3.6 refers to fstat support for O_PATH descriptors. fstatat with AT_EMPTY_PATH should work for them since kernel 2.6.39: commit 65cfc6722361570bfe255698d9cd4dccaf47570d Author: Al Viro Date: Sun Mar 13 15:56:26 2011 -0400 readlinkat(), fchownat() and fstatat() with empty relative pathnames For readlinkat() we simply allow empty pathname; it will fail unless we have dfd equal to O_PATH-opened symlink, so we are outside of POSIX scope here. For fchownat() and fstatat() we allow AT_EMPTY_PATH; let the caller explicitly ask for such behaviour. Signed-off-by: Al Viro -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47187-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 14:39:48 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 22852 invoked by alias); 22 Jan 2020 14:39:47 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 22803 invoked by uid 48); 22 Jan 2020 14:39:43 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/14578] fchmodat(..., AT_SYMLINK_NOFOLLOW) returns ENOTSUP on non-symlinks Date: Wed, 22 Jan 2020 14:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00197.txt.bz2 Content-length: 464 https://sourceware.org/bugzilla/show_bug.cgi?id=14578 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at sourceware dot org |fweimer at redhat dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47188-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 14:43:32 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 26802 invoked by alias); 22 Jan 2020 14:43:32 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 26742 invoked by uid 48); 22 Jan 2020 14:43:27 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/21604] glibc fails to build with a gcc/musl toolchain Date: Wed, 22 Jan 2020 14:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.25 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00198.txt.bz2 Content-length: 411 https://sourceware.org/bugzilla/show_bug.cgi?id=21604 Aladjev Andrew changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aladjev.andrew at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47189-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 15:16:37 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 78941 invoked by alias); 22 Jan 2020 15:16:36 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 78875 invoked by uid 48); 22 Jan 2020 15:16:32 -0000 From: "nicolas.cavallari@green-communications.fr" To: glibc-bugs@sourceware.org Subject: [Bug libc/25442] New: openlog() keep reference to ident that caller may have freed Date: Wed, 22 Jan 2020 15:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nicolas.cavallari@green-communications.fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00199.txt.bz2 Content-length: 1379 https://sourceware.org/bugzilla/show_bug.cgi?id=25442 Bug ID: 25442 Summary: openlog() keep reference to ident that caller may have freed Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: nicolas.cavallari@green-communications.fr CC: drepper.fsp at gmail dot com Target Milestone: --- When calling openlog(ident, 0, 0) glibc, instead of copying ident to a safe place, saves only the pointer. If the memory pointed by the pointer is freed, the behavior of the program is undefined when the syslog() function attempts to use it. The expected output of the program below is "save the planet" "save the string" being written in syslog. The actual result is "hack the planet" and an use-after-free. #include #include #include int main() { char* buf = malloc(12); strcpy(buf, "save"); openlog(buf, 0, LOG_USER); strcpy(buf, "hack"); syslog(LOG_CRIT, "the planet"); free(buf); syslog(LOG_CRIT, "the string"); closelog(); return 0; } -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47190-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 15:44:52 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 118507 invoked by alias); 22 Jan 2020 15:44:52 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 118463 invoked by uid 48); 22 Jan 2020 15:44:48 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25442] openlog() keep reference to ident that caller may have freed Date: Wed, 22 Jan 2020 15:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00200.txt.bz2 Content-length: 925 https://sourceware.org/bugzilla/show_bug.cgi?id=25442 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andreas Schwab --- openlog is not documented to copy the string, thus you need to keep it alive. NOTES The argument ident in the call of openlog() is probably stored as-is. Thus, if the string it points to is changed, syslog() may start prepending the changed string, and if the string it points to ceases to exist, the results are undefined. Most portable is to use a string constant. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47191-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 16:13:01 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 30465 invoked by alias); 22 Jan 2020 16:13:01 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 30405 invoked by uid 48); 22 Jan 2020 16:12:57 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/14578] fchmodat(..., AT_SYMLINK_NOFOLLOW) returns ENOTSUP on non-symlinks Date: Wed, 22 Jan 2020 16:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00201.txt.bz2 Content-length: 411 https://sourceware.org/bugzilla/show_bug.cgi?id=14578 Aladjev Andrew changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aladjev.andrew at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47192-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 18:13:10 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 20939 invoked by alias); 22 Jan 2020 18:13:10 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 20882 invoked by uid 48); 22 Jan 2020 18:13:06 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25305] wrong _SC_ARG_MAX from sysconf Date: Wed, 22 Jan 2020 18:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00202.txt.bz2 Content-length: 1437 https://sourceware.org/bugzilla/show_bug.cgi?id=25305 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |carlos at redhat dot com Resolution|--- |WONTFIX --- Comment #2 from Carlos O'Donell --- (In reply to Florian Weimer from comment #1) > I'm worried that returning 128 KiB in all cases would result in a > substantial performance regression in tools like xargs. I agree. I went through all of the kernel discussions. There are three values: * _POSIX_ARG_MAX - static lower limit (safe) * ARG_MAX - static upper limit * sysconf (_SC_ARG_MAX) - runtime upper limit (maximum) You need to implement dynamic detection of the usable value between the two extreme values depending on your application requirements and kernel behaviour. There simply isn't a portable way to optimize for the largest value. Anything else requires new kernel interfaces to provide a 1:1 semantic mapping with the implementation. I'm going to mark this as RESOLVED/WONTFIX. Please feel free to reopen or discuss on libc-alpha@sourceware.org with the whole community. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47193-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 22 20:06:19 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 108951 invoked by alias); 22 Jan 2020 20:06:18 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 108882 invoked by uid 48); 22 Jan 2020 20:06:14 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/14578] fchmodat(..., AT_SYMLINK_NOFOLLOW) returns ENOTSUP on non-symlinks Date: Wed, 22 Jan 2020 20:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00203.txt.bz2 Content-length: 280 https://sourceware.org/bugzilla/show_bug.cgi?id=14578 --- Comment #13 from Florian Weimer --- Patches posted: https://sourceware.org/ml/libc-alpha/2020-01/msg00510.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47194-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 24 15:56:13 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 33737 invoked by alias); 24 Jan 2020 15:56:13 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 33712 invoked by uid 48); 24 Jan 2020 15:56:09 -0000 From: "bjorn.van.ingelgem at axsguard dot com" To: glibc-bugs@sourceware.org Subject: [Bug nss/25457] New: hosts lookup fails for ipv4mapped ipv6 addresses Date: Fri, 24 Jan 2020 15:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nss X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bjorn.van.ingelgem at axsguard dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00204.txt.bz2 Content-length: 1014 https://sourceware.org/bugzilla/show_bug.cgi?id=25457 Bug ID: 25457 Summary: hosts lookup fails for ipv4mapped ipv6 addresses Product: glibc Version: 2.30 Status: UNCONFIRMED Severity: normal Priority: P2 Component: nss Assignee: unassigned at sourceware dot org Reporter: bjorn.van.ingelgem at axsguard dot com Target Milestone: --- Created attachment 12228 --> https://sourceware.org/bugzilla/attachment.cgi?id=12228&action=edit lookup Lookup when 10.20.30.40 is added to the hosts file. 10.20.30.40 www.example.com $ ./gni_mapped look up via IPv4: 0/www.example.com look up via IPv6: -2/not found ---------------------------------- Lookup when ::ffff:10.20.30.40 is added to the hosts file. ::ffff:10.20.30.40 $ ./gni_mapped look up via IPv4: 0/www.example.com look up via IPv6: -2/www.example.com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47195-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 24 17:39:36 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 52311 invoked by alias); 24 Jan 2020 17:39:36 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 52251 invoked by uid 48); 24 Jan 2020 17:39:32 -0000 From: "matthijsvanduin at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/17176] backtrace() not working on ARMv7a Date: Fri, 24 Jan 2020 17:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.18 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: matthijsvanduin at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00205.txt.bz2 Content-length: 1093 https://sourceware.org/bugzilla/show_bug.cgi?id=17176 Matthijs van Duin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matthijsvanduin at gmail dot com --- Comment #5 from Matthijs van Duin --- Backtrace doesn't work for the same reason throwing exceptions from signal handlers doesn't work: glibc on ARM doesn't support unwinding through signal handlers. This is something for which I showed a standalone fix a while back [1], which also fixes backtrace [2]. It can serve as example for anyone feeling motivated to fix the problem in glibc itself. It does still require the code that causes the segfault to be compiled with -fnon-call-exceptions or -fasynchronous-unwind-tables. [1] https://gcc.gnu.org/ml/gcc/2015-10/msg00018.html [2] https://gcc.gnu.org/ml/gcc/2015-10/msg00022.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47196-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Jan 25 14:28:06 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 57157 invoked by alias); 25 Jan 2020 14:28:06 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 57050 invoked by uid 48); 25 Jan 2020 14:28:00 -0000 From: "romain.geissler at amadeus dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25271] undeclared identifier PTHREAD_MUTEX_DEFAULT when compiling with -std1 Date: Sat, 25 Jan 2020 14:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: romain.geissler at amadeus dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00206.txt.bz2 Content-length: 1983 https://sourceware.org/bugzilla/show_bug.cgi?id=25271 Romain Geissler changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |romain.geissler at amadeus dot com --- Comment #12 from Romain Geissler --- Hi, Please note that this cases happened to me when I tried to bootstrap clang/llvm using the latest glibc master: FAILED: CMakeFiles/clang_rt.builtins-x86_64.dir/emutls.c.o /workdir/build/final-system/llvm-build/./bin/clang --target=x86_64-1a-linux-gnu -DVISIBILITY_HIDDEN -O2 -msse -msse2 -msse3 -I/workdir/build/final-system/llvm-temporary-static-dependencies/install/include -I/workdir/build/final-system/llvm-temporary-static-dependencies/install/include/ncursesw -O3 -DNDEBUG -m64 -std=c11 -fPIC -fno-builtin -fvisibility=hidden -fomit-frame-pointer -MD -MT CMakeFiles/clang_rt.builtins-x86_64.dir/emutls.c.o -MF CMakeFiles/clang_rt.builtins-x86_64.dir/emutls.c.o.d -o CMakeFiles/clang_rt.builtins-x86_64.dir/emutls.c.o -c /workdir/src/llvm-11.0.0/compiler-rt/lib/builtins/emutls.c /workdir/src/llvm-11.0.0/compiler-rt/lib/builtins/emutls.c:52:39: error: use of undeclared identifier 'PTHREAD_MUTEX_DEFAULT' static pthread_mutex_t emutls_mutex = PTHREAD_MUTEX_INITIALIZER; ^ /opt/1A/toolchain/x86_64-v21.0.0/include/pthread.h:87:36: note: expanded from macro 'PTHREAD_MUTEX_INITIALIZER' { { __PTHREAD_MUTEX_INITIALIZER (PTHREAD_MUTEX_DEFAULT) } } ^ So I am not sure whether glibc or clang must be changed, but I guess that's annoying that a few days before the glibc 2.31 there is such a build failure when building clang with this new glibc ;) Cheers, Romain -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47197-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Jan 25 22:53:34 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 103155 invoked by alias); 25 Jan 2020 22:53:34 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 102671 invoked by uid 48); 25 Jan 2020 22:53:23 -0000 From: "digitalfreak at lingonborough dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25119] Change Czech weekday names to lowercase Date: Sat, 25 Jan 2020 22:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: digitalfreak at lingonborough dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00207.txt.bz2 Content-length: 1507 https://sourceware.org/bugzilla/show_bug.cgi?id=25119 --- Comment #5 from Rafal Luzynski --- (In reply to Jan Slaný from comment #4) > I haven't consulted this with the maintainers. The last change mentioned in > the file header is from the year 2000 and I don't really know whom to > contact. Is there any maintainers list I can check? I have just contacted (off-line) a Czech software translator and we are going to discuss this issue more thoroughly. > You are right in guessing that the weekday mostly appears in the beginning > of a date format. I am aware that the capitalized version may be desired in > some cases, but these are limited to the beginnings of titles or sentences. > The current solution prevents us from writing proper sentences like "Today > is Friday, the first of November", which requires a lowercase version of the > weekday in Czech. This is a case we discussed in another bug report. Your example is a complete sentence translation and my answer is: no, glibc' strftime function is not supposed to support this complex cases. Its purpose is to format dates. If you need a complete sentence you need an automatic translation software. :-) > In short, I feel that the decision whether to capitalize or not should > really be left upon the author of the text. True, this is reported as bug 21370 but we don't yet have a solution. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47198-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 27 09:55:21 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 119606 invoked by alias); 27 Jan 2020 09:55:20 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 119327 invoked by uid 48); 27 Jan 2020 09:55:15 -0000 From: "uli42 at gmx dot de" To: glibc-bugs@sourceware.org Subject: [Bug stdio/1190] fgetc()/fread() behaviour is not POSIX compliant Date: Mon, 27 Jan 2020 09:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: stdio X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: uli42 at gmx dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: siddhesh at sourceware dot org X-Bugzilla-Target-Milestone: 2.28 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00208.txt.bz2 Content-length: 1109 https://sourceware.org/bugzilla/show_bug.cgi?id=1190 Ulrich Sibiller changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |uli42 at gmx dot de --- Comment #21 from Ulrich Sibiller --- Well, I have come across a binary only software that is no longer maintained that I require for some compatibility tests. This software fails on glibc 2.28 (Debian Buster) due to the fix introduced via this bugzilla, I recompiled glibc with the patch removed and the software works fine. So I would like to have a way to restore the old behaviour during runtime. BTW: the software is NoMachine's nxclient which is no longer available from NoMachine but in a repackaged version from here: https://unixforum.org/up/nxman/nxclient_3.5.0.7-eter4debian_amd64.deb. See https://github.com/dimbor-ru/freenx-server/issues/5 for a discussion about the topic. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47199-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 27 13:12:35 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 93769 invoked by alias); 27 Jan 2020 13:12:35 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 93625 invoked by uid 48); 27 Jan 2020 13:12:31 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/18419] add an option to resolv.conf to set all-zeros edns-client-subnet option Date: Mon, 27 Jan 2020 13:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00209.txt.bz2 Content-length: 873 https://sourceware.org/bugzilla/show_bug.cgi?id=18419 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #5 from Florian Weimer --- It turns out that ECS requires retrying queries in complex ways because the REFUSED error code was overloaded. (There are likely other issues as well.) This is impossible to implement efficiently without persisting state across multiple processes, so it requires running some sort of daemon. At this point, you can just install a DNS local resolver such as Unbound. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47200-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 27 13:25:37 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 8341 invoked by alias); 27 Jan 2020 13:25:36 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 8275 invoked by uid 48); 27 Jan 2020 13:25:32 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25271] undeclared identifier PTHREAD_MUTEX_DEFAULT when compiling with -std1 Date: Mon, 27 Jan 2020 13:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00210.txt.bz2 Content-length: 464 https://sourceware.org/bugzilla/show_bug.cgi?id=25271 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED Assignee|unassigned at sourceware dot org |fweimer at redhat dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47201-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 27 13:56:34 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 68753 invoked by alias); 27 Jan 2020 13:56:33 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 68702 invoked by uid 48); 27 Jan 2020 13:56:30 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25271] undeclared identifier PTHREAD_MUTEX_DEFAULT when compiling with -std1 Date: Mon, 27 Jan 2020 13:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00211.txt.bz2 Content-length: 278 https://sourceware.org/bugzilla/show_bug.cgi?id=25271 --- Comment #13 from Florian Weimer --- Patch posted: https://sourceware.org/ml/libc-alpha/2020-01/msg00580.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47202-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Jan 27 14:50:33 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 22589 invoked by alias); 27 Jan 2020 14:50:33 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 22518 invoked by uid 48); 27 Jan 2020 14:50:29 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/20450] resolv: Add timeout-ms option Date: Mon, 27 Jan 2020 14:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.24 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00212.txt.bz2 Content-length: 686 https://sourceware.org/bugzilla/show_bug.cgi?id=20450 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlos at redhat dot com --- Comment #2 from Carlos O'Donell --- Even though there are existing patches for this we need to review all the timeouts across the resolver and reconcile them. In fact I expect we'll need to rewrite quite a bit of code to get this timeout to work reliably. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47203-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 28 04:30:59 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 52280 invoked by alias); 28 Jan 2020 04:30:59 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 52173 invoked by uid 48); 28 Jan 2020 04:30:55 -0000 From: "akhilesh.k at samsung dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25474] New: Add MADV_COLD and MADV_PAGEOUT from Linux 5.4 Date: Tue, 28 Jan 2020 04:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akhilesh.k at samsung dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00213.txt.bz2 Content-length: 892 https://sourceware.org/bugzilla/show_bug.cgi?id=25474 Bug ID: 25474 Summary: Add MADV_COLD and MADV_PAGEOUT from Linux 5.4 Product: glibc Version: 2.30 Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: akhilesh.k at samsung dot com CC: drepper.fsp at gmail dot com Target Milestone: --- Created attachment 12234 --> https://sourceware.org/bugzilla/attachment.cgi?id=12234&action=edit patch adds the new MADV_COLD and MADV_PAGEOUT taken from Linux 5.4 Two new madvise() flags: MADV_COLD and MADV_PAGEOUT added in linux 5.4 This patch adds the new MADV_COLD and MADV_PAGEOUT from Linux 5.4 to bits/mman-linux.h. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47204-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 28 05:59:38 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 85349 invoked by alias); 28 Jan 2020 05:59:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 85323 invoked by uid 48); 28 Jan 2020 05:59:34 -0000 From: "akhilesh.k at samsung dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25474] Adding MADV_COLD and MADV_PAGEOUT from Linux 5.4 Date: Tue, 28 Jan 2020 05:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akhilesh.k at samsung dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00214.txt.bz2 Content-length: 473 https://sourceware.org/bugzilla/show_bug.cgi?id=25474 Akhilesh Kumar changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Add MADV_COLD and |Adding MADV_COLD and |MADV_PAGEOUT from Linux 5.4 |MADV_PAGEOUT from Linux 5.4 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47205-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 28 16:47:13 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 64793 invoked by alias); 28 Jan 2020 16:47:13 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 64696 invoked by uid 48); 28 Jan 2020 16:47:08 -0000 From: "fw at ferncast dot de" To: glibc-bugs@sourceware.org Subject: [Bug network/16738] gai_suspend returns EAI_SYSTEM when timeout is hit and DONT_NEED_GAI_MISC_COND is defined Date: Tue, 28 Jan 2020 16:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fw at ferncast dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00215.txt.bz2 Content-length: 1312 https://sourceware.org/bugzilla/show_bug.cgi?id=16738 Florian Wickert changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fw at ferncast dot de --- Comment #1 from Florian Wickert --- Created attachment 12235 --> https://sourceware.org/bugzilla/attachment.cgi?id=12235&action=edit Fix the result of GAI_MISC_WAIT for timeouts Almost six years later I stumbled across this bug. The GAI_MISC_WAIT macro (sysdeps/nptl/gai_misc.h) is used in two places only. One of which ignores the value in the "result" variable. Because of this, there should not be any side-effects when changing else if (status == ETIMEDOUT) \ result = EAGAIN; \ into else if (status == ETIMEDOUT) \ result = ETIMEDOUT; \ After this change, the macro has two possible return values: EINTR and ETIMEDOUT. These are also the ones which gai_suspend expects to see. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47206-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Jan 28 22:25:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 58773 invoked by alias); 28 Jan 2020 22:25:14 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 58402 invoked by uid 55); 28 Jan 2020 22:24:46 -0000 From: "joseph at codesourcery dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25474] Adding MADV_COLD and MADV_PAGEOUT from Linux 5.4 Date: Tue, 28 Jan 2020 22:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00216.txt.bz2 Content-length: 490 https://sourceware.org/bugzilla/show_bug.cgi?id=25474 --- Comment #1 from joseph at codesourcery dot com --- This change went in in November. If you wish to propose a backport to a release branch for some reason, the backport commit should be prepared with "git cherry-pick -x" and proposed on libc-stable. https://sourceware.org/glibc/wiki/Release#General_policy -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47207-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 29 05:36:16 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 79082 invoked by alias); 29 Jan 2020 05:36:16 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 79024 invoked by uid 48); 29 Jan 2020 05:36:12 -0000 From: "akhilesh.k at samsung dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25474] Add MADV_COLD and MADV_PAGEOUT from Linux 5.4 Date: Wed, 29 Jan 2020 05:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akhilesh.k at samsung dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00217.txt.bz2 Content-length: 470 https://sourceware.org/bugzilla/show_bug.cgi?id=25474 Akhilesh Kumar changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Adding MADV_COLD and |Add MADV_COLD and |MADV_PAGEOUT from Linux 5.4 |MADV_PAGEOUT from Linux 5.4 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47208-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 29 15:47:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 30292 invoked by alias); 29 Jan 2020 15:47:15 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 30272 invoked by uid 48); 29 Jan 2020 15:47:10 -0000 From: "pavel.devecka at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25481] New: getaddrinfo() doesn't resolve IPv4 localhost, when an unrelated IPv4 long line is present in the /etc/hosts Date: Wed, 29 Jan 2020 15:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.22 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: pavel.devecka at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00218.txt.bz2 Content-length: 2207 https://sourceware.org/bugzilla/show_bug.cgi?id=25481 Bug ID: 25481 Summary: getaddrinfo() doesn't resolve IPv4 localhost, when an unrelated IPv4 long line is present in the /etc/hosts Product: glibc Version: 2.22 Status: UNCONFIRMED Severity: minor Priority: P2 Component: network Assignee: unassigned at sourceware dot org Reporter: pavel.devecka at gmail dot com Target Milestone: --- • getaddrinfo() is unable to resolve the IPv4 localhost hostname in situation, when an unrelated IPv4 line in /etc/hosts has 29 entries for an unrelated IP. (Example of such line is at the bottom of this bug report.) • When any 1 of the aliases is removed, this behavior disappears. • When "x" is put instead of the alias removed in the previous point, this behavior returns. • Above behavior has been observed with glibc-2.22-62.6.2.x86_64, glibc-2.22-62.13.2.x86_64 and glibc-2.22-100.15.4.x86_64. • Vendor (SUSE) refuses to continue to troubleshoot this, because according to them limits hit here "are well beyond the scope of a proper use case for /etc/hosts", which seems to be a reasonable argument. --- 12.34.5.67 xxxxxxxxxx12 xxxxxxxxxx12.3456.7890.xxx.xx.xxx xxxxxxxxxx12.xx.xxxxxxxx.xxxxx xxxxxxxxxx12.xxxx.xxxxxxxx.xxxxx xxx-xxxx-x12.xxxx.xxxxxxxx.xxxxx xxx-xxxx-x12.xxxxxxx.xxx xxx-xxx1-x23.xxxx.xxxxxxxx.xxxxx xxx-xxx1-x23.xxxxxxx.xxx xxx.xxxxxxx.xxx xxx-xxxx-x12.xxxx.xxxxxxxx.xxxxx xxxxx.xxxxxxx.xxx xxx-xxxx-x12.xxxx.xxxxxxxx.xxxxx xxx-xxxxxx-x12.xxxx.xxxxxxxx.xxxxx xxx-xx-x12.xxxx.xxxxxxxx.xxxxx xxx-xx-x12.xx.xxxxxxxx.xxxxx xxx-xxxxx-xx.xxxxxxx.xxx xxx-xxxxx-xx xxx-xxxxx-xx.xx.xxxxxxxx.xxxxx xxxxxx12.xxxxxxx.xxx xxxxxx_xxx xxxxxx_xxx.xxxxxxx.xxx xxxxxxxxx.xxxxxxx.xxx xxxxxxx.xxxxxxx.xxx xxx-xxxxx-x12.xxxxxxxxxx.xxxxxxxx xxx-xxxxxx-x12.xx.xxxxxxxx.xxxxx xxx-xxxxxx-x12.xxxx.xxxxxxxx.xxxxx xxx-xxxxx-x12.xxxx.xxxxxxxx.xxxxx xxx-xxxxx-x12.xx.xxxxxxxx.xxxxx xxxxxxx.xxxxxxx.xxx -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47209-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 29 16:31:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 69998 invoked by alias); 29 Jan 2020 16:30:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 29997 invoked by uid 48); 29 Jan 2020 16:30:25 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25481] getaddrinfo() doesn't resolve IPv4 localhost, when an unrelated IPv4 long line is present in the /etc/hosts Date: Wed, 29 Jan 2020 16:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.22 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc see_also assigned_to everconfirmed flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00219.txt.bz2 Content-length: 1096 https://sourceware.org/bugzilla/show_bug.cgi?id=25481 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2020-01-29 CC| |fweimer at redhat dot com See Also| |https://sourceware.org/bugz | |illa/show_bug.cgi?id=18991 Assignee|unassigned at sourceware dot org |fweimer at redhat dot com Ever confirmed|0 |1 Flags| |security- --- Comment #1 from Florian Weimer --- I believe this is bug 18991. This was fixed in glibc 2.28. Can you test that glibc version (or the current master version) to see if this fixes the bug as well? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47210-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jan 29 16:31:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 71380 invoked by alias); 29 Jan 2020 16:31:25 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 70233 invoked by uid 48); 29 Jan 2020 16:31:13 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug nss/18991] nss_files skips large entry in database Date: Wed, 29 Jan 2020 16:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nss X-Bugzilla-Version: 2.22 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.28 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00220.txt.bz2 Content-length: 479 https://sourceware.org/bugzilla/show_bug.cgi?id=18991 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceware.org/bugz | |illa/show_bug.cgi?id=25481 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47211-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 30 06:46:31 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 102904 invoked by alias); 30 Jan 2020 06:46:30 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 102864 invoked by uid 48); 30 Jan 2020 06:46:26 -0000 From: "tejesh.opensrc at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug glob/25414] 'glob' use-after-free bug Date: Thu, 30 Jan 2020 06:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: glob X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tejesh.opensrc at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00221.txt.bz2 Content-length: 428 https://sourceware.org/bugzilla/show_bug.cgi?id=25414 tejesh.opensrc at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tejesh.opensrc at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47212-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 30 08:57:59 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 75763 invoked by alias); 30 Jan 2020 08:57:58 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 75666 invoked by uid 48); 30 Jan 2020 08:57:53 -0000 From: "romain.geissler at amadeus dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25271] undeclared identifier PTHREAD_MUTEX_DEFAULT when compiling with -std1 Date: Thu, 30 Jan 2020 08:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: romain.geissler at amadeus dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00222.txt.bz2 Content-length: 364 https://sourceware.org/bugzilla/show_bug.cgi?id=25271 --- Comment #14 from Romain Geissler --- Thanks for posting this ! I have not seen any concern on the mailing list about it, so shall it be pushed into master just before the release ? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47213-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 30 14:56:00 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 57079 invoked by alias); 30 Jan 2020 14:55:59 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 56330 invoked by uid 55); 30 Jan 2020 14:55:52 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25271] undeclared identifier PTHREAD_MUTEX_DEFAULT when compiling with -std1 Date: Thu, 30 Jan 2020 14:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00223.txt.bz2 Content-length: 1468 https://sourceware.org/bugzilla/show_bug.cgi?id=25271 --- Comment #15 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9baa46aa7b1aa56c8fb313013bb9aecf4ed96504 commit 9baa46aa7b1aa56c8fb313013bb9aecf4ed96504 Author: Florian Weimer Date: Thu Jan 30 15:54:49 2020 +0100 nptl: Avoid using PTHREAD_MUTEX_DEFAULT in macro definition [BZ #25271] Commit 1c3f9acf1f1f75faa7a28bf39af64afd ("nptl: Add struct_mutex.h") replaced a zero constant with the identifier PTHREAD_MUTEX_DEFAULT in the macro PTHREAD_MUTEX_INITIALIZER. However, that constant is not available in ISO C11 mode: In file included from /usr/include/bits/thread-shared-types.h:74, from /usr/include/bits/pthreadtypes.h:23, from /usr/include/pthread.h:26, from bug25271.c:1: bug25271.c:3:21: error: ‘PTHREAD_MUTEX_DEFAULT’ undeclared here (not in a function) 3 | pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER; | ^~~~~~~~~~~~~~~~~~~~~~~~~ This commit change the constant to the equivalent PTHREAD_MUTEX_TIMED_NP, which is in the POSIX extension namespace and thus always available. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47214-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Jan 30 14:56:40 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 61628 invoked by alias); 30 Jan 2020 14:56:39 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 60983 invoked by uid 48); 30 Jan 2020 14:56:33 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25271] undeclared identifier PTHREAD_MUTEX_DEFAULT when compiling with -std1 Date: Thu, 30 Jan 2020 14:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00224.txt.bz2 Content-length: 580 https://sourceware.org/bugzilla/show_bug.cgi?id=25271 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.31 --- Comment #16 from Florian Weimer --- Fixed for glibc 2.31. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47215-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 31 05:59:26 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 45155 invoked by alias); 31 Jan 2020 05:59:25 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 45097 invoked by uid 48); 31 Jan 2020 05:59:20 -0000 From: "lzsiga at freemail dot c3.hu" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] New: ld-linux-x86-64.so exports 'calloc' but imports 'malloc' from 'libc.so.6' Date: Fri, 31 Jan 2020 05:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lzsiga at freemail dot c3.hu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00225.txt.bz2 Content-length: 3141 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 Bug ID: 25486 Summary: ld-linux-x86-64.so exports 'calloc' but imports 'malloc' from 'libc.so.6' Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: dynamic-link Assignee: unassigned at sourceware dot org Reporter: lzsiga at freemail dot c3.hu Target Milestone: --- Hi, I think I found a situation where 'ld-linux-x86-64.so.2' exports its 'calloc' implementation (dl-minimal.c) but import 'malloc' from 'libc.so.6'. Now 'ld-linux:malloc' returns the memory zeroed, but 'libc:malloc' returns the memory dirty. The result is a 'calloc' implementation which returns dirty memory. The problem is described in details on these places: https://stackoverflow.com/questions/59956996/problem-loading-a-library-with-ffi-in-php-7-4 https://www.linuxquestions.org/questions/programming-9/debugging-dlopen-4175668676/#post6084584 and also here the same issue in a different context: https://stackoverflow.com/questions/39760479/why-does-calling-calloc-in-gdb-not-appear-to-zero-out-the-memory Details: User wants to load an external plugin into PHP via libffi. The plugin is linked with wrong dependency list (here: https://stackoverflow.com/questions/59956996/problem-loading-a-library-with-ffi-in-php-7-4#59994038 ). Also the plugin depends on glib-2.0.so. All these components stacked together result in glibs.so-2.0's constructor calling ld-linux:calloc (which in turn calls libc:malloc) gets back dirty (not zeroed) memory. Running it with DL_DEBUG=all shows the event nicely (added line-number, removed pid): 173486 relocation processing: /lib64/ld-linux-x86-64.so.2 173592 binding file /lib64/ld-linux-x86-64.so.2 [0] to /lib/x86_64-linux-gnu/libc.so.6 [0]: normal symbol `malloc' [GLIBC_2.2.5] 173633 binding file /lib64/ld-linux-x86-64.so.2 [0] to /lib/x86_64-linux-gnu/libc.so.6 [0]: normal symbol `calloc' [GLIBC_2.2.5] ... 184669 relocation processing: /usr/local/lib64/libglib-2.0.so.0 (lazy) 185310 symbol=calloc; lookup in file=./libsomething.so [0] 185311 symbol=calloc; lookup in file=/lib64/ld-linux-x86-64.so.2 [0] 185312 binding file /usr/local/lib64/libglib-2.0.so.0 [0] to /lib64/ld-linux-x86-64.so.2 [0]: normal symbol `calloc' [GLIBC_2.2.5] ... 210561 calling init: /usr/local/lib64/libglib-2.0.so.0 210614 symbol=calloc; lookup in file=./libsomething.so [0] 210615 symbol=calloc; lookup in file=/lib64/ld-linux-x86-64.so.2 [0] 210616 binding file /usr/local/lib64/libglib-2.0.so.0 [0] to /lib64/ld-linux-x86-64.so.2 [0]: normal symbol `calloc' [GLIBC_2.2.5] Suggested solution: ld-linux-x86-64.so shouldn't export symbols that exist in libc.so.6 (okay, they are 'Weak symbols' but that didn't prevent this problem); but if it does, its 'calloc' implementation call do zero the memory it returns. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47216-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 31 07:57:23 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 54484 invoked by alias); 31 Jan 2020 07:57:22 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 54445 invoked by uid 48); 31 Jan 2020 07:57:17 -0000 From: "guidovranken at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/25487] New: sinl() stack corruption from crafted input Date: Fri, 31 Jan 2020 07:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: guidovranken at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00226.txt.bz2 Content-length: 2159 https://sourceware.org/bugzilla/show_bug.cgi?id=25487 Bug ID: 25487 Summary: sinl() stack corruption from crafted input Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: math Assignee: unassigned at sourceware dot org Reporter: guidovranken at gmail dot com Target Milestone: --- Initially reported privately to the security address. #include #include int main(void) { const unsigned char _v[16] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x41, 0x5d}; long double v; memcpy(&v, _v, sizeof(v)); /* Return the result so that gcc doesn't optimize everything away */ return sinl(v); } $ gcc poc_sinl_buffer_overflow.c -lm && ./a.out *** stack smashing detected ***: terminated Aborted (core dumped) (gdb) bt #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 #1 0x00007ffff7686801 in __GI_abort () at abort.c:79 #2 0x00007ffff76cf897 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7ffff77fc988 "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:181 #3 0x00007ffff777acd1 in __GI___fortify_fail_abort (need_backtrace=need_backtrace@entry=false, msg=msg@entry=0x7ffff77fc966 "stack smashing detected") at fortify_fail.c:33 #4 0x00007ffff777ac92 in __stack_chk_fail () at stack_chk_fail.c:29 #5 0x00007ffff7abbe6a in __kernel_rem_pio2 (x=0x7fffffffda70, y=0x7fffffffda90, e0=, nx=, prec=, ipio2=0x7ffff7b042a0 ) at ../sysdeps/ieee754/dbl-64/k_rem_pio2.c:362 #6 0x0000000000000000 in ?? () This has been tested on x64 Linux with both the Ubuntu glibc and the latest git glibc. Apart from sinl, some other functions that share the same code are prone to this as well. You can show me the patch before you merge so I can test it for you. Credit: ForAllSecure Mayhem -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47217-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 31 08:28:44 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 115990 invoked by alias); 31 Jan 2020 08:28:44 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 115961 invoked by uid 48); 31 Jan 2020 08:28:40 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/25487] sinl() stack corruption from crafted input Date: Fri, 31 Jan 2020 08:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00227.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=25487 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security+ -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47218-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 31 10:46:07 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 118680 invoked by alias); 31 Jan 2020 10:46:06 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 118513 invoked by uid 48); 31 Jan 2020 10:45:58 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] ld-linux-x86-64.so exports 'calloc' but imports 'malloc' from 'libc.so.6' Date: Fri, 31 Jan 2020 10:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00228.txt.bz2 Content-length: 882 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |fweimer at redhat dot com Resolution|--- |WORKSFORME --- Comment #1 from Florian Weimer --- You will have to adjust the link order. We can change this in the dynamic loader (and it may even be a useful change because it makes setting breakpoints on the real malloc easier), but I doubt that distributions would backport this, the current behavior will remain for the foreseeable future. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47219-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 31 11:05:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 13323 invoked by alias); 31 Jan 2020 11:05:27 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 13276 invoked by uid 48); 31 Jan 2020 11:05:23 -0000 From: "pknbe at volny dot cz" To: glibc-bugs@sourceware.org Subject: [Bug time/21370] RFE: strftime() needs a "convert to titlecase" flag Date: Fri, 31 Jan 2020 11:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: time X-Bugzilla-Version: 2.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pknbe at volny dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00229.txt.bz2 Content-length: 385 https://sourceware.org/bugzilla/show_bug.cgi?id=21370 Petr Kovar changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pknbe at volny dot cz -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47220-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 31 11:08:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 35275 invoked by alias); 31 Jan 2020 11:08:48 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 35212 invoked by uid 48); 31 Jan 2020 11:08:42 -0000 From: "pknbe at volny dot cz" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25119] Change Czech weekday names to lowercase Date: Fri, 31 Jan 2020 11:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pknbe at volny dot cz X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00230.txt.bz2 Content-length: 1193 https://sourceware.org/bugzilla/show_bug.cgi?id=25119 Petr Kovar changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pknbe at volny dot cz --- Comment #6 from Petr Kovar --- I(In reply to Rafal Luzynski from comment #3) > However, one final question. I have just checked and I can see that the > uppercased weekday names in Czech have been there from the beginning. My > guess is that this is to workaround the issue: the weekday names tend to > appear in the beginning of date formats where it is better to have them > uppercased. So the question is: are you sure you want this change? Have you > consulted this with anyone else? As a Czech translator asked by Rafal to comment on this, I agree the change requested would sadly break the grammar for strings where the weekday name is at the first position. We have no control over sentence context here, so a proper fix indeed seems to be to introduce another flag. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47221-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 31 12:39:16 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 39591 invoked by alias); 31 Jan 2020 12:39:16 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 39554 invoked by uid 48); 31 Jan 2020 12:39:11 -0000 From: "lzsiga at freemail dot c3.hu" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] ld-linux-x86-64.so exports 'calloc' but imports 'malloc' from 'libc.so.6' Date: Fri, 31 Jan 2020 12:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lzsiga at freemail dot c3.hu X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00231.txt.bz2 Content-length: 964 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 --- Comment #2 from Lorinczy Zsigmond --- Created attachment 12241 --> https://sourceware.org/bugzilla/attachment.cgi?id=12241&action=edit demo module for reproduction (C source) Compilation: gcc -I/usr/local/include/glib-2.0 -o demodule.so -shared \ demodule.c -fPIC -DPIC /lib64/ld-linux-x86-64.so.2 -lglib-2.0 Call-module in PHP: #!/usr/local/bin/php Test#1 $ php demodule.php demodule.init: calloc is at 0x7f6351b80b40 returned 0x2532df0 first 8 bytes: 7f634f22d698 Test#2: $ cat demodule.php | php demodule.init: calloc is at 0x7f6b6369eb40 returned 0x32b1f00 first 8 bytes: 0 It show that it is undeterminisctic: in the second test the memory happens to be zeroed, but that's only accidental not warranted. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47222-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 31 12:47:09 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 86643 invoked by alias); 31 Jan 2020 12:47:08 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 86602 invoked by uid 48); 31 Jan 2020 12:47:03 -0000 From: "lzsiga at freemail dot c3.hu" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] ld-linux-x86-64.so exports 'calloc' but imports 'malloc' from 'libc.so.6' Date: Fri, 31 Jan 2020 12:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lzsiga at freemail dot c3.hu X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00232.txt.bz2 Content-length: 483 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 --- Comment #3 from Lorinczy Zsigmond --- (In reply to Florian Weimer from comment #1) Thank you for your quick reply -- I don't really like to be a proxy, but the original problem-owner has just reported that his shared object has been linked with Free Pascal, and he doesn't really know what should be changed. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47223-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 31 15:14:33 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 91278 invoked by alias); 31 Jan 2020 15:14:33 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 91236 invoked by uid 48); 31 Jan 2020 15:14:28 -0000 From: "lzsiga at freemail dot c3.hu" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] ld-linux-x86-64.so exports 'calloc' but imports 'malloc' from 'libc.so.6' Date: Fri, 31 Jan 2020 15:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lzsiga at freemail dot c3.hu X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00233.txt.bz2 Content-length: 437 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 --- Comment #4 from Lorinczy Zsigmond --- On the other hand, if you don't change this in the dynamic linker, the current behavior will remain for good. Please examine the demo program I attached, and if you find it believable, please change the status to VERIFIED. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47224-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Jan 31 18:24:35 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 49865 invoked by alias); 31 Jan 2020 18:24:35 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 49586 invoked by uid 48); 31 Jan 2020 18:24:11 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] ld-linux-x86-64.so exports 'calloc' but imports 'malloc' from 'libc.so.6' Date: Fri, 31 Jan 2020 18:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-01/txt/msg00234.txt.bz2 Content-length: 2084 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlos at redhat dot com --- Comment #5 from Carlos O'Donell --- (In reply to Lorinczy Zsigmond from comment #2) > gcc -I/usr/local/include/glib-2.0 -o demodule.so -shared \ > demodule.c -fPIC -DPIC /lib64/ld-linux-x86-64.so.2 -lglib-2.0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^ This usage of linking against the system ld.so is not correct. It's not clear what the purpose of this is, or why it's there. (In reply to Lorinczy Zsigmond from comment #4) > On the other hand, if you don't change this in the dynamic linker, the > current behavior will remain for good. Please examine the demo program I > attached, and if you find it believable, please change the status to > VERIFIED. It is a link order issue. You must link with libc.so first. If this is an issue with the Free Pascal compiler then please file a bug there. The dynamic loader is capable of exporting any interfaces it needs for the implementation, and it should always be linked to after the C library implementation. There is nothing wrong with the loader exporting this global symbols in the dynamic symbol table. As Florian notes it would be more robust to remove the symbols from the dynamic loader, but that's not something we're going to do right now. If you feel strongly about this robustness issue then we can rework this ticket to be an RFE for ld.so that includes removing interfaces to avoid accidental linkage. However, such an issue is very low priority and unlikley to get fixed unless somone has the explicit interest in fixing it. I appreciate the bug report, and posting here is the right way to get feedback on bugs like this. Thank you for the report. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47225-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Feb 01 06:17:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 109494 invoked by alias); 1 Feb 2020 06:17:48 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 109453 invoked by uid 48); 1 Feb 2020 06:17:44 -0000 From: "lzsiga at freemail dot c3.hu" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] ld-linux-x86-64.so exports 'calloc' but imports 'malloc' from 'libc.so.6' Date: Sat, 01 Feb 2020 06:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lzsiga at freemail dot c3.hu X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00000.txt.bz2 Content-length: 1440 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 --- Comment #6 from Lorinczy Zsigmond --- (In reply to Carlos O'Donell from comment #5) Hi, thank you for your reply. I agree, the concrete problem wouldn't have occurred if it weren't for the wrong linkage. Also, I agree, the concrete problem has to be solved via re-linking the shared object in question. Also, I agree, quick action on glibc-side is neither needed or possible. Nonetheless, this problem (the original problem, not my demo) is occurred in the wild, it wasn't fabricated to make ld-linux look bad. Also google-search for +"dl-minimal.c" +"inconsitency detected" suggests it was not the first time. Also I don't see in the documentation "don't explicitly link shared objects against ld-linux-so or else bad things might happen (under some rare conditions)". So I think this 'calloc' in 'ld-linux' is a weak point which should be eventually removed (e.g. made it unexported). > If you feel strongly about this robustness issue > then we can rework this ticket to be an RFE for ld.so > that includes removing interfaces to avoid accidental linkage. > However, such an issue is very low priority and unlikely to get fixed > unless somone has the explicit interest in fixing it. That would be okay with me, thank you. Regards: Lorinczy Zsigmond -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47226-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Feb 01 06:39:47 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 122492 invoked by alias); 1 Feb 2020 06:39:46 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 122456 invoked by uid 48); 1 Feb 2020 06:39:42 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] RFE: Stop exporting free, realloc, calloc, and malloc from ld.so Date: Sat, 01 Feb 2020 06:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on resolution short_desc everconfirmed bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00001.txt.bz2 Content-length: 948 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Last reconfirmed| |2020-02-01 Resolution|WORKSFORME |--- Summary|ld-linux-x86-64.so exports |RFE: Stop exporting free, |'calloc' but imports |realloc, calloc, and malloc |'malloc' from 'libc.so.6' |from ld.so Ever confirmed|0 |1 Severity|normal |enhancement --- Comment #7 from Carlos O'Donell --- Reopening as RFE to cleanup ld.so exported malloc API symbols. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47227-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 02 21:49:22 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 60845 invoked by alias); 2 Feb 2020 21:49:22 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 60792 invoked by uid 48); 2 Feb 2020 21:49:18 -0000 From: "zimmerma+gcc at loria dot fr" To: glibc-bugs@sourceware.org Subject: [Bug math/14469] Inaccurate j0f function Date: Sun, 02 Feb 2020 21:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zimmerma+gcc at loria dot fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00002.txt.bz2 Content-length: 1198 https://sourceware.org/bugzilla/show_bug.cgi?id=14469 Paul Zimmermann changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zimmerma+gcc at loria dot fr --- Comment #4 from Paul Zimmermann --- here is the worst case found by exhaustive search on all binary32 values with glib 2.31 on x86_64: #include #include #include extern float j0f(float); extern double j0(double); int main() { float a,r1; double r2; a=0x1.4665d2p24; fesetround(FE_TONEAREST); r1 = j0f(a); //actual result r2 = j0(a); //actual result 2 printf("inputs: a = %.6a\n", a); printf("actual = %.6a\n", r1); printf("expected = %.6a\n", r2); printf("error = %f ulp\n", fabs(r1 - r2) * exp2(23.0-logbf(r2))); return 0; } inputs: a = 0x1.4665d2p+24 actual = 0x1.1c6742p-40 expected = 0x1.4a040dp-49 error = 4760682489.747789 ulp -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47228-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 02 21:54:28 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 63821 invoked by alias); 2 Feb 2020 21:54:27 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 63775 invoked by uid 48); 2 Feb 2020 21:54:23 -0000 From: "zimmerma+gcc at loria dot fr" To: glibc-bugs@sourceware.org Subject: [Bug math/14470] Inaccurate j1f function Date: Sun, 02 Feb 2020 21:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zimmerma+gcc at loria dot fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00003.txt.bz2 Content-length: 1212 https://sourceware.org/bugzilla/show_bug.cgi?id=14470 Paul Zimmermann changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zimmerma+gcc at loria dot fr --- Comment #3 from Paul Zimmermann --- here is the worst case found by exhaustive search on all binary32 values with glibc 2.31 on x86_64: #include #include #include extern float j1f(float); extern double j1(double); int main() { float a,r1; double r2; a=0x3ba13.e8p0; //argument fesetround(FE_TONEAREST); r1 = j1f(a); //actual result r2 = j1(a); //actual result 2 printf("inputs: a = %.6a\n", a); printf("actual = %.6a\n", r1); printf("expected = %.6a\n", r2); printf("error = %f ulp\n", fabs(r1 - r2) * exp2(23.0-logbf(r2))); return 0; } inputs: a = 0x1.dd09f4p+17 actual = 0x1.4d4036p-29 expected = -0x1.db6a7ep-35 error = 714456063.171884 ulp -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47229-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 02 22:01:12 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 46286 invoked by alias); 2 Feb 2020 22:01:11 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 46242 invoked by uid 48); 2 Feb 2020 22:01:07 -0000 From: "zimmerma+gcc at loria dot fr" To: glibc-bugs@sourceware.org Subject: [Bug math/14471] Inaccurate y0f function Date: Sun, 02 Feb 2020 22:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zimmerma+gcc at loria dot fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00004.txt.bz2 Content-length: 1003 https://sourceware.org/bugzilla/show_bug.cgi?id=14471 --- Comment #4 from Paul Zimmermann --- here is the worst case found by exhaustive search on all binary32 values with glibc 2.31 on x86_64: #include #include #include extern float y0f(float); extern double y0(double); int main() { float a,r1; double r2; a=0x25c54.84p0; //argument fesetround(FE_TONEAREST); // FE_TONEAREST, FE_UPWARD, FE_DOWNWARD, and FE_TOWARDZERO r1 = y0f(a); //actual result r2 = y0(a); //actual result 2 printf("inputs: a = %.6a\n", a); printf("actual = %.6a\n", r1); printf("expected = %.6a\n", r2); printf("error = %f ulp\n", fabs(r1 - r2) * exp2(23.0-logbf(r2))); return 0; } inputs: a = 0x1.2e2a42p+17 actual = -0x1.c21d2ep-30 expected = 0x1.a48974p-40 error = 15117099194.163063 ulp -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47230-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 02 22:04:45 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 47601 invoked by alias); 2 Feb 2020 22:04:44 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 47573 invoked by uid 48); 2 Feb 2020 22:04:40 -0000 From: "zimmerma+gcc at loria dot fr" To: glibc-bugs@sourceware.org Subject: [Bug math/14472] Inaccurate y1f function Date: Sun, 02 Feb 2020 22:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zimmerma+gcc at loria dot fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00005.txt.bz2 Content-length: 1211 https://sourceware.org/bugzilla/show_bug.cgi?id=14472 Paul Zimmermann changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zimmerma+gcc at loria dot fr --- Comment #3 from Paul Zimmermann --- here is the worst case found by exhaustive search on all binary32 values with glibc 2.31 on x86_64: #include #include #include extern float y1f(float); extern double y1(double); int main() { float a,r1; double r2; a=0x32165.c8p0; //argument fesetround(FE_TONEAREST); r1 = y1f(a); //actual result r2 = y1(a); //actual result 2 printf("inputs: a = %.6a\n", a); printf("actual = %.6a\n", r1); printf("expected = %.6a\n", r2); printf("error = %f ulp\n", fabs(r1 - r2) * exp2(23.0-logbf(r2))); return 0; } inputs: a = 0x1.90b2e4p+17 actual = 0x1.c365bcp-29 expected = 0x1.1b8b88p-34 error = 464033275.951745 ulp -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47231-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 09:20:56 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 17038 invoked by alias); 3 Feb 2020 09:20:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 16928 invoked by uid 55); 3 Feb 2020 09:20:48 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 03 Feb 2020 09:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00006.txt.bz2 Content-length: 604 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #76 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Mike Fabian : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4267522f5e0309f7606a8d1da5d436a166a719e2 commit 4267522f5e0309f7606a8d1da5d436a166a719e2 Author: Jwtiyar Nariman Date: Mon Jan 13 10:06:06 2020 +0100 Add new locale: ckb_IQ (Kurdish/Sorani spoken in Iraq) [BZ #9809] -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47232-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 09:21:00 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 17361 invoked by alias); 3 Feb 2020 09:20:59 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 17007 invoked by uid 55); 3 Feb 2020 09:20:53 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Mon, 03 Feb 2020 09:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00007.txt.bz2 Content-length: 676 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #77 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Mike Fabian : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ae199e7d6423ed3bd0c8669381966ca4c58f4f49 commit ae199e7d6423ed3bd0c8669381966ca4c58f4f49 Author: Mike FABIAN Date: Mon Jan 13 10:12:07 2020 +0100 Fix ckb_IQ [BZ #9809] Add ckb_IQ to SUPPORTED file. Add ckb_IQ.UTF-8.in collation test file. Mention new ckb_IQ locale in NEWS. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47233-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 09:21:04 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 17636 invoked by alias); 3 Feb 2020 09:21:03 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 17337 invoked by uid 55); 3 Feb 2020 09:20:59 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug localedata/22525] or_IN LC_COLLATE does not use copy "iso14651_t1" Date: Mon, 03 Feb 2020 09:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00008.txt.bz2 Content-length: 650 https://sourceware.org/bugzilla/show_bug.cgi?id=22525 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Mike Fabian : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=cdeae33d71696bb0e81667d4788d0b38606aefb6 commit cdeae33d71696bb0e81667d4788d0b38606aefb6 Author: Mike FABIAN Date: Thu Dec 5 14:21:21 2019 +0100 Update or_IN collation [BZ #22525] - Add a test file or_IN.UTF-8.in. - Make the collation agree with CLDR. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47234-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 10:15:06 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 39144 invoked by alias); 3 Feb 2020 10:15:04 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 38979 invoked by uid 48); 3 Feb 2020 10:15:00 -0000 From: "zimmerma+gcc at loria dot fr" To: glibc-bugs@sourceware.org Subject: [Bug math/14469] Inaccurate j0f function Date: Mon, 03 Feb 2020 10:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zimmerma+gcc at loria dot fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00009.txt.bz2 Content-length: 535 https://sourceware.org/bugzilla/show_bug.cgi?id=14469 --- Comment #5 from Paul Zimmermann --- the large error for huge operands can be avoided by removing the optimization "if(ix>0x48000000)" around line 63 of sysdeps/ieee754/flt-32/e_j0f.c. Then for x=0x1.4665d2p24 (x=21390802) we get an error of 239 ulps only (which corresponds to the cancellation between u*cc and v*ss in the expression u*cc-v*ss at line 66). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47235-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 11:12:09 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 2646 invoked by alias); 3 Feb 2020 11:12:08 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 2593 invoked by uid 48); 3 Feb 2020 11:12:03 -0000 From: "deller at gmx dot de" To: glibc-bugs@sourceware.org Subject: [Bug libc/10353] Methods for deleting all file descriptors greater than given integer (closefrom) Date: Mon, 03 Feb 2020 11:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: deller at gmx dot de X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00010.txt.bz2 Content-length: 385 https://sourceware.org/bugzilla/show_bug.cgi?id=10353 Helge Deller changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |deller at gmx dot de -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47236-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 14:57:32 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 72371 invoked by alias); 3 Feb 2020 14:57:31 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 72344 invoked by uid 55); 3 Feb 2020 14:57:27 -0000 From: "joseph at codesourcery dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/14469] Inaccurate j0f function Date: Mon, 03 Feb 2020 14:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00011.txt.bz2 Content-length: 945 https://sourceware.org/bugzilla/show_bug.cgi?id=14469 --- Comment #6 from joseph at codesourcery dot com --- To fix the large errors properly, all of the j0 / j1 / y0 / y1 functions probably need to be reimplemented along the lines described in - expansions around each zero of the functions for small arguments, expansions based on phase and magnitude or similar functions for larger arguments (plus range reduction for phase) where the phase is either rigorously / exhaustively shown to be accurate enough (for float) or is heuristically accurate enough (for other floating-point formats, if exhaustive checks around the zeroes, until the phase approximation gets simple enough to use results on rational approximation of pi, are infeasible). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47237-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 15:12:03 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 19724 invoked by alias); 3 Feb 2020 15:12:03 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 19640 invoked by uid 55); 3 Feb 2020 15:11:58 -0000 From: "joseph at codesourcery dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/14469] Inaccurate j0f function Date: Mon, 03 Feb 2020 15:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00012.txt.bz2 Content-length: 547 https://sourceware.org/bugzilla/show_bug.cgi?id=14469 --- Comment #7 from joseph at codesourcery dot com --- has my comments on these thresholds in various Bessel function implementations (note that in some cases they also serve to avoid spurious underflow / overflow exceptions, so removing such checks in one place would require adding them in another). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47238-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 15:19:47 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 42275 invoked by alias); 3 Feb 2020 15:19:45 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 42243 invoked by uid 48); 3 Feb 2020 15:19:41 -0000 From: "zimmerma+gcc at loria dot fr" To: glibc-bugs@sourceware.org Subject: [Bug math/14469] Inaccurate j0f function Date: Mon, 03 Feb 2020 15:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zimmerma+gcc at loria dot fr X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00013.txt.bz2 Content-length: 424 https://sourceware.org/bugzilla/show_bug.cgi?id=14469 --- Comment #8 from Paul Zimmermann --- with the change proposed in comment #5, the maximal ulp error drops from 4760682496 to 6177902, and the number of binary32 inputs which give an error of 2 ulps or more drops from 310998452 to 269351612 (13% less). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47239-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 16:09:58 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 124069 invoked by alias); 3 Feb 2020 16:09:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 123979 invoked by uid 55); 3 Feb 2020 16:09:53 -0000 From: "joseph at codesourcery dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/14469] Inaccurate j0f function Date: Mon, 03 Feb 2020 16:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00014.txt.bz2 Content-length: 630 https://sourceware.org/bugzilla/show_bug.cgi?id=14469 --- Comment #9 from joseph at codesourcery dot com --- I would expect removing that check to result in spurious overflow and underflow exceptions where pzerof and qzerof compute 1/(x*x), as they don't have any other checks to avoid such exceptions. Replacing the 0x48000000 checks for float by something like 0x5c000000 should be heuristically safe (although the functions could still do with rewrites along the lines described by Harrison). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47240-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 16:12:25 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 16554 invoked by alias); 3 Feb 2020 16:12:24 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 128626 invoked by uid 48); 3 Feb 2020 16:12:08 -0000 From: "hi-angel at yandex dot ru" To: glibc-bugs@sourceware.org Subject: =?UTF-8?B?W0J1ZyBsaWJjLzI1NDk3XSBOZXc6IGZzZWVrKOKApiwg4oCmLCBTRUVLX1NF?= =?UTF-8?B?VCkgY2F1c2VzIHJlYWRpbmcgb3ZlciB0aGUgc2tpcHBlZCByYW5nZQ==?Date: Mon, 03 Feb 2020 16:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hi-angel at yandex dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00015.txt.bz2 Content-length: 1934 https://sourceware.org/bugzilla/show_bug.cgi?id=25497 Bug ID: 25497 Summary: fseek(…, …, SEEK_SET) causes reading over the skipped range Product: glibc Version: 2.30 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: hi-angel at yandex dot ru CC: drepper.fsp at gmail dot com Target Milestone: --- When fseek called, it in turn calls lseek (as expected), and then calls read() over the skipped range (as not expected). In the best case, it's a waste of CPU and IO resources. In the worst case, this causes an application that tried to skip too big range to just hang on fseek(). This is a follow up to discussion at https://sourceware.org/ml/libc-help/2020-01/threads.html#00046 # Steps to reproduce (in terms of terminal commands) $ cat test.c #include #include int main() { FILE* f = fopen("/tmp/test.c", "r"); if (!f) perror(""); fseek(f, 30, SEEK_SET); } $ gcc test.c -o a $ strace ./a 2>&1 | tail mprotect(0x7fd2c36c1000, 4096, PROT_READ) = 0 munmap(0x7fd2c3628000, 451693) = 0 brk(NULL) = 0x557c9e900000 brk(0x557c9e921000) = 0x557c9e921000 openat(AT_FDCWD, "/tmp/test.c", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=155, ...}) = 0 lseek(3, 0, SEEK_SET) = 0 read(3, "#include \n#include From glibc-bugs-return-47241-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 16:19:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 66459 invoked by alias); 3 Feb 2020 16:19:48 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 66206 invoked by uid 48); 3 Feb 2020 16:19:43 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: =?UTF-8?B?W0J1ZyBsaWJjLzI1NDk3XSBmc2VlayjigKYsIOKApiwgU0VFS19TRVQpIGNh?= =?UTF-8?B?dXNlcyByZWFkaW5nIG92ZXIgdGhlIHNraXBwZWQgcmFuZ2U=?Date: Mon, 03 Feb 2020 16:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00016.txt.bz2 Content-length: 672 https://sourceware.org/bugzilla/show_bug.cgi?id=25497 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlos at redhat dot com --- Comment #1 from Carlos O'Donell --- I'm not sure what the consequences are for optimizing away the read as part of the FILE buffer management. That is the question that would need to be answered here before we could do something like this. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47242-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 17:11:08 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 101902 invoked by alias); 3 Feb 2020 17:11:08 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 101841 invoked by uid 48); 3 Feb 2020 17:11:03 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: =?UTF-8?B?W0J1ZyBsaWJjLzI1NDk3XSBmc2VlayjigKYsIOKApiwgU0VFS19TRVQpIGNh?= =?UTF-8?B?dXNlcyByZWFkaW5nIG92ZXIgdGhlIHNraXBwZWQgcmFuZ2U=?Date: Mon, 03 Feb 2020 17:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00017.txt.bz2 Content-length: 327 https://sourceware.org/bugzilla/show_bug.cgi?id=25497 --- Comment #2 from Andreas Schwab --- The read is required to sychronize the underlying file position, while keeping the stdio buffer aligned on a block boundary. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47243-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 18:05:06 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 81201 invoked by alias); 3 Feb 2020 18:05:05 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 81081 invoked by uid 48); 3 Feb 2020 18:05:02 -0000 From: "hi-angel at yandex dot ru" To: glibc-bugs@sourceware.org Subject: =?UTF-8?B?W0J1ZyBsaWJjLzI1NDk3XSBmc2VlayjigKYsIOKApiwgU0VFS19TRVQpIGNh?= =?UTF-8?B?dXNlcyByZWFkaW5nIG92ZXIgdGhlIHNraXBwZWQgcmFuZ2U=?Date: Mon, 03 Feb 2020 18:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hi-angel at yandex dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00018.txt.bz2 Content-length: 724 https://sourceware.org/bugzilla/show_bug.cgi?id=25497 --- Comment #3 from Hi-Angel --- (In reply to Andreas Schwab from comment #2) > The read is required to sychronize the underlying file position, while > keeping the stdio buffer aligned on a block boundary. Though I don't know why it's necessary, but would it be possible in this case to at least only read just one block, that is the last block before the position a program is trying to set with fseek()? So at least, when a program tries to do fseek(…,0x80000000, SEEK_SET), it wouldn't hang on fseek trying to read half a terabyte of data. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47244-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 19:47:35 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 10748 invoked by alias); 3 Feb 2020 19:47:34 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 10132 invoked by uid 48); 3 Feb 2020 19:47:30 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: =?UTF-8?B?W0J1ZyBsaWJjLzI1NDk3XSBmc2VlayjigKYsIOKApiwgU0VFS19TRVQpIGNh?= =?UTF-8?B?dXNlcyByZWFkaW5nIG92ZXIgdGhlIHNraXBwZWQgcmFuZ2U=?Date: Mon, 03 Feb 2020 19:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00019.txt.bz2 Content-length: 249 https://sourceware.org/bugzilla/show_bug.cgi?id=25497 --- Comment #4 from Andreas Schwab --- Where do you see it reading more than one block? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47245-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 03 22:47:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 98885 invoked by alias); 3 Feb 2020 22:47:27 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 98819 invoked by uid 48); 3 Feb 2020 22:47:23 -0000 From: "hi-angel at yandex dot ru" To: glibc-bugs@sourceware.org Subject: =?UTF-8?B?W0J1ZyBsaWJjLzI1NDk3XSBmc2VlayjigKYsIOKApiwgU0VFS19TRVQpIGNh?= =?UTF-8?B?dXNlcyByZWFkaW5nIG92ZXIgdGhlIHNraXBwZWQgcmFuZ2U=?Date: Mon, 03 Feb 2020 22:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hi-angel at yandex dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00020.txt.bz2 Content-length: 633 https://sourceware.org/bugzilla/show_bug.cgi?id=25497 --- Comment #5 from Hi-Angel --- (In reply to Andreas Schwab from comment #4) > Where do you see it reading more than one block? Oh, I stand corrected, on glibc 2.30 this is no longer reproducible. Though it's reproducible on glibc 2.27, just 3 versions ago. Reproducing that simply requires one to run something like `sudo hexdump -C /dev/sda -s 0xa8000f9000 -n 1`: if it hangs, it's because `fseek()` hexdump is using tries to read 0xa8000f9000 amount of data. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47246-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 04 05:16:11 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 21601 invoked by alias); 4 Feb 2020 05:16:01 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 21521 invoked by uid 48); 4 Feb 2020 05:15:56 -0000 From: "bluebat at member dot fsf.org" To: glibc-bugs@sourceware.org Subject: [Bug localedata/24409] Updates for TW locales Date: Tue, 04 Feb 2020 05:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bluebat at member dot fsf.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: version Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00021.txt.bz2 Content-length: 378 https://sourceware.org/bugzilla/show_bug.cgi?id=24409 Wei-Lun Chao changed: What |Removed |Added ---------------------------------------------------------------------------- Version|2.30 |2.31 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47247-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 04 13:48:29 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 117961 invoked by alias); 4 Feb 2020 13:48:17 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 117889 invoked by uid 55); 4 Feb 2020 13:48:04 -0000 From: "joseph at codesourcery dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/25487] sinl() stack corruption from crafted input Date: Tue, 04 Feb 2020 13:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00022.txt.bz2 Content-length: 784 https://sourceware.org/bugzilla/show_bug.cgi?id=25487 --- Comment #1 from joseph at codesourcery dot com --- This is a pseudo-zero. Bug 4586 (relating to handling of such values in printf) was marked INVALID, but did get fixed at some point, and I think we now consider such values should not cause a buffer overrun, although they need not be consistently handled like any particular valid floating-point representation. So we should make sure __kernel_rem_pio2 only gets called with arguments where the high significand bit is set as it probably expects, even for pseudo-zero and pseudo-normal long double arguments to the original function. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47249-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 04 14:02:26 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 39159 invoked by alias); 4 Feb 2020 14:02:25 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 30112 invoked by uid 48); 4 Feb 2020 14:02:18 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/4586] printf crashes on some 'long double' values Date: Tue, 04 Feb 2020 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.3.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00024.txt.bz2 Content-length: 478 https://sourceware.org/bugzilla/show_bug.cgi?id=4586 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceware.org/bugz | |illa/show_bug.cgi?id=25487 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47248-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 04 14:02:22 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 36585 invoked by alias); 4 Feb 2020 14:02:22 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 29774 invoked by uid 48); 4 Feb 2020 14:02:17 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/25487] sinl() stack corruption from crafted input Date: Tue, 04 Feb 2020 14:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00023.txt.bz2 Content-length: 476 https://sourceware.org/bugzilla/show_bug.cgi?id=25487 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceware.org/bugz | |illa/show_bug.cgi?id=4586 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47250-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 04 16:44:41 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 27025 invoked by alias); 4 Feb 2020 16:44:40 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 26968 invoked by uid 48); 4 Feb 2020 16:44:36 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/13605] shn_MM: new Shan locale Date: Tue, 04 Feb 2020 16:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.27 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00025.txt.bz2 Content-length: 498 https://sourceware.org/bugzilla/show_bug.cgi?id=13605 --- Comment #15 from Mike FABIAN --- (In reply to kokoye2007 from comment #12) > Its small fix - 2012 version vs 2020 version If it is a small fix, it would be much nicer to have a patch instead of a complete new file with lots of changes which are just reformatting. That would make it easier to see what has really changed. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47251-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 04 21:58:53 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 63266 invoked by alias); 4 Feb 2020 21:58:52 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 63208 invoked by uid 48); 4 Feb 2020 21:58:48 -0000 From: "aurelien at aurel32 dot net" To: glibc-bugs@sourceware.org Subject: [Bug build/25506] New: configure: broken detection of STT_GNU_IFUNC when GCC defaults to PIE Date: Tue, 04 Feb 2020 21:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aurelien at aurel32 dot net X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00026.txt.bz2 Content-length: 1375 https://sourceware.org/bugzilla/show_bug.cgi?id=25506 Bug ID: 25506 Summary: configure: broken detection of STT_GNU_IFUNC when GCC defaults to PIE Product: glibc Version: 2.31 Status: NEW Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: aurelien at aurel32 dot net CC: carlos at redhat dot com Target Milestone: --- When GCC defaults to PIE, compiling the conftest.S that is used to detect for assembler and linker STT_GNU_IFUNC support emits a relocation. This causes a false positive in the detection. Example on riscv64 with a toolchain defaulting to PIE: configure:4009: checking for assembler and linker STT_GNU_IFUNC support Relocation section '.rela.dyn' at offset 0x268 contains 1 entry: Offset Info Type Sym. Value Sym. Name + Addend 000000002000 000000000003 R_RISCV_RELATIVE 280 configure:4040: result: yes And with a toolchain not default to PIE: configure:4009: checking for assembler and linker STT_GNU_IFUNC support There are no relocations in this file. configure:4040: result: no The same is reproducible on MIPS. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47252-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 05 06:16:38 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 101678 invoked by alias); 5 Feb 2020 06:16:24 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 101594 invoked by uid 48); 5 Feb 2020 06:16:14 -0000 From: "i at maskray dot me" To: glibc-bugs@sourceware.org Subject: [Bug build/25506] configure: broken detection of STT_GNU_IFUNC when GCC defaults to PIE Date: Wed, 05 Feb 2020 06:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: i at maskray dot me X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00027.txt.bz2 Content-length: 582 https://sourceware.org/bugzilla/show_bug.cgi?id=25506 Fangrui Song changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |i at maskray dot me --- Comment #1 from Fangrui Song --- R_MIPS_IRELATIVE is not defined (no non-preemptible IFUNC support) and no libc supports preemptible IFUNC... RISC-V is in the same boat.. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47253-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 05 14:28:39 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 53511 invoked by alias); 5 Feb 2020 14:28:37 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 47725 invoked by uid 48); 5 Feb 2020 14:28:33 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25508] New: mfe_MU locale: Correct orthography for the name of days and months into the official Kreol Morisien Orthography Date: Wed, 05 Feb 2020 14:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00028.txt.bz2 Content-length: 814 https://sourceware.org/bugzilla/show_bug.cgi?id=25508 Bug ID: 25508 Summary: mfe_MU locale: Correct orthography for the name of days and months into the official Kreol Morisien Orthography Product: glibc Version: 2.31 Status: NEW Severity: normal Priority: P2 Component: localedata Assignee: unassigned at sourceware dot org Reporter: maiku.fabian at gmail dot com CC: libc-locales at sourceware dot org Target Milestone: --- Copied from (better make a new bug for this instead of reopening an old one): https://sourceware.org/bugzilla/show_bug.cgi?id=21971 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47254-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 05 14:28:47 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 64351 invoked by alias); 5 Feb 2020 14:28:47 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 58447 invoked by uid 48); 5 Feb 2020 14:28:43 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25508] mfe_MU locale: Correct orthography for the name of days and months into the official Kreol Morisien Orthography Date: Wed, 05 Feb 2020 14:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00029.txt.bz2 Content-length: 397 https://sourceware.org/bugzilla/show_bug.cgi?id=25508 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |later01 at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47255-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 05 14:29:57 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 43743 invoked by alias); 5 Feb 2020 14:29:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 36599 invoked by uid 48); 5 Feb 2020 14:29:51 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25508] mfe_MU locale: Correct orthography for the name of days and months into the official Kreol Morisien Orthography Date: Wed, 05 Feb 2020 14:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00030.txt.bz2 Content-length: 779 https://sourceware.org/bugzilla/show_bug.cgi?id=25508 --- Comment #1 from Mike FABIAN --- Denis Jean write: The correct orthography for Kreol Morisien(Mauritian Creole) can be verified at http://www.cleverdodo.mu/userfiles/media/Lortograf%20Kreol%20Morisien.pdf Section 6.1.1 This is the official language that is being taught at school and the University of Mauritius, using this document as guide. This document has precedence over any other according to lecturers even over the official dictionary. The language is young and not set in stones, but for the days and months, the dictionary and AKM orthography follow the same rules. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47256-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 05 14:39:21 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 130205 invoked by alias); 5 Feb 2020 14:39:19 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 130168 invoked by uid 48); 5 Feb 2020 14:39:15 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25508] mfe_MU locale: Correct orthography for the name of days and months into the official Kreol Morisien Orthography Date: Wed, 05 Feb 2020 14:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00031.txt.bz2 Content-length: 416 https://sourceware.org/bugzilla/show_bug.cgi?id=25508 --- Comment #2 from Mike FABIAN --- Created attachment 12260 --> https://sourceware.org/bugzilla/attachment.cgi?id=12260&action=edit mfe_MU.new The new locale file, copied from: https://sourceware.org/bugzilla/show_bug.cgi?id=21971#c6 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47257-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 05 14:40:24 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 814 invoked by alias); 5 Feb 2020 14:40:24 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 543 invoked by uid 48); 5 Feb 2020 14:40:18 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/21971] Added New Locale for mfe_MU Date: Wed, 05 Feb 2020 14:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.26 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.27 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00032.txt.bz2 Content-length: 748 https://sourceware.org/bugzilla/show_bug.cgi?id=21971 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #10 from Mike FABIAN --- (In reply to Rafal Luzynski from comment #9) > For multiple reasons I suggest filing a new bug report rather than reopening > this old one. Closing as FIXED again. New bug is here: https://sourceware.org/bugzilla/show_bug.cgi?id=25508 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47258-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 05 14:42:39 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 4010 invoked by alias); 5 Feb 2020 14:42:36 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 3955 invoked by uid 48); 5 Feb 2020 14:42:31 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25508] mfe_MU locale: Correct orthography for the name of days and months into the official Kreol Morisien Orthography Date: Wed, 05 Feb 2020 14:42:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00033.txt.bz2 Content-length: 2831 https://sourceware.org/bugzilla/show_bug.cgi?id=25508 --- Comment #3 from Mike FABIAN --- Diff between the new and the old file: $ diff -u mfe_MU mfe_MU.new --- mfe_MU 2019-10-01 11:20:59.528309271 +0200 +++ mfe_MU.new 2020-02-05 15:32:42.887282654 +0100 @@ -12,14 +12,14 @@ % Contributed by Akhilesh Kumar LC_IDENTIFICATION -title "Morisyen locale for Mauritius" +title "Morisien locale for Mauritius" source "Samsung Electronics Co., Ltd." address "" contact "" email "akhilesh.k@samsung.com" tel "" fax "" -language "Morisyen" +language "Morisien" territory "Mauritius" revision "1.0" date "2017-08-18" @@ -43,52 +43,51 @@ copy "i18n" END LC_CTYPE -% http://demo.icu-project.org/icu-bin/locexp?d_=en&_=mfe LC_TIME % Abbreviated weekday names -abday "dim";/ - "lin";/ - "mar";/ - "mer";/ - "ze";/ - "van";/ - "sam" +abday "Dim";/ + "Lin";/ + "Mar";/ + "Mer";/ + "Ze";/ + "Van";/ + "Sam" % % Full weekday names -day "dimans";/ - "lindi";/ - "mardi";/ - "merkredi";/ - "zedi";/ - "vandredi";/ - "samdi" +day "Dimans";/ + "Lindi";/ + "Mardi";/ + "Merkredi";/ + "Zedi";/ + "Vandredi";/ + "Samdi" % Abbreviated month names -abmon "zan";/ - "fev";/ - "mar";/ - "avr";/ - "me";/ - "zin";/ - "zil";/ - "out";/ - "sep";/ - "okt";/ - "nov";/ - "des" +abmon "Zan";/ + "Fev";/ + "Mar";/ + "Avr";/ + "Me";/ + "Zien";/ + "Zil";/ + "Out";/ + "Sep";/ + "Okt";/ + "Nov";/ + "Des" % % Full month names -mon "zanvie";/ - "fevriye";/ - "mars";/ - "avril";/ - "me";/ - "zin";/ - "zilye";/ - "out";/ - "septam";/ - "oktob";/ - "novam";/ - "desam" +mon "Zanvie";/ + "Fevriye";/ + "Mars";/ + "Avril";/ + "Me";/ + "Zien";/ + "Zilie";/ + "Out";/ + "Septam";/ + "Oktob";/ + "Novam";/ + "Desam" % d_t_fmt "%a %d %b %Y %T %Z" d_fmt "%d//%m//%y" @@ -170,14 +169,14 @@ LC_ADDRESS postal_fmt "%f%N%h%s%N%T" -country_name "Moris" +country_name "Mauritius" country_ab2 "MU" country_ab3 "MUS" country_num 480 % https://en.wikipedia.org/wiki/List_of_international_vehicle_registration_codes country_car "MS" country_isbn "978-613,978-620,978-99903,978-99949" -lang_name "kreol morisien" +lang_name "Kreol Morisien" lang_term "mfe" lang_lib "mfe" END LC_ADDRESS $ -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47259-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 05 17:59:38 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 8131 invoked by alias); 5 Feb 2020 17:59:37 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 7455 invoked by uid 48); 5 Feb 2020 17:59:30 -0000 From: "jwtiyar at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 05 Feb 2020 17:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jwtiyar at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00034.txt.bz2 Content-length: 349 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #78 from Jwtiyar Nariman --- Hey dear Mike I have downloaded new glibc 2.31 release but couldn't find ckb_iq localedata there? it was not planned to be there? best regards. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47260-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 05 20:01:11 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 24395 invoked by alias); 5 Feb 2020 20:01:11 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 15920 invoked by uid 48); 5 Feb 2020 20:00:55 -0000 From: "jwtiyar at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 05 Feb 2020 20:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jwtiyar at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00035.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #79 from Jwtiyar Nariman --- Created attachment 12261 --> https://sourceware.org/bugzilla/attachment.cgi?id=12261&action=edit fixed typo in wednesday name in kurdish Just a typo now fixed, replaced U+0624 with U+0627 in the name of Wednesday in kurdish. Best Regards. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47261-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 05 20:28:58 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 60811 invoked by alias); 5 Feb 2020 20:28:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 60574 invoked by uid 48); 5 Feb 2020 20:28:53 -0000 From: "jwtiyar at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 05 Feb 2020 20:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jwtiyar at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00036.txt.bz2 Content-length: 420 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #80 from Jwtiyar Nariman --- Created attachment 12262 --> https://sourceware.org/bugzilla/attachment.cgi?id=12262&action=edit Added reorder-end command which missing Adding reorder-end because couldn't compile it with this error exist. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47262-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 05 21:15:01 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 79583 invoked by alias); 5 Feb 2020 21:15:00 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 79518 invoked by uid 55); 5 Feb 2020 21:14:55 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug nptl/25066] FAIL: nptl/tst-tls1 on hppa Date: Wed, 05 Feb 2020 21:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00037.txt.bz2 Content-length: 997 https://sourceware.org/bugzilla/show_bug.cgi?id=25066 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The release/2.30/master branch has been updated by Aurelien Jarno : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=43598ef6e2b1a8226db9f83dac9e93224306e242 commit 43598ef6e2b1a8226db9f83dac9e93224306e242 Author: John David Anglin Date: Sun Nov 3 16:28:01 2019 -0500 hppa: Align __clone stack argument to 8 bytes (Bug 25066) The hppa architecture requires strict alignment for loads and stores. As a result, the minimum stack alignment that will work is 8 bytes. This patch adjusts __clone() to align the stack argument passed to it. It also adjusts slightly some formatting. This fixes the nptl/tst-tls1 test. (cherry picked from commit e4c23a029a54c8c7788eff9ca771a01cccaaa0ce) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47263-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 06 00:20:24 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 61611 invoked by alias); 6 Feb 2020 00:20:23 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 61564 invoked by uid 48); 6 Feb 2020 00:20:19 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Thu, 06 Feb 2020 00:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00038.txt.bz2 Content-length: 647 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #81 from Mike FABIAN --- (In reply to Jwtiyar Nariman from comment #78) > Hey dear Mike > I have downloaded new glibc 2.31 release but couldn't find ckb_iq localedata > there? it was not planned to be there? Yes, of course, that’s what I wrote in https://sourceware.org/bugzilla/show_bug.cgi?id=9809#c75 2.31 was already in code freeze, I could push this only *after* 2.31 was released. Therefore, the target milesstone of this bug is set to 2.32. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47264-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 06 00:26:28 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 65763 invoked by alias); 6 Feb 2020 00:26:28 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 65709 invoked by uid 48); 6 Feb 2020 00:26:24 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Thu, 06 Feb 2020 00:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00039.txt.bz2 Content-length: 780 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #82 from Mike FABIAN --- (In reply to Jwtiyar Nariman from comment #80) > Created attachment 12262 [details] > Added reorder-end command which missing > > Adding reorder-end because couldn't compile it with this error exist. Not needed anymore, I rewrote the whole LC_COLLATE section, see https://sourceware.org/bugzilla/show_bug.cgi?id=9809#c49 If you want to do further changes, please look at what is in current git master: https://sourceware.org/git/?p=glibc.git;a=blob_plain;f=localedata/locales/ckb_IQ;hb=refs/heads/master And then sent a *patch* not the complete new file. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47265-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 06 01:10:47 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 32391 invoked by alias); 6 Feb 2020 01:10:46 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 32323 invoked by uid 48); 6 Feb 2020 01:10:42 -0000 From: "mariogalindoq at hotmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25512] New: std::call_once not working as expected when the invocated function thwows an exception. Date: Thu, 06 Feb 2020 01:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mariogalindoq at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00040.txt.bz2 Content-length: 1783 https://sourceware.org/bugzilla/show_bug.cgi?id=25512 Bug ID: 25512 Summary: std::call_once not working as expected when the invocated function thwows an exception. Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: mariogalindoq at hotmail dot com CC: drepper.fsp at gmail dot com Target Milestone: --- Gcc has answered that this bug must be reported to you! cppreference.com (https://en.cppreference.com/w/cpp/thread/call_once) says: If that invocation throws an exception, it is propagated to the caller of call_once, and the flag is not flipped so that another call will be attempted (such call to call_once is known as exceptional). This is not working with gcc but with clang. The example that appears in cppreference do not run with gcc. In particular: #include #include #include std::once_flag flag2; void may_throw_function(bool do_throw) { if (do_throw) { std::cout << "throw: call_once will retry\n"; // this may appear more than once throw std::exception(); } std::cout << "Didn't throw, call_once will not attempt again\n"; // guaranteed once } void do_once(bool do_throw) { try { std::call_once(flag2, may_throw_function, do_throw); } catch (...) { } } int main() { std::thread t1(do_once, true); std::thread t2(do_once, true); std::thread t3(do_once, false); std::thread t4(do_once, true); t1.join(); t2.join(); t3.join(); t4.join(); } -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47266-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 06 01:11:07 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 32734 invoked by alias); 6 Feb 2020 01:11:06 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 32712 invoked by uid 48); 6 Feb 2020 01:11:03 -0000 From: "mariogalindoq at hotmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25512] std::call_once not working as expected when the invocated function thwows an exception. Date: Thu, 06 Feb 2020 01:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mariogalindoq at hotmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00041.txt.bz2 Content-length: 412 https://sourceware.org/bugzilla/show_bug.cgi?id=25512 Mario Galindo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mariogalindoq at hotmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47267-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 06 07:21:11 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 59252 invoked by alias); 6 Feb 2020 07:21:10 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 59010 invoked by uid 48); 6 Feb 2020 07:21:06 -0000 From: "xiezhipeng1 at huawei dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/22851] ld library ELF load error Date: Thu, 06 Feb 2020 07:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xiezhipeng1 at huawei dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00042.txt.bz2 Content-length: 404 https://sourceware.org/bugzilla/show_bug.cgi?id=22851 Zhipeng Xie changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xiezhipeng1 at huawei dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47268-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 07 12:55:16 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 114372 invoked by alias); 7 Feb 2020 12:55:16 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 114316 invoked by uid 48); 7 Feb 2020 12:55:11 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] RFE: Stop exporting free, realloc, calloc, and malloc from ld.so Date: Fri, 07 Feb 2020 12:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00043.txt.bz2 Content-length: 464 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED Assignee|unassigned at sourceware dot org |fweimer at redhat dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47269-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Feb 08 08:20:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 81463 invoked by alias); 8 Feb 2020 08:20:27 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 81391 invoked by uid 48); 8 Feb 2020 08:20:23 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/22851] ldd should protect against programs whose segments overlap with the loader itself Date: Sat, 08 Feb 2020 08:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00044.txt.bz2 Content-length: 600 https://sourceware.org/bugzilla/show_bug.cgi?id=22851 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ld library ELF load error |ldd should protect against | |programs whose segments | |overlap with the loader | |itself -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47270-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Feb 08 19:19:17 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 118871 invoked by alias); 8 Feb 2020 19:19:17 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 118815 invoked by uid 48); 8 Feb 2020 19:19:12 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] RFE: Stop exporting free, realloc, calloc, and malloc from ld.so Date: Sat, 08 Feb 2020 19:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00045.txt.bz2 Content-length: 285 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 --- Comment #8 from Florian Weimer --- Patches posted: https://www.sourceware.org/ml/libc-alpha/2020-02/msg00176.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47271-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 09 17:11:16 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 94641 invoked by alias); 9 Feb 2020 17:11:15 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 94584 invoked by uid 48); 9 Feb 2020 17:11:11 -0000 From: "samuel.thibault@ens-lyon.org" To: glibc-bugs@sourceware.org Subject: [Bug hurd/25521] New: hurd: support shared-memory synchronization primitives Date: Sun, 09 Feb 2020 17:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: hurd X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: samuel.thibault@ens-lyon.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00046.txt.bz2 Content-length: 664 https://sourceware.org/bugzilla/show_bug.cgi?id=25521 Bug ID: 25521 Summary: hurd: support shared-memory synchronization primitives Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: hurd Assignee: unassigned at sourceware dot org Reporter: samuel.thibault@ens-lyon.org CC: samuel.thibault@ens-lyon.org, tschwinge at sourceware dot org Target Milestone: --- mutexes, barriers, etc. would welcome setpshared support. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47272-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 09 17:54:54 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 109642 invoked by alias); 9 Feb 2020 17:54:53 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 109613 invoked by uid 48); 9 Feb 2020 17:54:48 -0000 From: "samuel.thibault@ens-lyon.org" To: glibc-bugs@sourceware.org Subject: [Bug hurd/25522] New: hurd: support locking protocol Date: Sun, 09 Feb 2020 17:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: hurd X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: samuel.thibault@ens-lyon.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00047.txt.bz2 Content-length: 617 https://sourceware.org/bugzilla/show_bug.cgi?id=25522 Bug ID: 25522 Summary: hurd: support locking protocol Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: hurd Assignee: unassigned at sourceware dot org Reporter: samuel.thibault@ens-lyon.org CC: samuel.thibault@ens-lyon.org, tschwinge at sourceware dot org Target Milestone: --- i.e. pthread_mutexattr_setprotocol -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47273-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 09 18:45:55 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 64553 invoked by alias); 9 Feb 2020 18:45:55 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 61052 invoked by uid 48); 9 Feb 2020 18:45:51 -0000 From: "i.swbugs at xen0n dot name" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] New: MIPS/Linux inline syscall template is miscompiled Date: Sun, 09 Feb 2020 18:45:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: i.swbugs at xen0n dot name X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00048.txt.bz2 Content-length: 2043 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 Bug ID: 25523 Summary: MIPS/Linux inline syscall template is miscompiled Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: i.swbugs at xen0n dot name CC: drepper.fsp at gmail dot com Target Milestone: --- The inline syscall template for MIPS/Linux looks like something like this: > register long __a0 asm ("$4") = (long) (arg1); > register long __a1 asm ("$5") = (long) (arg2); > register long __a2 asm ("$6") = (long) (arg3); According to [GCC documentation][1], this is the wrong way of assigning values to certain registers. Indeed it gets mis-compiled, for example part of __spawni_child invoking setresuid(-1, uid, -1) becomes this: > (snip -- jalr t9 and nop directly above, that's getuid) > 113ac4: 0002283c dsll32 a1,v0,0x0 > 113ac8: 0005283e dsrl32 a1,a1,0x0 > 113acc: 2406ffff li a2,-1 > 113ad0: 240213fb li v0,5115 > 113ad4: 0000000c syscall > (snip) Notice only $a1 and $a2 gets loaded, and $a0 is trashed by the preceding call (not to mention it never got set in the first place). This for example breaks the recently released GNU make 4.3, which now prefers posix_spawn over its traditional fork/exec flow. Example stack trace is like this: > (snip -- inside __spawni_child) > [pid 572746] getuid() = 250 > [pid 572746] setresuid(4154097408, 250, -1) = -1 EPERM (Operation not permitted) > [pid 572746] exit_group(127) = ? > [pid 572746] +++ exited with 127 +++ This is tested on Loongson 3A4000 (Gentoo Linux, glibc 2.30 native build with gcc 9.2.0). [1]: https://gcc.gnu.org/onlinedocs/gcc/Local-Register-Variables.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47274-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 09 19:08:56 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 129255 invoked by alias); 9 Feb 2020 19:08:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 129202 invoked by uid 48); 9 Feb 2020 19:08:52 -0000 From: "i.swbugs at xen0n dot name" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Sun, 09 Feb 2020 19:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: i.swbugs at xen0n dot name X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00049.txt.bz2 Content-length: 517 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 --- Comment #1 from WANG Xuerui --- Created attachment 12276 --> https://sourceware.org/bugzilla/attachment.cgi?id=12276&action=edit minimal reproduction example Minimal reproduction case, reduced from pre-processed sysdeps/unix/sysv/linux/spawni.c. Compile with at least -O1, to see the supposed assignment to $a0 completely optimized out. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47275-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 09 22:34:04 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 89411 invoked by alias); 9 Feb 2020 22:34:04 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 89301 invoked by uid 48); 9 Feb 2020 22:33:59 -0000 From: "samuel.thibault@ens-lyon.org" To: glibc-bugs@sourceware.org Subject: [Bug hurd/23819] hurd: Add C11 thread support Date: Sun, 09 Feb 2020 22:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: hurd X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: samuel.thibault@ens-lyon.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status version resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00050.txt.bz2 Content-length: 590 https://sourceware.org/bugzilla/show_bug.cgi?id=23819 Samuel Thibault changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Version|unspecified |2.32 Resolution|--- |FIXED --- Comment #1 from Samuel Thibault --- This was commited today. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47276-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 09 22:35:05 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 90462 invoked by alias); 9 Feb 2020 22:35:04 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 90385 invoked by uid 48); 9 Feb 2020 22:35:00 -0000 From: "samuel.thibault@ens-lyon.org" To: glibc-bugs@sourceware.org Subject: [Bug hurd/23819] hurd: Add C11 thread support Date: Sun, 09 Feb 2020 22:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: hurd X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: samuel.thibault@ens-lyon.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: version target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00051.txt.bz2 Content-length: 534 https://sourceware.org/bugzilla/show_bug.cgi?id=23819 Samuel Thibault changed: What |Removed |Added ---------------------------------------------------------------------------- Version|2.32 |unspecified Target Milestone|--- |2.32 --- Comment #2 from Samuel Thibault --- Fix target milestone -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47277-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 09 22:43:46 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 103408 invoked by alias); 9 Feb 2020 22:43:46 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 103357 invoked by uid 48); 9 Feb 2020 22:43:41 -0000 From: "samuel.thibault@ens-lyon.org" To: glibc-bugs@sourceware.org Subject: [Bug hurd/25524] New: hurd: Support sem_open Date: Sun, 09 Feb 2020 22:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: hurd X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: samuel.thibault@ens-lyon.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00052.txt.bz2 Content-length: 668 https://sourceware.org/bugzilla/show_bug.cgi?id=25524 Bug ID: 25524 Summary: hurd: Support sem_open Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: hurd Assignee: unassigned at sourceware dot org Reporter: samuel.thibault@ens-lyon.org CC: samuel.thibault@ens-lyon.org, tschwinge at sourceware dot org Target Milestone: --- This is probably related with #25521 (hurd: support shared-memory synchronization primitives) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47278-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 10 01:01:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 88595 invoked by alias); 10 Feb 2020 01:01:10 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 88257 invoked by uid 48); 10 Feb 2020 01:01:04 -0000 From: "xiezhipeng1 at huawei dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/22851] ldd should protect against programs whose segments overlap with the loader itself Date: Mon, 10 Feb 2020 01:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xiezhipeng1 at huawei dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00053.txt.bz2 Content-length: 345 https://sourceware.org/bugzilla/show_bug.cgi?id=22851 --- Comment #8 from Zhipeng Xie --- Hi, how about this patch? It will return error when loading invalid segments. https://sourceware.org/ml/libc-alpha/2020-02/msg00113.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47279-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 10 12:06:09 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 84315 invoked by alias); 10 Feb 2020 12:06:09 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 84269 invoked by uid 48); 10 Feb 2020 12:06:04 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Mon, 10 Feb 2020 12:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00054.txt.bz2 Content-length: 1093 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2020-02-10 CC| |adhemerval.zanella at linaro dot o | |rg Assignee|unassigned at sourceware dot org |adhemerval.zanella at linaro dot o | |rg Ever confirmed|0 |1 --- Comment #2 from Adhemerval Zanella --- It seems that only mips, but also microblaze, riscv, s390, and sparc also defines their INTERNAL_SYSCALL macros without considering its argument setting might clobber following assignments. I will check this out. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47280-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 10 15:32:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 126501 invoked by alias); 10 Feb 2020 15:32:49 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 126307 invoked by uid 48); 10 Feb 2020 15:32:44 -0000 From: "i.swbugs at xen0n dot name" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Mon, 10 Feb 2020 15:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: i.swbugs at xen0n dot name X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00055.txt.bz2 Content-length: 370 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 --- Comment #3 from WANG Xuerui --- I've posted a patch fixing the bug for MIPS yesterday: https://sourceware.org/ml/libc-alpha/2020-02/msg00206.html; other architectures are not touched at the moment. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47281-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 10 17:12:09 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 84910 invoked by alias); 10 Feb 2020 17:12:08 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 84810 invoked by uid 48); 10 Feb 2020 17:12:03 -0000 From: "nsz at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25436] aarch64: Mitigating speculative execution beyond SVC Date: Mon, 10 Feb 2020 17:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: nsz at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00056.txt.bz2 Content-length: 954 https://sourceware.org/bugzilla/show_bug.cgi?id=25436 Szabolcs Nagy changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |nsz at gcc dot gnu.org Resolution|--- |INVALID --- Comment #2 from Szabolcs Nagy --- i waited for some time on the libc-alpha thread but there does not seem to be an explanation what we should mitigate, the proposed fix does not solve the problem described, has significant performance impact and there seems to be no privilege escalation or information leak that glibc might care about. please open a new bug with relevant information if there is something to be done. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47282-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 10 23:05:58 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 19893 invoked by alias); 10 Feb 2020 23:05:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 18424 invoked by uid 48); 10 Feb 2020 23:05:53 -0000 From: "thomas.perret+glibc at gresille dot org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/19329] dl-tls.c assert failure at concurrent pthread_create and dlopen Date: Mon, 10 Feb 2020 23:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.22 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: thomas.perret+glibc at gresille dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: nszabolcs at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00057.txt.bz2 Content-length: 467 https://sourceware.org/bugzilla/show_bug.cgi?id=19329 Thomas Perret changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thomas.perret+glibc@gresill | |e.org -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47283-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 09:16:59 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 33225 invoked by alias); 11 Feb 2020 09:16:58 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 26843 invoked by uid 48); 11 Feb 2020 09:16:54 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Tue, 11 Feb 2020 09:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00058.txt.bz2 Content-length: 1206 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #83 from Mike FABIAN --- (In reply to Jwtiyar Nariman from comment #79) > Created attachment 12261 [details] > fixed typo in wednesday name in kurdish > > Just a typo now fixed, replaced U+0624 with U+0627 in the name of Wednesday > in kurdish. > > Best Regards. $ git diff diff --git a/localedata/locales/ckb_IQ b/localedata/locales/ckb_IQ index a18ff69cb7..238c381edf 100644 --- a/localedata/locales/ckb_IQ +++ b/localedata/locales/ckb_IQ @@ -124,7 +124,7 @@ abday "";/ day "";/ "";/ "";/ - "";/ + "";/ "";/ "";/ "" lines 1-13/13 (END) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47284-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 11:17:28 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 90593 invoked by alias); 11 Feb 2020 11:17:28 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 80119 invoked by uid 55); 11 Feb 2020 11:17:24 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Tue, 11 Feb 2020 11:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00059.txt.bz2 Content-length: 592 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #84 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Mike Fabian : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=eb948facd894e66429e2e170043b7d36fe445a8d commit eb948facd894e66429e2e170043b7d36fe445a8d Author: Mike FABIAN Date: Tue Feb 11 10:17:12 2020 +0100 Fix typo in the name for Wednesday in Kurdish [BZ #9809] -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47285-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 11:18:04 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 111905 invoked by alias); 11 Feb 2020 11:18:03 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 111813 invoked by uid 48); 11 Feb 2020 11:17:59 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Tue, 11 Feb 2020 11:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00060.txt.bz2 Content-length: 530 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #85 from Mike FABIAN --- Fixed in current master. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47286-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 11:18:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 113815 invoked by alias); 11 Feb 2020 11:18:48 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 113770 invoked by uid 48); 11 Feb 2020 11:18:44 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/22525] or_IN LC_COLLATE does not use copy "iso14651_t1" Date: Tue, 11 Feb 2020 11:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status version resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00061.txt.bz2 Content-length: 584 https://sourceware.org/bugzilla/show_bug.cgi?id=22525 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Version|2.26 |2.32 Resolution|--- |FIXED --- Comment #2 from Mike FABIAN --- Fixed in current master. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47287-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 12:28:20 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 16576 invoked by alias); 11 Feb 2020 12:28:19 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 16531 invoked by uid 48); 11 Feb 2020 12:28:15 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25532] New: Updates to the shn_MM locale Date: Tue, 11 Feb 2020 12:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00062.txt.bz2 Content-length: 656 https://sourceware.org/bugzilla/show_bug.cgi?id=25532 Bug ID: 25532 Summary: Updates to the shn_MM locale Product: glibc Version: 2.31 Status: NEW Severity: normal Priority: P2 Component: localedata Assignee: unassigned at sourceware dot org Reporter: maiku.fabian at gmail dot com CC: libc-locales at sourceware dot org Target Milestone: --- Better to have a new bug for this. Copied from: https://sourceware.org/bugzilla/show_bug.cgi?id=13605 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47288-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 12:29:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 63401 invoked by alias); 11 Feb 2020 12:29:26 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 63367 invoked by uid 48); 11 Feb 2020 12:29:22 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25532] Updates to the shn_MM locale Date: Tue, 11 Feb 2020 12:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00063.txt.bz2 Content-length: 450 https://sourceware.org/bugzilla/show_bug.cgi?id=25532 --- Comment #1 from Mike FABIAN --- Created attachment 12284 --> https://sourceware.org/bugzilla/attachment.cgi?id=12284&action=edit shn_MM Copied from: https://sourceware.org/bugzilla/show_bug.cgi?id=13605#c14 https://sourceware.org/bugzilla/attachment.cgi?id=12189 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47289-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 12:29:40 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 63997 invoked by alias); 11 Feb 2020 12:29:40 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 63956 invoked by uid 48); 11 Feb 2020 12:29:36 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25532] Updates to the shn_MM locale Date: Tue, 11 Feb 2020 12:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00064.txt.bz2 Content-length: 400 https://sourceware.org/bugzilla/show_bug.cgi?id=25532 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kokoye2007 at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47290-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 12:30:02 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 64590 invoked by alias); 11 Feb 2020 12:30:01 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 64538 invoked by uid 48); 11 Feb 2020 12:29:57 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25532] Updates to the shn_MM locale Date: Tue, 11 Feb 2020 12:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00065.txt.bz2 Content-length: 411 https://sourceware.org/bugzilla/show_bug.cgi?id=25532 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at sourceware dot org |maiku.fabian at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47291-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 12:30:52 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 67620 invoked by alias); 11 Feb 2020 12:30:51 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 67554 invoked by uid 48); 11 Feb 2020 12:30:47 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25532] Updates to the shn_MM locale Date: Tue, 11 Feb 2020 12:30:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00066.txt.bz2 Content-length: 453 https://sourceware.org/bugzilla/show_bug.cgi?id=25532 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |digitalfreak@lingonborough. | |com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47292-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 12:31:02 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 68205 invoked by alias); 11 Feb 2020 12:31:02 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 68121 invoked by uid 48); 11 Feb 2020 12:30:57 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25532] Updates to the shn_MM locale Date: Tue, 11 Feb 2020 12:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00067.txt.bz2 Content-length: 377 https://sourceware.org/bugzilla/show_bug.cgi?id=25532 Mike FABIAN changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.32 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47293-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 12:32:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 70534 invoked by alias); 11 Feb 2020 12:32:26 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 70477 invoked by uid 48); 11 Feb 2020 12:32:22 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25532] Updates to the shn_MM locale Date: Tue, 11 Feb 2020 12:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00068.txt.bz2 Content-length: 475 https://sourceware.org/bugzilla/show_bug.cgi?id=25532 --- Comment #2 from Mike FABIAN --- In future, open a new bug please for locale updates instead of reopening an old one. And, it would be much nicer to have a patch instead of a complete new file with lots of changes which are just reformatting. That would make it easier to see what has really changed. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47294-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 12:36:52 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 103187 invoked by alias); 11 Feb 2020 12:36:51 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 102512 invoked by uid 48); 11 Feb 2020 12:36:43 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25532] Updates to the shn_MM locale Date: Tue, 11 Feb 2020 12:36:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00069.txt.bz2 Content-length: 514 https://sourceware.org/bugzilla/show_bug.cgi?id=25532 --- Comment #3 from Mike FABIAN --- Created attachment 12285 --> https://sourceware.org/bugzilla/attachment.cgi?id=12285&action=edit 0001-Updates-to-the-shn_MM-locale-BZ-25532.patch Here are the differences as a patch (I removed the stuff which was just whitespace changes and moving LC_* sections around to see what really changed). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47295-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 12:46:05 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 3841 invoked by alias); 11 Feb 2020 12:46:04 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 3184 invoked by uid 48); 11 Feb 2020 12:45:59 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25508] mfe_MU locale: Correct orthography for the name of days and months into the official Kreol Morisien Orthography Date: Tue, 11 Feb 2020 12:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00070.txt.bz2 Content-length: 481 https://sourceware.org/bugzilla/show_bug.cgi?id=25508 --- Comment #4 from Mike FABIAN --- -country_name "Moris" +country_name "Mauritius" This change is probably wrong because country_name should contain the name of the country in the language of this locale, i.e. in Kreol Morisien, not in English. The English name of the country is in: territory "Mauritius" -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47296-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 12:52:12 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 38070 invoked by alias); 11 Feb 2020 12:52:11 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 38019 invoked by uid 48); 11 Feb 2020 12:52:06 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25508] mfe_MU locale: Correct orthography for the name of days and months into the official Kreol Morisien Orthography Date: Tue, 11 Feb 2020 12:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00071.txt.bz2 Content-length: 663 https://sourceware.org/bugzilla/show_bug.cgi?id=25508 --- Comment #5 from Mike FABIAN --- -language "Morisyen" +language "Morisien" https://en.wikipedia.org/wiki/Mauritian_Creole says: > Mauritian Creole or Morisien or formerly Morisyen (Mauritian Creole: kreol morisien So this change is probaly OK, "Morisien" seems to be the newer spelling. CLDR still has "Morisyen: https://github.com/unicode-org/cldr/blob/master/common/main/en.xml#L380 Morisyen So this should probably be fixed in CLDR as well. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47297-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 12:56:18 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 1405 invoked by alias); 11 Feb 2020 12:56:17 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 1302 invoked by uid 48); 11 Feb 2020 12:56:12 -0000 From: "maiku.fabian at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25508] mfe_MU locale: Correct orthography for the name of days and months into the official Kreol Morisien Orthography Date: Tue, 11 Feb 2020 12:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: maiku.fabian at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00072.txt.bz2 Content-length: 502 https://sourceware.org/bugzilla/show_bug.cgi?id=25508 --- Comment #6 from Mike FABIAN --- All other changes seem to be upper casing the first letter of the words (for the days of the week for example). I am not sure about these changes, CLDR has all of these in lower case. -lang_name "kreol morisien" +lang_name "Kreol Morisien" Both CLDR and Wikipedia have this in lower case. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47298-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 14:34:03 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 89134 invoked by alias); 11 Feb 2020 14:34:03 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 89040 invoked by uid 48); 11 Feb 2020 14:33:59 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/22851] ldd should protect against programs whose segments overlap with the loader itself Date: Tue, 11 Feb 2020 14:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00073.txt.bz2 Content-length: 607 https://sourceware.org/bugzilla/show_bug.cgi?id=22851 --- Comment #9 from Florian Weimer --- (In reply to Zhipeng Xie from comment #8) > Hi, how about this patch? It will return error when loading invalid segments. > > https://sourceware.org/ml/libc-alpha/2020-02/msg00113.html Please see my thoughts here: https://www.sourceware.org/ml/libc-alpha/2019-12/msg00634.html https://www.sourceware.org/ml/libc-alpha/2020-02/msg00385.html I don't think the proposed patches are correct, sorry. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47299-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 17:31:19 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 11967 invoked by alias); 11 Feb 2020 17:31:19 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 11411 invoked by uid 48); 11 Feb 2020 17:31:12 -0000 From: "rajpal.gusain at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25533] New: dlopen with RTLD_DEEPBIND crashes when using custom memory manager Date: Tue, 11 Feb 2020 17:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.12 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rajpal.gusain at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00074.txt.bz2 Content-length: 7890 https://sourceware.org/bugzilla/show_bug.cgi?id=25533 Bug ID: 25533 Summary: dlopen with RTLD_DEEPBIND crashes when using custom memory manager Product: glibc Version: 2.12 Status: UNCONFIRMED Severity: normal Priority: P2 Component: malloc Assignee: unassigned at sourceware dot org Reporter: rajpal.gusain at gmail dot com Target Milestone: --- Created attachment 12288 --> https://sourceware.org/bugzilla/attachment.cgi?id=12288&action=edit Test case After spending good amount of time on a crash which originates from third party software which is complete blackbox, I finally understand what went wrong and I have created a tiny test case for it. Steps to reproduce: % untar % make all TCMALLOC_STATIC_LIB= % a.out And it crashes like this *** glibc detected *** ./a.out: free(): invalid pointer: 0x0000000001bc6018 *** ======= Backtrace: ========= /lib64/libc.so.6[0x3250a75e5e] /lib64/libc.so.6[0x3250a78cad] ./libtest.so(destroy+0x18)[0x7f7770afa1fb] ./a.out[0x4042e1] /lib64/libc.so.6(__libc_start_main+0x100)[0x3250a1ed20] ./a.out[0x4040c9] ======= Memory map: ======== 00400000-00403000 r--p 00000000 08:03 669993 /tmp/small/a.out 00403000-00423000 r-xp 00003000 08:03 669993 /tmp/small/a.out 00423000-00430000 r--p 00023000 08:03 669993 /tmp/small/a.out 00431000-00432000 r--p 00030000 08:03 669993 /tmp/small/a.out 00432000-00433000 rw-p 00031000 08:03 669993 /tmp/small/a.out 00433000-005df000 rw-p 00000000 00:00 0 013b3000-01cd5000 rw-p 00000000 00:00 0 [heap] 3250600000-3250620000 r-xp 00000000 08:03 395074 /lib64/ld-2.12.so 3250820000-3250821000 r--p 00020000 08:03 395074 /lib64/ld-2.12.so 3250821000-3250822000 rw-p 00021000 08:03 395074 /lib64/ld-2.12.so 3250822000-3250823000 rw-p 00000000 00:00 0 3250a00000-3250b8b000 r-xp 00000000 08:03 395091 /lib64/libc-2.12.so 3250b8b000-3250d8a000 ---p 0018b000 08:03 395091 /lib64/libc-2.12.so 3250d8a000-3250d8e000 r--p 0018a000 08:03 395091 /lib64/libc-2.12.so 3250d8e000-3250d90000 rw-p 0018e000 08:03 395091 /lib64/libc-2.12.so 3250d90000-3250d94000 rw-p 00000000 00:00 0 3250e00000-3250e17000 r-xp 00000000 08:03 426826 /lib64/libpthread-2.12.so 3250e17000-3251017000 ---p 00017000 08:03 426826 /lib64/libpthread-2.12.so 3251017000-3251018000 r--p 00017000 08:03 426826 /lib64/libpthread-2.12.so 3251018000-3251019000 rw-p 00018000 08:03 426826 /lib64/libpthread-2.12.so 3251019000-325101d000 rw-p 00000000 00:00 0 3251200000-3251202000 r-xp 00000000 08:03 426837 /lib64/libdl-2.12.so 3251202000-3251402000 ---p 00002000 08:03 426837 /lib64/libdl-2.12.so 3251402000-3251403000 r--p 00002000 08:03 426837 /lib64/libdl-2.12.so 3251403000-3251404000 rw-p 00003000 08:03 426837 /lib64/libdl-2.12.so 3251e00000-3251e83000 r-xp 00000000 08:03 426839 /lib64/libm-2.12.so 3251e83000-3252082000 ---p 00083000 08:03 426839 /lib64/libm-2.12.so 3252082000-3252083000 r--p 00082000 08:03 426839 /lib64/libm-2.12.so 3252083000-3252084000 rw-p 00083000 08:03 426839 /lib64/libm-2.12.so 3255200000-3255216000 r-xp 00000000 08:03 426840 /lib64/libgcc_s-4.4.7-20120601.so.1 3255216000-3255415000 ---p 00016000 08:03 426840 /lib64/libgcc_s-4.4.7-20120601.so.1 3255415000-3255416000 rw-p 00015000 08:03 426840 /lib64/libgcc_s-4.4.7-20120601.so.1 7f7770744000-7f7770749000 rw-p 00000000 00:00 0 7f7770749000-7f77708d1000 r-xp 00000000 00:23 1837379 /tool/gcc/8.3.0/lib64/libstdc++.so.6.0.25 7f77708d1000-7f7770ad0000 ---p 00188000 00:23 1837379 /tool/gcc/8.3.0/lib64/libstdc++.so.6.0.25 7f7770ad0000-7f7770adb000 r--p 00187000 00:23 1837379 /tool/gcc/8.3.0/lib64/libstdc++.so.6.0.25 7f7770adb000-7f7770add000 rw-p 00192000 00:23 1837379 /tool/gcc/8.3.0/lib64/libstdc++.so.6.0.25 7f7770add000-7f7770ae2000 rw-p 00000000 00:00 0 7f7770af8000-7f7770af9000 rw-p 00000000 00:00 0 7f7770af9000-7f7770afa000 r--p 00000000 08:03 669992 /tmp/small/libtest.so 7f7770afa000-7f7770afb000 r-xp 00001000 08:03 669992 /tmp/small/libtest.so 7f7770afb000-7f7770afc000 r--p 00002000 08:03 669992 /tmp/small/libtest.so 7f7770afc000-7f7770afd000 r--p 00002000 08:03 669992 /tmp/small/libtest.so 7f7770afd000-7f7770afe000 rw-p 00003000 08:03 669992 /tmp/small/libtest.so 7f7770afe000-7f7770aff000 rw-p 00000000 00:00 0 7ffc3fc25000-7ffc3fc3a000 rw-p 00000000 00:00 0 [stack] 7ffc3fcdc000-7ffc3fcdd000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Abort Reason for crash is that malloc/free definition from shared library libtest.so comes from libc.so while malloc definition from shared library libc.so (for strdup) comes from tcmalloc, and when libc free tries to free tc alloced block, it crashes. It looks like if RTLD_DEEPBIND has to stay, the only way to fix this issue is through use of malloc hooks but apparently it's going to go away soon. How else can this issue be addressed ? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47300-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 17:32:30 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 13424 invoked by alias); 11 Feb 2020 17:32:29 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 13351 invoked by uid 48); 11 Feb 2020 17:32:25 -0000 From: "rajpal.gusain at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25533] dlopen with RTLD_DEEPBIND crashes when using custom memory manager Date: Tue, 11 Feb 2020 17:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.12 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rajpal.gusain at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00075.txt.bz2 Content-length: 293 https://sourceware.org/bugzilla/show_bug.cgi?id=25533 --- Comment #1 from gusain --- Same issue filed against gperftools https://github.com/gperftools/gperftools/issues/1148 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47302-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 17:51:59 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 102811 invoked by alias); 11 Feb 2020 17:51:58 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 102782 invoked by uid 48); 11 Feb 2020 17:51:55 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25533] dlopen with RTLD_DEEPBIND crashes when using custom memory manager Date: Tue, 11 Feb 2020 17:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.12 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00077.txt.bz2 Content-length: 717 https://sourceware.org/bugzilla/show_bug.cgi?id=25533 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WONTFIX --- Comment #3 from Carlos O'Donell --- I'm marking this as RESOLVED/INVALID. If you think this is wrong, please reopen the ticket and provide a self-contained test case explaining your use case, the expected behaviour, and the observed beahviour. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47301-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 17:51:01 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 87266 invoked by alias); 11 Feb 2020 17:51:00 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 87219 invoked by uid 48); 11 Feb 2020 17:50:56 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25533] dlopen with RTLD_DEEPBIND crashes when using custom memory manager Date: Tue, 11 Feb 2020 17:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.12 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00076.txt.bz2 Content-length: 2106 https://sourceware.org/bugzilla/show_bug.cgi?id=25533 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlos at redhat dot com --- Comment #2 from Carlos O'Donell --- (In reply to gusain from comment #0) > It looks like if RTLD_DEEPBIND has to stay, the only way to fix this issue > is through use of malloc hooks but apparently it's going to go away soon. > How else can this issue be addressed ? There is nothing wrong with RTLD_DEEPBIND, it works as intended. If you have an object that binds symbols to itself via RTLD_DEEPBIND and those symbols mean that the object uses it's own memory allocator, and those pointers escape and need to be freed, then this must be addressed in the design of the application. Pointers from one allocator should not escape to be manipulated by a different allocator. As I write upstream: https://github.com/gperftools/gperftools/issues/1148 --- There are two solutions: * Use a single malloc e.g. tcmalloc as the malloc for the entire application i.e. don't mix allocators. * Do not leak pointers between malloc implementations. These are advanced topics for application design, and you cannot assume that you can freely change allocators like this or use RTLD_DEEPBIND without carefully architecting the application. While glibc makes it possible to replace the system allocator it doesn't mean that this will work in all conceivable scenarios without additional design work. Likewise dlmopen can cause similar problems with namespaces leaking pointers from different allocators. --- Lastly, a "hook"-based solution has performance and design impacts on all applications all the time, and therefore is not considered a desirable solution even if it allows any allocator to be hooked in across all dynamic loader namespaces (RTLD_DEEPBIND, or dlmopen). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47303-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 11 17:52:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 103310 invoked by alias); 11 Feb 2020 17:52:27 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 103254 invoked by uid 48); 11 Feb 2020 17:52:22 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25533] dlopen with RTLD_DEEPBIND crashes when using custom memory manager Date: Tue, 11 Feb 2020 17:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.12 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00078.txt.bz2 Content-length: 322 https://sourceware.org/bugzilla/show_bug.cgi?id=25533 --- Comment #4 from Carlos O'Donell --- Sorry, meant to say RESOLVED/WONTFIX because we won't fix this due to the implications of hooks in the system malloc. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47304-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 12 03:14:54 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 32961 invoked by alias); 12 Feb 2020 03:14:53 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 32944 invoked by uid 48); 12 Feb 2020 03:14:49 -0000 From: "xiezhipeng1 at huawei dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/20857] ldd and ld.so --verify is unreliable for position-dependent executables Date: Wed, 12 Feb 2020 03:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: xiezhipeng1 at huawei dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00079.txt.bz2 Content-length: 404 https://sourceware.org/bugzilla/show_bug.cgi?id=20857 Zhipeng Xie changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xiezhipeng1 at huawei dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47305-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 12 08:02:31 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 65178 invoked by alias); 12 Feb 2020 08:02:31 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 65049 invoked by uid 55); 12 Feb 2020 08:02:25 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/14578] fchmodat(..., AT_SYMLINK_NOFOLLOW) returns ENOTSUP on non-symlinks Date: Wed, 12 Feb 2020 08:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00080.txt.bz2 Content-length: 585 https://sourceware.org/bugzilla/show_bug.cgi?id=14578 --- Comment #14 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6b89c385d8bd0700b25bac2c2d0bebe68d5cc05d commit 6b89c385d8bd0700b25bac2c2d0bebe68d5cc05d Author: Florian Weimer Date: Wed Jan 22 18:56:04 2020 +0100 io: Implement lchmod using fchmodat [BZ #14578] -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47306-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 12 08:02:33 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 65428 invoked by alias); 12 Feb 2020 08:02:33 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 65135 invoked by uid 55); 12 Feb 2020 08:02:29 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/14578] fchmodat(..., AT_SYMLINK_NOFOLLOW) returns ENOTSUP on non-symlinks Date: Wed, 12 Feb 2020 08:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00081.txt.bz2 Content-length: 756 https://sourceware.org/bugzilla/show_bug.cgi?id=14578 --- Comment #15 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=752dd17443e55a4535cb9e6baa4e550ede383540 commit 752dd17443e55a4535cb9e6baa4e550ede383540 Author: Florian Weimer Date: Wed Jan 22 19:01:20 2020 +0100 Linux: Emulate fchmodat with AT_SYMLINK_NOFOLLOW using O_PATH [BZ #14578] /proc/self/fd files are special and chmod on O_PATH descriptors in that directory operates on the symbolic link itself (like lchmod). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47307-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 12 08:03:18 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 65927 invoked by alias); 12 Feb 2020 08:03:17 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 65878 invoked by uid 48); 12 Feb 2020 08:03:13 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/14578] /proc-based emulation for lchmod, fchmodat Date: Wed, 12 Feb 2020 08:03:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution target_milestone short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00082.txt.bz2 Content-length: 885 https://sourceware.org/bugzilla/show_bug.cgi?id=14578 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.32 Summary|fchmodat(..., |/proc-based emulation for |AT_SYMLINK_NOFOLLOW) |lchmod, fchmodat |returns ENOTSUP on | |non-symlinks | --- Comment #16 from Florian Weimer --- Fixed in glibc 2.32. I will backport this into the release branches in a week or so. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47308-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 12 11:53:26 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 120245 invoked by alias); 12 Feb 2020 11:53:26 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 120191 invoked by uid 48); 12 Feb 2020 11:53:22 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/14578] /proc-based emulation for lchmod, fchmodat Date: Wed, 12 Feb 2020 11:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00083.txt.bz2 Content-length: 311 https://sourceware.org/bugzilla/show_bug.cgi?id=14578 --- Comment #17 from Florian Weimer --- This appears to trigger an XFS kernel bug: https://www.sourceware.org/ml/libc-alpha/2020-02/msg00467.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47309-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 12 17:56:54 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 44932 invoked by alias); 12 Feb 2020 17:56:54 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 44863 invoked by uid 48); 12 Feb 2020 17:56:49 -0000 From: "jwtiyar at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/9809] ckb_IQ: new Kurdish Sorani locale Date: Wed, 12 Feb 2020 17:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: jwtiyar at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: maiku.fabian at gmail dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00084.txt.bz2 Content-length: 356 https://sourceware.org/bugzilla/show_bug.cgi?id=9809 --- Comment #86 from Jwtiyar Nariman --- (In reply to Mike FABIAN from comment #85) > Fixed in current master. Thank you dear mike for everything, your help really appreciated. Best Regards. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47310-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 12 18:47:23 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 21972 invoked by alias); 12 Feb 2020 18:47:22 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 21944 invoked by uid 55); 12 Feb 2020 18:47:18 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/16272] dlopen()ing a DT_FILTER library crashes if filtee has constructor Date: Wed, 12 Feb 2020 18:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00085.txt.bz2 Content-length: 2131 https://sourceware.org/bugzilla/show_bug.cgi?id=16272 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Adhemerval Zanella : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=eb447b7b4bd6177f876ba9420ad9e048c27bae91 commit eb447b7b4bd6177f876ba9420ad9e048c27bae91 Author: David Kilroy Date: Wed Feb 12 14:28:15 2020 -0300 elf: Allow dlopen of filter object to work [BZ #16272] There are two fixes that are needed to be able to dlopen filter objects. First _dl_map_object_deps cannot assume that map will be at the beginning of l_searchlist.r_list[], as filtees are inserted before map. Secondly dl_open_worker needs to ensure that filtees get relocated. In _dl_map_object_deps: * avoiding removing relocation dependencies of map by setting l_reserved to 0 and otherwise processing the rest of the search list. * ensure that map remains at the beginning of l_initfini - the list of things that need initialisation (and destruction). Do this by splitting the copy up. This may not be required, but matches the initialization order without dlopen. Modify dl_open_worker to relocate the objects in new->l_inifini. new->l_initfini is constructed in _dl_map_object_deps, and lists the objects that need initialization and destruction. Originally the list of objects in new->l_next are relocated. All of these objects should also be included in new->l_initfini (both lists are populated with dependencies in _dl_map_object_deps). We can't use new->l_prev to pick up filtees, as during a recursive dlopen from an interposed malloc call, l->prev can contain objects that are not ready for relocation. Add tests to verify that symbols resolve to the filtee implementation when auxiliary and filter objects are used, both as a normal link and when dlopen'd. Tested by running the testsuite on x86_64. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47311-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 12 18:48:40 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 22584 invoked by alias); 12 Feb 2020 18:48:08 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 22442 invoked by uid 48); 12 Feb 2020 18:48:01 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/16272] dlopen()ing a DT_FILTER library crashes if filtee has constructor Date: Wed, 12 Feb 2020 18:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00086.txt.bz2 Content-length: 688 https://sourceware.org/bugzilla/show_bug.cgi?id=16272 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |adhemerval.zanella at linaro dot o | |rg Resolution|--- |FIXED --- Comment #2 from Adhemerval Zanella --- Fixed on 2.32. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47312-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 12 22:16:48 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 64096 invoked by alias); 12 Feb 2020 22:16:48 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 64027 invoked by uid 55); 12 Feb 2020 22:16:44 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Wed, 12 Feb 2020 22:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00087.txt.bz2 Content-length: 1054 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Joseph Myers : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4fbba6fe904d0094ddc4284066b3860d119cbd4a commit 4fbba6fe904d0094ddc4284066b3860d119cbd4a Author: WANG Xuerui Date: Thu Feb 13 00:57:03 2020 +0800 mips: Fix argument passing for inlined syscalls on Linux [BZ #25523] According to [gcc documentation][1], temporary variables must be used for the desired content to not be call-clobbered. Fix the Linux inline syscall templates by adding temporary variables, much like what x86 did before (commit 381a0c26d73e0f074c962e0ab53b99a6c327066d). Tested with gcc 9.2.0, both cross-compiled and natively on Loongson 3A4000. [1]: https://gcc.gnu.org/onlinedocs/gcc/Local-Register-Variables.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47313-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 12 22:19:38 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 94572 invoked by alias); 12 Feb 2020 22:19:37 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 92082 invoked by uid 48); 12 Feb 2020 22:19:33 -0000 From: "jsm28 at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Wed, 12 Feb 2020 22:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00088.txt.bz2 Content-length: 567 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 Joseph Myers changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.32 --- Comment #5 from Joseph Myers --- Fixed for 2.32. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47315-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 12 23:33:00 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 33504 invoked by alias); 12 Feb 2020 23:33:00 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 33207 invoked by uid 55); 12 Feb 2020 23:32:53 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/4586] printf crashes on some 'long double' values Date: Wed, 12 Feb 2020 23:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.3.6 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00090.txt.bz2 Content-length: 2191 https://sourceware.org/bugzilla/show_bug.cgi?id=4586 --- Comment #6 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Joseph Myers : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9333498794cde1d5cca518badf79533a24114b6f commit 9333498794cde1d5cca518badf79533a24114b6f Author: Joseph Myers Date: Wed Feb 12 23:31:56 2020 +0000 Avoid ldbl-96 stack corruption from range reduction of pseudo-zero (bug 25487). Bug 25487 reports stack corruption in ldbl-96 sinl on a pseudo-zero argument (an representation where all the significand bits, including the explicit high bit, are zero, but the exponent is not zero, which is not a valid representation for the long double type). Although this is not a valid long double representation, existing practice in this area (see bug 4586, originally marked invalid but subsequently fixed) is that we still seek to avoid invalid memory accesses as a result, in case of programs that treat arbitrary binary data as long double representations, although the invalid representations of the ldbl-96 format do not need to be consistently handled the same as any particular valid representation. This patch makes the range reduction detect pseudo-zero and unnormal representations that would otherwise go to __kernel_rem_pio2, and returns a NaN for them instead of continuing with the range reduction process. (Pseudo-zero and unnormal representations whose unbiased exponent is less than -1 have already been safely returned from the function before this point without going through the rest of range reduction.) Pseudo-zero representations would previously result in the value passed to __kernel_rem_pio2 being all-zero, which is definitely unsafe; unnormal representations would previously result in a value passed whose high bit is zero, which might well be unsafe since that is not a form of input expected by __kernel_rem_pio2. Tested for x86_64. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47314-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 12 23:33:00 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 33492 invoked by alias); 12 Feb 2020 23:33:00 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 33211 invoked by uid 55); 12 Feb 2020 23:32:53 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug math/25487] sinl() stack corruption from crafted input Date: Wed, 12 Feb 2020 23:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00089.txt.bz2 Content-length: 2192 https://sourceware.org/bugzilla/show_bug.cgi?id=25487 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Joseph Myers : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=9333498794cde1d5cca518badf79533a24114b6f commit 9333498794cde1d5cca518badf79533a24114b6f Author: Joseph Myers Date: Wed Feb 12 23:31:56 2020 +0000 Avoid ldbl-96 stack corruption from range reduction of pseudo-zero (bug 25487). Bug 25487 reports stack corruption in ldbl-96 sinl on a pseudo-zero argument (an representation where all the significand bits, including the explicit high bit, are zero, but the exponent is not zero, which is not a valid representation for the long double type). Although this is not a valid long double representation, existing practice in this area (see bug 4586, originally marked invalid but subsequently fixed) is that we still seek to avoid invalid memory accesses as a result, in case of programs that treat arbitrary binary data as long double representations, although the invalid representations of the ldbl-96 format do not need to be consistently handled the same as any particular valid representation. This patch makes the range reduction detect pseudo-zero and unnormal representations that would otherwise go to __kernel_rem_pio2, and returns a NaN for them instead of continuing with the range reduction process. (Pseudo-zero and unnormal representations whose unbiased exponent is less than -1 have already been safely returned from the function before this point without going through the rest of range reduction.) Pseudo-zero representations would previously result in the value passed to __kernel_rem_pio2 being all-zero, which is definitely unsafe; unnormal representations would previously result in a value passed whose high bit is zero, which might well be unsafe since that is not a form of input expected by __kernel_rem_pio2. Tested for x86_64. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47316-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 12 23:33:29 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 36619 invoked by alias); 12 Feb 2020 23:33:28 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 36540 invoked by uid 48); 12 Feb 2020 23:33:24 -0000 From: "jsm28 at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug math/25487] sinl() stack corruption from crafted input Date: Wed, 12 Feb 2020 23:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00091.txt.bz2 Content-length: 567 https://sourceware.org/bugzilla/show_bug.cgi?id=25487 Joseph Myers changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.32 --- Comment #3 from Joseph Myers --- Fixed for 2.32. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47317-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 13 02:35:13 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 105297 invoked by alias); 13 Feb 2020 02:35:12 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 105248 invoked by uid 48); 13 Feb 2020 02:35:08 -0000 From: "syq at debian dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Thu, 13 Feb 2020 02:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: syq at debian dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00092.txt.bz2 Content-length: 482 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 YunQiang Su changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |syq at debian dot org --- Comment #6 from YunQiang Su --- will it be backported to 2.30 etc? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47318-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 13 13:44:48 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 114457 invoked by alias); 13 Feb 2020 13:44:47 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 114423 invoked by uid 48); 13 Feb 2020 13:44:43 -0000 From: "akhipatel at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug librt/25544] New: [Error] fatal error: rpc/des_crypt.h: No such file or director Date: Thu, 13 Feb 2020 13:44:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: librt X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: akhipatel at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00093.txt.bz2 Content-length: 2461 https://sourceware.org/bugzilla/show_bug.cgi?id=25544 Bug ID: 25544 Summary: [Error] fatal error: rpc/des_crypt.h: No such file or director Product: glibc Version: 2.30 Status: UNCONFIRMED Severity: normal Priority: P2 Component: librt Assignee: unassigned at sourceware dot org Reporter: akhipatel at gmail dot com Target Milestone: --- Hello My current glibc version is 2.30. I am getting below Error with my sample test application even with my glibc is compiled with "--enable-obsolete-rpc --enable-obsolete-nsl” akhilesh@DELL-BUILD10:~/P4/github/glibc$ armv7l-linux-gnueabi-gcc test.c test.c:1:10: fatal error: rpc/des_crypt.h: No such file or directory 1 | #include | ^~~~~~~~~~ akhilesh@DELL-BUILD10:~/P4/github/glibc$ cat test.c #include void main() { } akhilesh.k@DELL-BUILD10:~/P4/github/glibc$ When i checked I found this is due to changes in glibc from 2.26 onwards also in scripts/build-many-glibcs.py i found both options are not added for arm but same are added in x86 170 self.add_config(arch='arm', 171 os_name='linux-gnueabihf', 172 gcc_cfg=['--with-float=hard', '--with-cpu=arm926ej-s'], 173 extra_glibcs=[{'variant': 'v7a', 174 'ccopts': '-march=armv7-a -mfpu=vfpv3'}, 175 {'variant': 'v7a-disable-multi-arch', 176 'ccopts': '-march=armv7-a -mfpu=vfpv3', 177 'cfg': ['--disable-multi-arch']}]) 178 self.add_config(arch='armeb', 179 os_name='linux-gnueabihf', 180 gcc_cfg=['--with-float=hard', '--with-cpu=arm926ej-s']) 181 self.add_config(arch='armeb', 182 os_name='linux-gnueabihf', 183 variant='be8', 184 gcc_cfg=['--with-float=hard', '--with-arch=armv7-a', 185 '--with-fpu=vfpv3']) Please let me know if this is intentional? Also how to resolve this issue? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47320-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 13 14:50:47 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 20933 invoked by alias); 13 Feb 2020 14:50:47 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 20877 invoked by uid 48); 13 Feb 2020 14:50:43 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25533] dlopen with RTLD_DEEPBIND crashes when using custom memory manager Date: Thu, 13 Feb 2020 14:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.12 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00095.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=25533 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47319-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 13 14:50:40 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 20625 invoked by alias); 13 Feb 2020 14:50:39 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 20602 invoked by uid 48); 13 Feb 2020 14:50:34 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug librt/25544] [Error] fatal error: rpc/des_crypt.h: No such file or director Date: Thu, 13 Feb 2020 14:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: librt X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc resolution flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00094.txt.bz2 Content-length: 1178 https://sourceware.org/bugzilla/show_bug.cgi?id=25544 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |fweimer at redhat dot com Resolution|--- |INVALID Flags| |security- --- Comment #1 from Florian Weimer --- This is a deliberate change in glibc 2.28, as mentioned in the NEWS file: * The obsolete functions encrypt, encrypt_r, setkey, setkey_r, cbc_crypt, ecb_crypt, and des_setparity are no longer available to newly linked binaries, and the headers and are no longer installed. These functions encrypted and decrypted data with the DES block cipher, which is no longer considered secure. Software that still uses these functions should switch to a modern cryptography library, such as libgcrypt. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47321-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 13 14:51:45 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 25890 invoked by alias); 13 Feb 2020 14:51:44 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 25848 invoked by uid 48); 13 Feb 2020 14:51:41 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25512] std::call_once not working as expected when the invocated function thwows an exception. Date: Thu, 13 Feb 2020 14:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00096.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=25512 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47322-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 13 14:52:07 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 26419 invoked by alias); 13 Feb 2020 14:52:07 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 26293 invoked by uid 48); 13 Feb 2020 14:52:02 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/25506] configure: broken detection of STT_GNU_IFUNC when GCC defaults to PIE Date: Thu, 13 Feb 2020 14:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00097.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=25506 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47323-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 13 14:52:21 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 28077 invoked by alias); 13 Feb 2020 14:52:20 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 27487 invoked by uid 48); 13 Feb 2020 14:52:15 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: =?UTF-8?B?W0J1ZyBsaWJjLzI1NDk3XSBmc2VlayjigKYsIOKApiwgU0VFS19TRVQpIGNh?= =?UTF-8?B?dXNlcyByZWFkaW5nIG92ZXIgdGhlIHNraXBwZWQgcmFuZ2U=?Date: Thu, 13 Feb 2020 14:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00098.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=25497 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47324-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 13 14:53:59 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 30265 invoked by alias); 13 Feb 2020 14:53:58 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 30177 invoked by uid 48); 13 Feb 2020 14:53:54 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25474] Add MADV_COLD and MADV_PAGEOUT from Linux 5.4 Date: Thu, 13 Feb 2020 14:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00099.txt.bz2 Content-length: 612 https://sourceware.org/bugzilla/show_bug.cgi?id=25474 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |fweimer at redhat dot com Resolution|--- |WORKSFORME --- Comment #2 from Florian Weimer --- Already fixed in glibc 2.31. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47325-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 13 16:07:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 85530 invoked by alias); 13 Feb 2020 16:07:15 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 85431 invoked by uid 55); 13 Feb 2020 16:07:08 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug math/25487] sinl() stack corruption from crafted input Date: Thu, 13 Feb 2020 16:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00100.txt.bz2 Content-length: 735 https://sourceware.org/bugzilla/show_bug.cgi?id=25487 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c10acd40262486dac597001aecc20ad9d3bd0e4a commit c10acd40262486dac597001aecc20ad9d3bd0e4a Author: Florian Weimer Date: Thu Feb 13 17:01:15 2020 +0100 math/test-sinl-pseudo: Use stack protector only if available This fixes commit 9333498794cde1d5cca518bad ("Avoid ldbl-96 stack corruption from range reduction of pseudo-zero (bug 25487)."). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47326-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 13 17:37:51 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 130839 invoked by alias); 13 Feb 2020 17:37:50 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 130800 invoked by uid 48); 13 Feb 2020 17:37:46 -0000 From: "i at maskray dot me" To: glibc-bugs@sourceware.org Subject: [Bug libc/20543] Please move from .gnu.linkonce to comdat Date: Thu, 13 Feb 2020 17:37:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: i at maskray dot me X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00101.txt.bz2 Content-length: 669 https://sourceware.org/bugzilla/show_bug.cgi?id=20543 Fangrui Song changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adhemerval.zanella at linaro dot o | |rg --- Comment #5 from Fangrui Song --- Found https://patches.linaro.org/patch/90572/ (via https://github.com/ClangBuiltLinux/linux/issues/432) that Adhemerval Zanella has a patch that is ignored. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47327-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 13 18:27:50 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 44431 invoked by alias); 13 Feb 2020 18:27:49 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 44288 invoked by uid 48); 13 Feb 2020 18:27:43 -0000 From: "ben at tawesoft dot co.uk" To: glibc-bugs@sourceware.org Subject: [Bug libc/23489] "gcc -lmcheck" aborts on free when using posix_memalign Date: Thu, 13 Feb 2020 18:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ben at tawesoft dot co.uk X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00102.txt.bz2 Content-length: 2160 https://sourceware.org/bugzilla/show_bug.cgi?id=23489 --- Comment #25 from ben at tawesoft dot co.uk --- Just to note that I'm still getting this today on an up to date Debian system. $ uname -a Linux myhostname 4.19.0-5-amd64 #1 SMP Debian 4.19.37-5 (2019-06-19) x86_64 GNU/Linux $ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 10 (buster) Release: 10 Codename: buster $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 8.3.0 (Debian 8.3.0-6) $ ldd --version ldd (Debian GLIBC 2.28-10) 2.28 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47328-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 13 19:54:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 12357 invoked by alias); 13 Feb 2020 19:54:14 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 12287 invoked by uid 55); 13 Feb 2020 19:54:10 -0000 From: "joseph at codesourcery dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Thu, 13 Feb 2020 19:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00103.txt.bz2 Content-length: 319 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 --- Comment #7 from joseph at codesourcery dot com --- Backports depend on someone proposing a cherry-pick on libc-stable (having tested it). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47329-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 13 20:04:08 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 77004 invoked by alias); 13 Feb 2020 20:04:07 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 71657 invoked by uid 55); 13 Feb 2020 20:04:03 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Thu, 13 Feb 2020 20:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00104.txt.bz2 Content-length: 1145 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 --- Comment #8 from cvs-commit at gcc dot gnu.org --- The release/2.31/master branch has been updated by Aurelien Jarno : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=aa638b86b222fcc9f9cdf1d2cb49a36ea681b469 commit aa638b86b222fcc9f9cdf1d2cb49a36ea681b469 Author: WANG Xuerui Date: Thu Feb 13 00:57:03 2020 +0800 mips: Fix argument passing for inlined syscalls on Linux [BZ #25523] According to [gcc documentation][1], temporary variables must be used for the desired content to not be call-clobbered. Fix the Linux inline syscall templates by adding temporary variables, much like what x86 did before (commit 381a0c26d73e0f074c962e0ab53b99a6c327066d). Tested with gcc 9.2.0, both cross-compiled and natively on Loongson 3A4000. [1]: https://gcc.gnu.org/onlinedocs/gcc/Local-Register-Variables.html (cherry picked from commit 4fbba6fe904d0094ddc4284066b3860d119cbd4a) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47330-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 01:35:41 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 48879 invoked by alias); 14 Feb 2020 01:35:41 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 48800 invoked by uid 48); 14 Feb 2020 01:35:37 -0000 From: "eblake at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/15971] No interface for debugger access to libraries loaded with dlmopen Date: Fri, 14 Feb 2020 01:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eblake at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00105.txt.bz2 Content-length: 391 https://sourceware.org/bugzilla/show_bug.cgi?id=15971 Eric Blake changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eblake at redhat dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47331-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 01:40:44 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 109185 invoked by alias); 14 Feb 2020 01:40:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 109069 invoked by uid 48); 14 Feb 2020 01:40:38 -0000 From: "eblake at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/15971] No interface for debugger access to libraries loaded with dlmopen Date: Fri, 14 Feb 2020 01:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eblake at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00106.txt.bz2 Content-length: 1189 https://sourceware.org/bugzilla/show_bug.cgi?id=15971 --- Comment #3 from Eric Blake --- I ran into this today while working on nbdkit; I needed a way to work around VDDK's buggy proprietary library that calls dlopen("libcrypto.so") on a relative path name but where the library comes with its own version of libcrypto.so that is incompatible with the one in /usr/lib, but I also need a solution that would not require LD_LIBRARY_PATH. My solution was to use dlmopen() to open a shim library defining an alternative dlopen(), so that I could intercept VDDK's poor dlopen calls and replace them with saner absolute loads. But as a result, I'm now unable to debug any of my glue code, or to look at the assembly in the VDDK code (the fact that the VDDK code is proprietary already means that usefully debugging it was unlikely, but if it is loaded by dlmopen it is impossible). If you need more people using dlmopen() as a reason to finally get around to this bug, then count me as such a person. https://www.redhat.com/archives/libguestfs/2020-February/msg00154.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47332-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 09:09:57 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 124321 invoked by alias); 14 Feb 2020 09:09:55 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 124213 invoked by uid 48); 14 Feb 2020 09:09:50 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/15971] No interface for debugger access to libraries loaded with dlmopen Date: Fri, 14 Feb 2020 09:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00107.txt.bz2 Content-length: 1710 https://sourceware.org/bugzilla/show_bug.cgi?id=15971 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com --- Comment #4 from Florian Weimer --- (In reply to Eric Blake from comment #3) > I ran into this today while working on nbdkit; I needed a way to work around > VDDK's buggy proprietary library that calls dlopen("libcrypto.so") on a > relative path name but where the library comes with its own version of > libcrypto.so that is incompatible with the one in /usr/lib, but I also need > a solution that would not require LD_LIBRARY_PATH. Why is LD_LIBRARY_PATH not an option? If the inheritance by subprocesses is a problem, you could try an explicit loader invocation with --library-path, or scrub the process environment after the process has been loaded. (After program start, changing the environment variable does not alter the search path.) > My solution was to use > dlmopen() to open a shim library defining an alternative dlopen(), so that I > could intercept VDDK's poor dlopen calls and replace them with saner > absolute loads. It looks like you are reimplementing the la_objsearch hook from LD_AUDIT. dlmopen seems the wrong solution for this because many things break with the current implementation, not just debugging. This is more of a topic for libc-help. Posting to random bug reports isn't really the way to request help from your fellow Red Hatters. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47334-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 11:32:47 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 16758 invoked by alias); 14 Feb 2020 11:32:47 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 16547 invoked by uid 55); 14 Feb 2020 11:32:42 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug network/21475] resolv: Overlong search path is truncated mid-label Date: Fri, 14 Feb 2020 11:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.25 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.26 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00110.txt.bz2 Content-length: 1166 https://sourceware.org/bugzilla/show_bug.cgi?id=21475 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a1a20f029299dc27170912bb9233070c8403444d commit a1a20f029299dc27170912bb9233070c8403444d Author: Florian Weimer Date: Tue Jan 21 17:11:01 2020 +0100 resolv: Fix file handle leak in __resolv_conf_load [BZ #25429] res_vinit_1 did not close the stream on errors, only on success. This change moves closing the stream to __resolv_conf_load, for both the success and error cases. Fixes commit 89f187a40fc0ad4e22838526bfe34d73f758b776 ("resolv: Use getline for configuration file reading in res_vinit_1") and commit 3f853f22c87f0b671c0366eb290919719fa56c0e ("resolv: Lift domain search list limits [BZ #19569] [BZ #21475]"), where memory allocation was introduced into res_vinit_1. Reviewed-by: Adhemerval Zanella -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47335-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 11:32:48 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 16799 invoked by alias); 14 Feb 2020 11:32:47 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 16545 invoked by uid 55); 14 Feb 2020 11:32:42 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug network/19569] resolv: Support an arbitrary number of search domains Date: Fri, 14 Feb 2020 11:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.24 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.26 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00109.txt.bz2 Content-length: 1166 https://sourceware.org/bugzilla/show_bug.cgi?id=19569 --- Comment #9 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a1a20f029299dc27170912bb9233070c8403444d commit a1a20f029299dc27170912bb9233070c8403444d Author: Florian Weimer Date: Tue Jan 21 17:11:01 2020 +0100 resolv: Fix file handle leak in __resolv_conf_load [BZ #25429] res_vinit_1 did not close the stream on errors, only on success. This change moves closing the stream to __resolv_conf_load, for both the success and error cases. Fixes commit 89f187a40fc0ad4e22838526bfe34d73f758b776 ("resolv: Use getline for configuration file reading in res_vinit_1") and commit 3f853f22c87f0b671c0366eb290919719fa56c0e ("resolv: Lift domain search list limits [BZ #19569] [BZ #21475]"), where memory allocation was introduced into res_vinit_1. Reviewed-by: Adhemerval Zanella -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47337-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 11:32:57 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 17488 invoked by alias); 14 Feb 2020 11:32:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 17377 invoked by uid 55); 14 Feb 2020 11:32:52 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug network/984] Respond to changed resolv.conf in gethostbyname Date: Fri, 14 Feb 2020 11:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.3.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.26 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00112.txt.bz2 Content-length: 959 https://sourceware.org/bugzilla/show_bug.cgi?id=984 --- Comment #22 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fa00db0a6eb755837ae5d413515e0da582b304f3 commit fa00db0a6eb755837ae5d413515e0da582b304f3 Author: Florian Weimer Date: Tue Jan 21 17:38:15 2020 +0100 resolv: Fix ABA race in /etc/resolv.conf change detection [BZ #25420] __resolv_conf_get_current should only record the initial file change data if after verifying that file just read matches the original measurement. Fixes commit aef16cc8a4c670036d45590877 ("resolv: Automatically reload a changed /etc/resolv.conf file [BZ #984]"). Reviewed-by: Adhemerval Zanella -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47333-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 11:32:46 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 16591 invoked by alias); 14 Feb 2020 11:32:46 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 16526 invoked by uid 55); 14 Feb 2020 11:32:41 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug network/25429] res_vinit_1 leaks fp stdio stream on error Date: Fri, 14 Feb 2020 11:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00108.txt.bz2 Content-length: 1166 https://sourceware.org/bugzilla/show_bug.cgi?id=25429 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a1a20f029299dc27170912bb9233070c8403444d commit a1a20f029299dc27170912bb9233070c8403444d Author: Florian Weimer Date: Tue Jan 21 17:11:01 2020 +0100 resolv: Fix file handle leak in __resolv_conf_load [BZ #25429] res_vinit_1 did not close the stream on errors, only on success. This change moves closing the stream to __resolv_conf_load, for both the success and error cases. Fixes commit 89f187a40fc0ad4e22838526bfe34d73f758b776 ("resolv: Use getline for configuration file reading in res_vinit_1") and commit 3f853f22c87f0b671c0366eb290919719fa56c0e ("resolv: Lift domain search list limits [BZ #19569] [BZ #21475]"), where memory allocation was introduced into res_vinit_1. Reviewed-by: Adhemerval Zanella -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47336-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 11:32:56 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 17463 invoked by alias); 14 Feb 2020 11:32:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 17352 invoked by uid 55); 14 Feb 2020 11:32:52 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug network/25420] Race condition in resolv_conf.c can result in caching stale configuration forever Date: Fri, 14 Feb 2020 11:32:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00111.txt.bz2 Content-length: 960 https://sourceware.org/bugzilla/show_bug.cgi?id=25420 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fa00db0a6eb755837ae5d413515e0da582b304f3 commit fa00db0a6eb755837ae5d413515e0da582b304f3 Author: Florian Weimer Date: Tue Jan 21 17:38:15 2020 +0100 resolv: Fix ABA race in /etc/resolv.conf change detection [BZ #25420] __resolv_conf_get_current should only record the initial file change data if after verifying that file just read matches the original measurement. Fixes commit aef16cc8a4c670036d45590877 ("resolv: Automatically reload a changed /etc/resolv.conf file [BZ #984]"). Reviewed-by: Adhemerval Zanella -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47338-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 11:52:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 5620 invoked by alias); 14 Feb 2020 11:52:14 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 5248 invoked by uid 48); 14 Feb 2020 11:52:09 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25420] Race condition in resolv_conf.c can result in caching stale configuration forever Date: Fri, 14 Feb 2020 11:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00113.txt.bz2 Content-length: 407 https://sourceware.org/bugzilla/show_bug.cgi?id=25420 --- Comment #2 from Florian Weimer --- Fixed for glibc 2.32. I tried the reproducer, but it is a bit of a fork bomb, so it did not work for me. We can add a proper test case later, maybe once we have a port directive for /etc/resolv.conf. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47339-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 11:53:04 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 6158 invoked by alias); 14 Feb 2020 11:53:03 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 6109 invoked by uid 48); 14 Feb 2020 11:53:00 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25420] Race condition in resolv_conf.c can result in caching stale configuration forever Date: Fri, 14 Feb 2020 11:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00114.txt.bz2 Content-length: 376 https://sourceware.org/bugzilla/show_bug.cgi?id=25420 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.32 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47341-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 12:10:16 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 29176 invoked by alias); 14 Feb 2020 12:10:16 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 29138 invoked by uid 48); 14 Feb 2020 12:10:12 -0000 From: "abarthel at student dot 42.fr" To: glibc-bugs@sourceware.org Subject: [Bug manual/25555] Not closing read-end of pipe avoid kernel sending SIGPIPE to previous process in pipeline Date: Fri, 14 Feb 2020 12:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: abarthel at student dot 42.fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00116.txt.bz2 Content-length: 616 https://sourceware.org/bugzilla/show_bug.cgi?id=25555 Antoine Barthelemy changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Not closing read-en of pipe |Not closing read-end of |avoid kernel sending |pipe avoid kernel sending |SIGPIPE to previous process |SIGPIPE to previous process |in pipeline |in pipeline -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47340-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 12:10:03 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 28726 invoked by alias); 14 Feb 2020 12:10:02 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 28605 invoked by uid 48); 14 Feb 2020 12:09:58 -0000 From: "abarthel at student dot 42.fr" To: glibc-bugs@sourceware.org Subject: [Bug manual/25555] New: Not closing read-en of pipe avoid kernel sending SIGPIPE to previous process in pipeline Date: Fri, 14 Feb 2020 12:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: abarthel at student dot 42.fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00115.txt.bz2 Content-length: 3095 https://sourceware.org/bugzilla/show_bug.cgi?id=25555 Bug ID: 25555 Summary: Not closing read-en of pipe avoid kernel sending SIGPIPE to previous process in pipeline Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: manual Assignee: unassigned at sourceware dot org Reporter: abarthel at student dot 42.fr CC: mtk.manpages at gmail dot com Target Milestone: --- Overview: In section 28.5.3 Launching Jobs of Libc Manual, nor launch_job nor launch_process function close read-end of pipe process which leads the kernel not to send SIGPIPE to the previous process in the pipeline. Steps to Reproduce: Executing launch_job and launch_process together in a program that runs a pipeline such as "ls -lR / | hostname". Actual Results: When doing so, "ls -lR /" does not receive SIGPIPE from the kernel when "hostname" ends but instead it is suspended. In this situation we need to kill manually "ls -lR /" which is suspended. Expected Results: When running "ls -lR / | hostname", as soon as hostname ends, "ls -lR /" should receive SIGPIPE and exit. Additional Information: I suggest to add a single line to launch_job to ensure read-end of pipe will actually be closed, avoiding leaving a pipe in a single process ("ls" in the example). void launch_job (job *j, int foreground) { process *p; pid_t pid; int mypipe[2], infile, outfile; infile = j->stdin; for (p = j->first_process; p; p = p->next) { /* Set up pipes, if necessary. */ if (p->next) { if (pipe (mypipe) < 0) { perror ("pipe"); exit (1); } outfile = mypipe[1]; } else outfile = j->stdout; /* Fork the child processes. */ pid = fork (); if (pid == 0) { /* This is the child process. */ if (infile != mypipe[0]) /* Close read-end of pipe */ close(mypipe[0]); launch_process (p, j->pgid, infile, outfile, j->stderr, foreground); } else if (pid < 0) { /* The fork failed. */ perror ("fork"); exit (1); } else { /* This is the parent process. */ p->pid = pid; if (shell_is_interactive) { if (!j->pgid) j->pgid = pid; setpgid (pid, j->pgid); } } /* Clean up after pipes. */ if (infile != j->stdin) close (infile); if (outfile != j->stdout) close (outfile); infile = mypipe[0]; } format_job_info (j, "launched"); if (!shell_is_interactive) wait_for_job (j); else if (foreground) put_job_in_foreground (j, 0); else put_job_in_background (j, 0); } -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47342-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 12:13:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 32469 invoked by alias); 14 Feb 2020 12:13:14 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 32412 invoked by uid 48); 14 Feb 2020 12:13:10 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25420] Race condition in resolv_conf.c can result in caching stale configuration forever Date: Fri, 14 Feb 2020 12:13:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00117.txt.bz2 Content-length: 507 https://sourceware.org/bugzilla/show_bug.cgi?id=25420 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED --- Comment #3 from Florian Weimer --- . -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47343-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 13:48:00 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 118955 invoked by alias); 14 Feb 2020 13:47:59 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 118868 invoked by uid 48); 14 Feb 2020 13:47:53 -0000 From: "eblake at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/15971] No interface for debugger access to libraries loaded with dlmopen Date: Fri, 14 Feb 2020 13:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: eblake at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00118.txt.bz2 Content-length: 5317 https://sourceware.org/bugzilla/show_bug.cgi?id=15971 --- Comment #5 from Eric Blake --- (In reply to Florian Weimer from comment #4) Replying out of order: > This is more of a topic for libc-help. Posting to random bug reports isn't > really the way to request help from your fellow Red Hatters. This wasn't a random request for help, so much as confirmation that this (long-standing) bug is still out there, and that I encountered it because I came up with a use case where dlmopen() solved a problem for me. I got my code to accomplish my goal before finding this bug report, and was merely confirming that the bug (of gdb not being able to debug dlmopen()d code) is still present, even if I managed to get my nbdkit patch working in spite of the debugging deficiency. If anything, I'm hoping that my post here serves as documentation for why fixing this bug may have benefits to other users who try dlmopen(), rather than me needing help. > (In reply to Eric Blake from comment #3) > > I ran into this today while working on nbdkit; I needed a way to work around > > VDDK's buggy proprietary library that calls dlopen("libcrypto.so") on a > > relative path name but where the library comes with its own version of > > libcrypto.so that is incompatible with the one in /usr/lib, but I also need > > a solution that would not require LD_LIBRARY_PATH. > > Why is LD_LIBRARY_PATH not an option? VDDK's library is proprietary, and installing it puts both libvixDiskLib.so and a sub-par libstdc++.so (among others) in the same directory. If the user exports LD_LIBRARY_PATH to point to vddk's library, they break execution of any binary that depends on a newer libstdc++.so. https://bugzilla.redhat.com/show_bug.cgi?id=1756307#c7 At the same time, libvixDiskLib.so exports an initialization function which in turn calls dlopen("libcrypto.so") and similar to load the versions of libraries that it shipped with; because VDDK appears to be built without proper rpath, this load fails if it finds /usr/lib64/libcrypto.so instead of the version it shipped alongside libvixDiskLib.so. But because VDDK is proprietary, we can't rewrite their library to fix their bug. So the only way to use VDDK is to influence the search path so that the relative loads performed by VDDK resolve to VDDK's installation path, but it is desirable to limit this influence to just the process loading VDDK. Telling users they have to set LD_LIBRARY_PATH before running nbdkit (where nbdkit the loads libvixDiskLib.so via dlopen) is annoying: although nbdkit itself is (so far) not broken by any of the other libraries installed by VDDK (because it is a C program, not a C++ program), any child process that nbdkit spawns has to undo the LD_LIBRARY_PATH damage. Worse, nbdkit is DESIGNED to spawn a child process, and the main executable that spawns a child process (nbdkit --run 'command ...') is in a separate binary than the shared library that dlopen()s libvixDiskLib.so (nbdkit-vddk-plugin.so); coordinating environment variables between the two binaries introduces awkward coupling problems. Since LD_LIBRARY_PATH is unpalatable, I then explored how I could hook into the dlopen process. My solution was to dlmopen() a library that hooks dlopen(), although your suggestion of using la_objsearch() is worth exploring - the fact that the dlopen man page did not mention la_objsearch, and that the dlmopen man page did not mention that dlmopen() currently does not support gdb debugging, could be considered documentation bugs under the umbrella of this bug. > > If the inheritance by subprocesses is a problem, you could try an explicit > loader invocation with --library-path, or scrub the process environment > after the process has been loaded. (After program start, changing the > environment variable does not alter the search path.) Re-execing nbdkit would involve adding coupling between the main binary and the dependent library that dlopen's vddk. An explicit loader invocation implies a re-exec of nbdkit. > > > My solution was to use > > dlmopen() to open a shim library defining an alternative dlopen(), so that I > > could intercept VDDK's poor dlopen calls and replace them with saner > > absolute loads. > > It looks like you are reimplementing the la_objsearch hook from LD_AUDIT. The man page for dlopen did not mention la_objsearch. And, on at least Fedora 31, 'man la_objsearch' fails. (I did find online references to it, though, now that you've pointed it out). Is it something that HAS to go through the environment variable LD_AUDIT, or can a standalone shared library be its own auditing interface for just a single process? If it is really that easy to hook dlopen() to rewrite relative paths into absolute, it seems like it would be easier to locate documentation on the matter. > > dlmopen seems the wrong solution for this because many things break with the > current implementation, not just debugging. Then those pitfalls should be documented in the dlmopen man page, as well as a pointer back to this bug (and any others that are the result of difficulties in process management caused by dlmopen). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47344-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 14:17:31 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 52665 invoked by alias); 14 Feb 2020 14:17:30 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 52208 invoked by uid 55); 14 Feb 2020 14:17:26 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug math/14469] Inaccurate j0f function Date: Fri, 14 Feb 2020 14:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.17 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00119.txt.bz2 Content-length: 2417 https://sourceware.org/bugzilla/show_bug.cgi?id=14469 --- Comment #10 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Joseph Myers : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ad180676b83dc1782d407dbff57dabbaab0c1f71 commit ad180676b83dc1782d407dbff57dabbaab0c1f71 Author: Joseph Myers Date: Fri Feb 14 14:16:25 2020 +0000 Adjust thresholds in Bessel function implementations (bug 14469). A recent discussion in bug 14469 notes that a threshold in float Bessel function implementations, used to determine when to use a simpler implementation approach, results in substantially inaccurate results. As I discussed in , a heuristic argument suggests 2^(S+P) as the right order of magnitude for a suitable threshold, where S is the number of significand bits in the floating-point type and P is the number of significant bits in the representation of the floating-point type, and the float and ldbl-96 implementations use thresholds that are too small. Some threshold does need using, there or elsewhere in the implementation, to avoid spurious underflow and overflow for large arguments. This patch sets the thresholds in the affected implementations to more heuristically justifiable values. Results will still be inaccurate close to zeroes of the functions (thus this patch does *not* fix any of the bugs for Bessel function inaccuracy); fixing that would require a different implementation approach, likely along the lines described in . So the justification for a change such as this would be statistical rather than based on particular tests that had excessive errors and no longer do so (no doubt such tests could be found, but would probably be too fragile to add to the testsuite, as liable to give large errors again from very small implementation changes or even from compiler changes). See for such statistics of the resulting improvements for float functions. Tested (glibc testsuite) for x86_64. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47345-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 19:57:07 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 129778 invoked by alias); 14 Feb 2020 19:57:06 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 129716 invoked by uid 55); 14 Feb 2020 19:57:01 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/23202] tst-pkeys fails on POWER Date: Fri, 14 Feb 2020 19:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00120.txt.bz2 Content-length: 918 https://sourceware.org/bugzilla/show_bug.cgi?id=23202 --- Comment #5 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a803367bab167f5ec4fde1f0d0ec447707c29520 commit a803367bab167f5ec4fde1f0d0ec447707c29520 Author: Florian Weimer Date: Fri Feb 14 20:55:39 2020 +0100 powerpc64: Add memory protection key support [BZ #23202] The 32-bit protection key behavior is somewhat unclear on 32-bit powerpc, so this change is restricted to the 64-bit variants. Flag translation is needed because of hardware differences between the POWER implementation (read and write flags) and the Intel implementation (write and read+write flags). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47346-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 14 19:59:09 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 2055 invoked by alias); 14 Feb 2020 19:59:09 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 2002 invoked by uid 48); 14 Feb 2020 19:59:05 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/23202] tst-pkeys fails on POWER Date: Fri, 14 Feb 2020 19:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00121.txt.bz2 Content-length: 279 https://sourceware.org/bugzilla/show_bug.cgi?id=23202 --- Comment #6 from Florian Weimer --- misc/tst-pkeys still needs to be updated with different test expectations. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47347-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Feb 15 00:14:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 75167 invoked by alias); 15 Feb 2020 00:14:48 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 74633 invoked by uid 55); 15 Feb 2020 00:14:42 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Sat, 15 Feb 2020 00:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00122.txt.bz2 Content-length: 1098 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 --- Comment #9 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Adhemerval Zanella : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c261718b3fda4b629ee120f48e3ee50db9c793a1 commit c261718b3fda4b629ee120f48e3ee50db9c793a1 Author: Adhemerval Zanella Date: Mon Feb 10 12:57:28 2020 -0300 sparc: Avoid clobbering register parameters in syscall The sparc INTERNAL_SYSCALL macro might clobber the register parameter if the argument itself might clobber any register (a function call for instance). This patch fixes it by using temporary variables for the expressions between the register assignments (as indicated by GCC documentation, 6.47.5.2 Specifying Registers for Local Variables). It is similar to the fix done for MIPS (bug 25523). Checked on sparc64-linux-gnu and sparcv9-linux-gnu. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47348-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Feb 15 00:19:21 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 79196 invoked by alias); 15 Feb 2020 00:18:01 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 78616 invoked by uid 55); 15 Feb 2020 00:17:23 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Sat, 15 Feb 2020 00:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00123.txt.bz2 Content-length: 1125 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 --- Comment #10 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Adhemerval Zanella : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6cc8fc7c1506e8084d65b078ff5b05a92e17a28a commit 6cc8fc7c1506e8084d65b078ff5b05a92e17a28a Author: Adhemerval Zanella Date: Mon Feb 10 10:19:29 2020 -0300 microblaze: Avoid clobbering register parameters in syscall The microblaze INTERNAL_SYSCALL macro might clobber the register parameter if the argument itself might clobber any register (a function call for instance). This patch fixes it by using temporary variables for the expressions between the register assignments (as indicated by GCC documentation, 6.47.5.2 Specifying Registers for Local Variables). It is similar to the fix done for MIPS (bug 25523). Checked with microblaze-linux-gnu and microblazeel-linux-gnu build. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47349-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Feb 15 00:19:40 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 80542 invoked by alias); 15 Feb 2020 00:19:28 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 80090 invoked by uid 55); 15 Feb 2020 00:19:21 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Sat, 15 Feb 2020 00:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00124.txt.bz2 Content-length: 1102 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 --- Comment #11 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Adhemerval Zanella : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=be74b42ee2a97009a6cd4fc90126add4a41c583b commit be74b42ee2a97009a6cd4fc90126add4a41c583b Author: Adhemerval Zanella Date: Mon Feb 10 10:32:14 2020 -0300 riscv: Avoid clobbering register parameters in syscall The riscv INTERNAL_SYSCALL macro might clobber the register parameter if the argument itself might clobber any register (a function call for instance). This patch fixes it by using temporary variables for the expressions between the register assignments (as indicated by GCC documentation, 6.47.5.2 Specifying Registers for Local Variables). It is similar to the fix done for MIPS (bug 25523). Checked with riscv64-linux-gnu-rv64imafdc-lp64d build. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47351-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Feb 15 10:05:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 124793 invoked by alias); 15 Feb 2020 10:05:15 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 124694 invoked by uid 55); 15 Feb 2020 10:05:08 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/24741] ld.so should not require that a versioned symbol is always implemented in the same library Date: Sat, 15 Feb 2020 10:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.30 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00126.txt.bz2 Content-length: 1379 https://sourceware.org/bugzilla/show_bug.cgi?id=24741 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3a0ecccb599a6b1ad4b149dc569c0080e92d057b commit 3a0ecccb599a6b1ad4b149dc569c0080e92d057b Author: Florian Weimer Date: Sat Feb 8 19:58:43 2020 +0100 ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] Exporting functions and relying on symbol interposition from libc.so makes the choice of implementation dependent on DT_NEEDED order, which is not what some compiler drivers expect. This commit replaces one magic mechanism (symbol interposition) with another one (preprocessor-/compiler-based redirection). This makes the hand-over from the minimal malloc to the full malloc more explicit. Removing the ABI symbols is backwards-compatible because libc.so is always in scope, and the dynamic loader will find the malloc-related symbols there since commit f0b2132b35248c1f4a80f62a2c38cddcc802aa8c ("ld.so: Support moving versioned symbols between sonames [BZ #24741]"). Reviewed-by: Carlos O'Donell -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47350-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sat Feb 15 10:05:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 124789 invoked by alias); 15 Feb 2020 10:05:15 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 124692 invoked by uid 55); 15 Feb 2020 10:05:08 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] RFE: Stop exporting free, realloc, calloc, and malloc from ld.so Date: Sat, 15 Feb 2020 10:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00125.txt.bz2 Content-length: 1379 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 --- Comment #9 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3a0ecccb599a6b1ad4b149dc569c0080e92d057b commit 3a0ecccb599a6b1ad4b149dc569c0080e92d057b Author: Florian Weimer Date: Sat Feb 8 19:58:43 2020 +0100 ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486] Exporting functions and relying on symbol interposition from libc.so makes the choice of implementation dependent on DT_NEEDED order, which is not what some compiler drivers expect. This commit replaces one magic mechanism (symbol interposition) with another one (preprocessor-/compiler-based redirection). This makes the hand-over from the minimal malloc to the full malloc more explicit. Removing the ABI symbols is backwards-compatible because libc.so is always in scope, and the dynamic loader will find the malloc-related symbols there since commit f0b2132b35248c1f4a80f62a2c38cddcc802aa8c ("ld.so: Support moving versioned symbols between sonames [BZ #24741]"). Reviewed-by: Carlos O'Donell -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47352-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 16 13:01:07 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 79117 invoked by alias); 16 Feb 2020 13:00:46 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 78818 invoked by uid 55); 16 Feb 2020 13:00:41 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Sun, 16 Feb 2020 13:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00127.txt.bz2 Content-length: 1207 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 --- Comment #12 from cvs-commit at gcc dot gnu.org --- The release/2.31/master branch has been updated by Aurelien Jarno : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f4f884351533601863351dd8a0d79e59471372da commit f4f884351533601863351dd8a0d79e59471372da Author: Adhemerval Zanella Date: Mon Feb 10 10:19:29 2020 -0300 microblaze: Avoid clobbering register parameters in syscall The microblaze INTERNAL_SYSCALL macro might clobber the register parameter if the argument itself might clobber any register (a function call for instance). This patch fixes it by using temporary variables for the expressions between the register assignments (as indicated by GCC documentation, 6.47.5.2 Specifying Registers for Local Variables). It is similar to the fix done for MIPS (bug 25523). Checked with microblaze-linux-gnu and microblazeel-linux-gnu build. (cherry picked from commit 6cc8fc7c1506e8084d65b078ff5b05a92e17a28a) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47353-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 16 13:02:09 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 80754 invoked by alias); 16 Feb 2020 13:02:08 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 80675 invoked by uid 55); 16 Feb 2020 13:02:04 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Sun, 16 Feb 2020 13:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00128.txt.bz2 Content-length: 1184 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 --- Comment #13 from cvs-commit at gcc dot gnu.org --- The release/2.31/master branch has been updated by Aurelien Jarno : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5d31b083e41ce2492f3c1d4061dc610cdcdcfaa9 commit 5d31b083e41ce2492f3c1d4061dc610cdcdcfaa9 Author: Adhemerval Zanella Date: Mon Feb 10 10:32:14 2020 -0300 riscv: Avoid clobbering register parameters in syscall The riscv INTERNAL_SYSCALL macro might clobber the register parameter if the argument itself might clobber any register (a function call for instance). This patch fixes it by using temporary variables for the expressions between the register assignments (as indicated by GCC documentation, 6.47.5.2 Specifying Registers for Local Variables). It is similar to the fix done for MIPS (bug 25523). Checked with riscv64-linux-gnu-rv64imafdc-lp64d build. (cherry picked from commit be74b42ee2a97009a6cd4fc90126add4a41c583b) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47354-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 16 14:16:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 35791 invoked by alias); 16 Feb 2020 14:16:42 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 35476 invoked by uid 55); 16 Feb 2020 14:16:37 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Sun, 16 Feb 2020 14:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00129.txt.bz2 Content-length: 1146 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 --- Comment #14 from cvs-commit at gcc dot gnu.org --- The release/2.30/master branch has been updated by Aurelien Jarno : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b3be12767c66773bc476735bf048d026a7a94925 commit b3be12767c66773bc476735bf048d026a7a94925 Author: WANG Xuerui Date: Thu Feb 13 00:57:03 2020 +0800 mips: Fix argument passing for inlined syscalls on Linux [BZ #25523] According to [gcc documentation][1], temporary variables must be used for the desired content to not be call-clobbered. Fix the Linux inline syscall templates by adding temporary variables, much like what x86 did before (commit 381a0c26d73e0f074c962e0ab53b99a6c327066d). Tested with gcc 9.2.0, both cross-compiled and natively on Loongson 3A4000. [1]: https://gcc.gnu.org/onlinedocs/gcc/Local-Register-Variables.html (cherry picked from commit 4fbba6fe904d0094ddc4284066b3860d119cbd4a) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47356-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 16 14:17:35 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 37654 invoked by alias); 16 Feb 2020 14:17:35 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 37549 invoked by uid 55); 16 Feb 2020 14:17:31 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Sun, 16 Feb 2020 14:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00131.txt.bz2 Content-length: 1184 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 --- Comment #16 from cvs-commit at gcc dot gnu.org --- The release/2.30/master branch has been updated by Aurelien Jarno : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=74d9b0811eb4176ba314436a56f6f5fea96ba910 commit 74d9b0811eb4176ba314436a56f6f5fea96ba910 Author: Adhemerval Zanella Date: Mon Feb 10 10:32:14 2020 -0300 riscv: Avoid clobbering register parameters in syscall The riscv INTERNAL_SYSCALL macro might clobber the register parameter if the argument itself might clobber any register (a function call for instance). This patch fixes it by using temporary variables for the expressions between the register assignments (as indicated by GCC documentation, 6.47.5.2 Specifying Registers for Local Variables). It is similar to the fix done for MIPS (bug 25523). Checked with riscv64-linux-gnu-rv64imafdc-lp64d build. (cherry picked from commit be74b42ee2a97009a6cd4fc90126add4a41c583b) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47355-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 16 14:17:17 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 37026 invoked by alias); 16 Feb 2020 14:17:16 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 36781 invoked by uid 55); 16 Feb 2020 14:17:11 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Sun, 16 Feb 2020 14:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00130.txt.bz2 Content-length: 1207 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 --- Comment #15 from cvs-commit at gcc dot gnu.org --- The release/2.30/master branch has been updated by Aurelien Jarno : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=e1766196b67b830b8dbced1d96fd9c538f00489c commit e1766196b67b830b8dbced1d96fd9c538f00489c Author: Adhemerval Zanella Date: Mon Feb 10 10:19:29 2020 -0300 microblaze: Avoid clobbering register parameters in syscall The microblaze INTERNAL_SYSCALL macro might clobber the register parameter if the argument itself might clobber any register (a function call for instance). This patch fixes it by using temporary variables for the expressions between the register assignments (as indicated by GCC documentation, 6.47.5.2 Specifying Registers for Local Variables). It is similar to the fix done for MIPS (bug 25523). Checked with microblaze-linux-gnu and microblazeel-linux-gnu build. (cherry picked from commit 6cc8fc7c1506e8084d65b078ff5b05a92e17a28a) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47357-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 16 14:18:07 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 38202 invoked by alias); 16 Feb 2020 14:18:06 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 38152 invoked by uid 48); 16 Feb 2020 14:18:02 -0000 From: "samuel.thibault@ens-lyon.org" To: glibc-bugs@sourceware.org Subject: [Bug hurd/25563] New: hurd: Fix robust mutex support against dead threads Date: Sun, 16 Feb 2020 14:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: hurd X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: samuel.thibault@ens-lyon.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00132.txt.bz2 Content-length: 779 https://sourceware.org/bugzilla/show_bug.cgi?id=25563 Bug ID: 25563 Summary: hurd: Fix robust mutex support against dead threads Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: hurd Assignee: unassigned at sourceware dot org Reporter: samuel.thibault@ens-lyon.org CC: samuel.thibault@ens-lyon.org, tschwinge at sourceware dot org Target Milestone: --- The tst-robust* tests fail because the current htl implementation checks the liveness of the process that had the lock, and not the liveness of the thread that had the lock. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47358-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 17 07:11:57 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 110317 invoked by alias); 17 Feb 2020 07:11:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 110284 invoked by uid 48); 17 Feb 2020 07:11:53 -0000 From: "noloader at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/14106] _FILE_OFFSET_BITSd goes outside standard namespace Date: Mon, 17 Feb 2020 07:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.15 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: noloader at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00133.txt.bz2 Content-length: 397 https://sourceware.org/bugzilla/show_bug.cgi?id=14106 Jeffrey Walton changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |noloader at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47359-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 17 16:04:18 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 2418 invoked by alias); 17 Feb 2020 16:04:18 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 2374 invoked by uid 48); 17 Feb 2020 16:04:13 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/24943] Support DT_AUDIT, DT_DEPAUDIT in the dynamic linker Date: Mon, 17 Feb 2020 16:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00134.txt.bz2 Content-length: 284 https://sourceware.org/bugzilla/show_bug.cgi?id=24943 --- Comment #2 from Florian Weimer --- Rebase posted: https://www.sourceware.org/ml/libc-alpha/2020-02/msg00766.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47360-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 18 00:23:44 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 36902 invoked by alias); 18 Feb 2020 00:23:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 36866 invoked by uid 48); 18 Feb 2020 00:23:39 -0000 From: "romain.geissler at amadeus dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/25571] New: elf/tst-ldconfig-ld_so_conf-update should use support_install_prefix as a prefix for /etc/ld.so.conf ? Date: Tue, 18 Feb 2020 00:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: romain.geissler at amadeus dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00135.txt.bz2 Content-length: 1090 https://sourceware.org/bugzilla/show_bug.cgi?id=25571 Bug ID: 25571 Summary: elf/tst-ldconfig-ld_so_conf-update should use support_install_prefix as a prefix for /etc/ld.so.conf ? Product: glibc Version: 2.31 Status: UNCONFIRMED Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: romain.geissler at amadeus dot com CC: carlos at redhat dot com Target Milestone: --- Hi, I have a failing tests when I run glibc 2.31 test suite with a glibc configured using a non default --prefix. This was running inside a Jenkins jobs for which I don't have the build artefacts anymore. However, just checking the test elf/tst-ldconfig-ld_so_conf-update shouldn't it use support_install_prefix in front of /etc/ld.so.conf ? I had similar issues with binutils 2.34 recently in PR25477. Cheers, Romain -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47361-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 18 14:18:10 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 90036 invoked by alias); 18 Feb 2020 14:18:09 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 89957 invoked by uid 48); 18 Feb 2020 14:18:01 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25442] openlog() keep reference to ident that caller may have freed Date: Tue, 18 Feb 2020 14:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00136.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=25442 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47362-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 18 16:02:13 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 93515 invoked by alias); 18 Feb 2020 16:02:13 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 93473 invoked by uid 48); 18 Feb 2020 16:02:08 -0000 From: "spetrov at mallsi dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25574] New: wcstombs assertion on __attribute__((__packed__)) structure Date: Tue, 18 Feb 2020 16:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: spetrov at mallsi dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00137.txt.bz2 Content-length: 3006 https://sourceware.org/bugzilla/show_bug.cgi?id=25574 Bug ID: 25574 Summary: wcstombs assertion on __attribute__((__packed__)) structure Product: glibc Version: 2.27 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: spetrov at mallsi dot com CC: drepper.fsp at gmail dot com Target Milestone: --- Created attachment 12298 --> https://sourceware.org/bugzilla/attachment.cgi?id=12298&action=edit wcstombs_test.c source code Hello, wcstombs function somehow differ in behavior when used with normal struct {} and struct {} __attribute__((__packed__)); tested with the following scenario: -------------------------------------8<----------------------------- --- gcc version --- spetrov@HPGLX-LINUX:~$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1) --- compile --- spetrov@HPGLX-LINUX:~$ gcc -o wcstombs_test wcstombs_test.c -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror --- run program --- spetrov@HPGLX-LINUX:~$ ./wcstombs_test sizeof(struct _test) = 8, sizeof(struct _test_p) = 5 base=0x55f3cc5ba5a0 a1=0x55f3cc5ba5a8, base=0x55f3cc5ba990 a2=0x55f3cc5ba995 wcstombs_test: wcsrtombs.c:94: __wcsrtombs: Assertion `data.__outbuf[-1] == '\0'' failed. Aborted (core dumped) spetrov@HPGLX-LINUX:~$ -------------------------------------8<----------------------------- source code of wcstombs_test.c is attached. Kind Regards, Svetoslav Petrov -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47363-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 18 16:54:39 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 62592 invoked by alias); 18 Feb 2020 16:54:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 62466 invoked by uid 55); 18 Feb 2020 16:54:32 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/14578] /proc-based emulation for lchmod, fchmodat Date: Tue, 18 Feb 2020 16:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00138.txt.bz2 Content-length: 991 https://sourceware.org/bugzilla/show_bug.cgi?id=14578 --- Comment #18 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a492b1e5ef7ab50c6fdd4e4e9879ea5569ab0a6c commit a492b1e5ef7ab50c6fdd4e4e9879ea5569ab0a6c Author: Florian Weimer Date: Tue Feb 18 17:52:27 2020 +0100 Linux: Work around kernel bugs in chmod on /proc/self/fd paths [BZ #14578] It appears that the ability to change symbolic link modes through such paths is unintended. On several file systems, the operation fails with EOPNOTSUPP, even though the symbolic link permissions are updated. The expected behavior is a failure to update the permissions, without file system changes. Reviewed-by: Matheus Castanho -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47364-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 18 18:07:40 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 96055 invoked by alias); 18 Feb 2020 18:07:40 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 95996 invoked by uid 48); 18 Feb 2020 18:07:36 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25574] wcstombs assertion on __attribute__((__packed__)) structure Date: Tue, 18 Feb 2020 18:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00139.txt.bz2 Content-length: 547 https://sourceware.org/bugzilla/show_bug.cgi?id=25574 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andreas Schwab --- You are passing an unaligned pointer to wcstombs. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47365-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 10:27:37 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 26307 invoked by alias); 19 Feb 2020 10:27:36 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 26228 invoked by uid 48); 19 Feb 2020 10:27:32 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25512] std::call_once not working as expected when the invocated function throws an exception. Date: Wed, 19 Feb 2020 10:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00140.txt.bz2 Content-length: 602 https://sourceware.org/bugzilla/show_bug.cgi?id=25512 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|std::call_once not working |std::call_once not working |as expected when the |as expected when the |invocated function thwows |invocated function throws |an exception. |an exception. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47366-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 11:06:29 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 35312 invoked by alias); 19 Feb 2020 11:06:28 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 35273 invoked by uid 48); 19 Feb 2020 11:06:24 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25512] std::call_once not working as expected when the invocated function throws an exception. Date: Wed, 19 Feb 2020 11:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00141.txt.bz2 Content-length: 274 https://sourceware.org/bugzilla/show_bug.cgi?id=25512 --- Comment #1 from Andreas Schwab --- I don't see anything calling the cleanup function in __pthread_once_slow. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47367-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 11:16:00 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 63723 invoked by alias); 19 Feb 2020 11:15:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 63529 invoked by uid 48); 19 Feb 2020 11:15:24 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25512] std::call_once not working as expected when the invocated function throws an exception. Date: Wed, 19 Feb 2020 11:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00142.txt.bz2 Content-length: 565 https://sourceware.org/bugzilla/show_bug.cgi?id=25512 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #2 from Andreas Schwab --- dup *** This bug has been marked as a duplicate of bug 18435 *** -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47368-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 11:16:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 63958 invoked by alias); 19 Feb 2020 11:16:12 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 63768 invoked by uid 48); 19 Feb 2020 11:15:59 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug nptl/18435] pthread_once hangs when init routine throws an exception Date: Wed, 19 Feb 2020 11:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: msebor at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00143.txt.bz2 Content-length: 529 https://sourceware.org/bugzilla/show_bug.cgi?id=18435 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mariogalindoq at hotmail dot com --- Comment #18 from Andreas Schwab --- *** Bug 25512 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47369-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 14:40:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 29886 invoked by alias); 19 Feb 2020 14:40:48 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 29747 invoked by uid 55); 19 Feb 2020 14:40:43 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/23202] tst-pkeys fails on POWER Date: Wed, 19 Feb 2020 14:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00144.txt.bz2 Content-length: 1302 https://sourceware.org/bugzilla/show_bug.cgi?id=23202 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tulio Magno Quites Machado Filho : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8d42bf859a289944749d9f978c076cd318119867 commit 8d42bf859a289944749d9f978c076cd318119867 Author: Lucas A. M. Magalhaes Date: Mon Feb 17 09:09:52 2020 -0300 Fix tst-pkey expectations on pkey_get [BZ #23202] From the GNU C Library manual, the pkey_set can receive a combination of PKEY_DISABLE_WRITE and PKEY_DISABLE_ACCESS. However PKEY_DISABLE_ACCESS is more restrictive than PKEY_DISABLE_WRITE and includes its behavior. The test expects that after setting (PKEY_DISABLE_WRITE|PKEY_DISABLE_ACCESS) pkey_get should return the same. This may not be true as PKEY_DISABLE_ACCESS will succeed in describing the state of the key in this case. The pkey behavior during signal handling is different between x86 and POWER. This change make the test compatible with both architectures. Reviewed-by: Tulio Magno Quites Machado Filho -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47370-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 15:17:46 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 122196 invoked by alias); 19 Feb 2020 15:17:46 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 122146 invoked by uid 48); 19 Feb 2020 15:17:42 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25248] getconf(1) prints wrong SSIZE_MAX and doesn't recognise MIN/MAX for long and long long Date: Wed, 19 Feb 2020 15:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00145.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=25248 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47371-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 15:19:07 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 123118 invoked by alias); 19 Feb 2020 15:19:07 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 123054 invoked by uid 48); 19 Feb 2020 15:19:03 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25219] improve out-of-bounds checking with GCC 10 attribute access Date: Wed, 19 Feb 2020 15:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00146.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=25219 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47372-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 15:19:17 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 123439 invoked by alias); 19 Feb 2020 15:19:17 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 123401 invoked by uid 48); 19 Feb 2020 15:19:13 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25214] ctype.h performance (and potentially behavior) depends on include order Date: Wed, 19 Feb 2020 15:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00147.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=25214 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47373-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 15:19:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 123869 invoked by alias); 19 Feb 2020 15:19:42 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 123821 invoked by uid 48); 19 Feb 2020 15:19:38 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug nscd/25208] the new cache cannot be updated when the daemons are started again Date: Wed, 19 Feb 2020 15:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nscd X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00148.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=25208 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47374-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 15:25:04 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 128028 invoked by alias); 19 Feb 2020 15:25:04 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 127743 invoked by uid 48); 19 Feb 2020 15:24:59 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25194] malloc.c: do_set_mxfast incorrectly casts the mallopt value to an unsigned Date: Wed, 19 Feb 2020 15:25:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dj at redhat dot com X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00149.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=25194 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47375-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 15:26:00 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 128624 invoked by alias); 19 Feb 2020 15:26:00 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 128573 invoked by uid 48); 19 Feb 2020 15:25:55 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug regex/25149] Array bounds violation in proceed_next_node Date: Wed, 19 Feb 2020 15:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: regex X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00150.txt.bz2 Content-length: 557 https://sourceware.org/bugzilla/show_bug.cgi?id=25149 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |security- --- Comment #3 from Florian Weimer --- This requires a crafted regular expression to trigger the out-of-bounds access, so I'm setting security-. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47376-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 15:26:44 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 129798 invoked by alias); 19 Feb 2020 15:26:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 129755 invoked by uid 48); 19 Feb 2020 15:26:39 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/24970] realpath mishandles EOVERFLOW; stat not needed anyway Date: Wed, 19 Feb 2020 15:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00151.txt.bz2 Content-length: 572 https://sourceware.org/bugzilla/show_bug.cgi?id=24970 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- --- Comment #1 from Florian Weimer --- Patches should be posted to libc-alpha. Thanks. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47377-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 15:27:05 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 130268 invoked by alias); 19 Feb 2020 15:27:04 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 130165 invoked by uid 48); 19 Feb 2020 15:26:59 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/24963] fclose should lock stream first to synchronize with funlockfile Date: Wed, 19 Feb 2020 15:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00152.txt.bz2 Content-length: 456 https://sourceware.org/bugzilla/show_bug.cgi?id=24963 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Flags| |security- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47378-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 19 16:59:19 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 34970 invoked by alias); 19 Feb 2020 16:59:18 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 34918 invoked by uid 48); 19 Feb 2020 16:59:14 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug librt/10815] [timer_create / SIGEV_THREAD] signalmask of timer_sigev_thread dangerous Date: Wed, 19 Feb 2020 16:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: librt X-Bugzilla-Version: 2.9 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc resolution assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00153.txt.bz2 Content-length: 887 https://sourceware.org/bugzilla/show_bug.cgi?id=10815 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |adhemerval.zanella at linaro dot o | |rg Resolution|--- |FIXED Assignee|drepper.fsp at gmail dot com |adhemerval.zanella at linaro dot o | |rg Target Milestone|--- |2.32 --- Comment #6 from Adhemerval Zanella --- Fixed on 2.32. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47379-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 20 05:10:14 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 90393 invoked by alias); 20 Feb 2020 05:10:14 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 90375 invoked by uid 48); 20 Feb 2020 05:10:09 -0000 From: "memoreku at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25582] New: sysmalloc fails to allocate memory Date: Thu, 20 Feb 2020 05:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: memoreku at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00154.txt.bz2 Content-length: 1111 https://sourceware.org/bugzilla/show_bug.cgi?id=25582 Bug ID: 25582 Summary: sysmalloc fails to allocate memory Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: malloc Assignee: unassigned at sourceware dot org Reporter: memoreku at gmail dot com Target Milestone: --- Created attachment 12304 --> https://sourceware.org/bugzilla/attachment.cgi?id=12304&action=edit source code I'm using 64bit gentoo 17.1 with sys-libs/glibc-2.30-r4. Attached code crashes when 5 is passed through argv: % g++ -O0 -g3 -std=c++17 dcp_321.cpp && ./a.out 5 a.out: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) o ld_end & (pagesize - 1)) == 0)' failed. [1] 22677 abort ./a.out 5 % gcc --version gcc (Gentoo 9.2.0-r2 p3) 9.2.0 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47380-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 20 09:50:30 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 3210 invoked by alias); 20 Feb 2020 09:50:30 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 3137 invoked by uid 55); 20 Feb 2020 09:50:25 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug glob/25414] 'glob' use-after-free bug Date: Thu, 20 Feb 2020 09:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: glob X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00155.txt.bz2 Content-length: 735 https://sourceware.org/bugzilla/show_bug.cgi?id=25414 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Andreas Schwab : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ddc650e9b3dc916eab417ce9f79e67337b05035c commit ddc650e9b3dc916eab417ce9f79e67337b05035c Author: Andreas Schwab Date: Wed Feb 19 17:21:46 2020 +0100 Fix use-after-free in glob when expanding ~user (bug 25414) The value of `end_name' points into the value of `dirname', thus don't deallocate the latter before the last use of the former. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47381-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 20 10:07:19 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 11826 invoked by alias); 20 Feb 2020 10:07:19 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 11758 invoked by uid 48); 20 Feb 2020 10:07:15 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug glob/25414] 'glob' use-after-free bug Date: Thu, 20 Feb 2020 10:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: glob X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00156.txt.bz2 Content-length: 564 https://sourceware.org/bugzilla/show_bug.cgi?id=25414 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.31 --- Comment #4 from Andreas Schwab --- Fixed in 2.31. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47382-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 20 10:20:28 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 76671 invoked by alias); 20 Feb 2020 10:20:27 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 76575 invoked by uid 48); 20 Feb 2020 10:20:16 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25582] sysmalloc fails to allocate memory Date: Thu, 20 Feb 2020 10:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00157.txt.bz2 Content-length: 578 https://sourceware.org/bugzilla/show_bug.cgi?id=25582 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Andreas Schwab --- Don't write beyond the boundaries of the vector. dp[i] = dp[i-1] + 1; -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47383-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 20 10:22:24 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 77633 invoked by alias); 20 Feb 2020 10:22:24 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 77574 invoked by uid 48); 20 Feb 2020 10:22:20 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug glob/25414] 'glob' use-after-free bug Date: Thu, 20 Feb 2020 10:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: glob X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00158.txt.bz2 Content-length: 451 https://sourceware.org/bugzilla/show_bug.cgi?id=25414 Andreas Schwab changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.31 |2.32 --- Comment #5 from Andreas Schwab --- Fixed in 2.32. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47384-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 20 15:39:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 16395 invoked by alias); 20 Feb 2020 15:39:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 16327 invoked by uid 48); 20 Feb 2020 15:39:38 -0000 From: "joost at cnoc dot nl" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] RFE: Stop exporting free, realloc, calloc, and malloc from ld.so Date: Thu, 20 Feb 2020 15:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: joost at cnoc dot nl X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00159.txt.bz2 Content-length: 1106 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 Joost van der Sluis changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joost at cnoc dot nl --- Comment #10 from Joost van der Sluis --- I still have a question, though. Most applications compiled by fpc (the Free Pascal Compiler) do not depend on libc on Linux targets. But long time ago we discovered that when an application links to a library, it also has to link to libc or ld-linux. If you don't do this, it may lead to vague problems. That is why fpc-applications link with ld-linux. The statement that you never have to do this is simply not true. What do you suggest that we do, now? What we could do is: link with ld-linux only when libc is not used. This will probably solve the issue. But what would be the 'correct' solution, from your point of view? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47385-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 20 15:55:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 75740 invoked by alias); 20 Feb 2020 15:55:49 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 75710 invoked by uid 48); 20 Feb 2020 15:55:45 -0000 From: "memoreku at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25582] sysmalloc fails to allocate memory Date: Thu, 20 Feb 2020 15:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: memoreku at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00160.txt.bz2 Content-length: 690 https://sourceware.org/bugzilla/show_bug.cgi?id=25582 NickP changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID |--- --- Comment #2 from NickP --- (In reply to Andreas Schwab from comment #1) > Don't write beyond the boundaries of the vector. > > dp[i] = dp[i-1] + 1; the loop starts with 2, so it will never write beyond the boundaries -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47386-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 20 16:09:52 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 121977 invoked by alias); 20 Feb 2020 16:09:51 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 119813 invoked by uid 48); 20 Feb 2020 16:09:47 -0000 From: "lzsiga at freemail dot c3.hu" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] RFE: Stop exporting free, realloc, calloc, and malloc from ld.so Date: Thu, 20 Feb 2020 16:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: lzsiga at freemail dot c3.hu X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00161.txt.bz2 Content-length: 1703 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 --- Comment #11 from Lorinczy Zsigmond --- Hi, I looked at fpc-SVN where these lines have been added; I think it means the shared object created by fpc has to depend on _some_ other shared object (doesn't matter what shared object), to prevent some problem during finalization. So it doesn't actually imports anything from ld-linux.so, it just needs a dependendent share-object. ------------------------------------------------------------------------------- r19036 | tom_at_work | 2011-09-08 23:17:35 +0200 (Thu, 08 Sep 2011) | 27 lines Fix shared library loading and unloading for Linux platforms. Shared library initialization and finalization are now called correctly at program startup for compile-time linked dynamic libraries on powerpc-/powerpc64-/arm-/i386- and x86_64-linux. Every startup code must now provide an additional entry point called "_dynamic_start" that is set as new the entry point if the program links to a Pascal shared library. Its purpose is to set up an exit hook usually passed via a register, which should be called during program finalization if non-nil. We use this additional entry point because this register only has meaningful content when there are any compile-time linked shared libraries, otherwise it often contains random garbage. The difference between the _dynamic_start and the original code is minimal; actually in all implementations the _dynamic_start code passes on control to the old startup code, so we use an additional entry point instead of an additional startup file. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47387-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 20 16:40:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 35413 invoked by alias); 20 Feb 2020 16:40:49 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 32295 invoked by uid 48); 20 Feb 2020 16:40:44 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25582] sysmalloc fails to allocate memory Date: Thu, 20 Feb 2020 16:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00162.txt.bz2 Content-length: 6305 https://sourceware.org/bugzilla/show_bug.cgi?id=25582 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adhemerval.zanella at linaro dot o | |rg --- Comment #3 from Adhemerval Zanella --- (In reply to NickP from comment #2) > (In reply to Andreas Schwab from comment #1) > > Don't write beyond the boundaries of the vector. > > > > dp[i] = dp[i-1] + 1; > > the loop starts with 2, so it will never write beyond the boundaries $ g++ -fsanitize=address test.cc -o test $ ./test ================================================================= ==18489==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6140000001d4 at pc 0x559962ced391 bp 0x7fff0b8cca40 sp 0x7fff0b8cca30 WRITE of size 4 at 0x6140000001d4 thread T0 #0 0x559962ced390 in find_solution(std::vector >&) (/tmp/test+0x1390) #1 0x559962ced83e in main (/tmp/test+0x183e) #2 0x7f3e8b66db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x559962ced139 in _start (/tmp/test+0x1139) 0x6140000001d4 is located 0 bytes to the right of 404-byte region [0x614000000040,0x6140000001d4) allocated by thread T0 here: #0 0x7f3e8c45c458 in operator new(unsigned long) (/usr/lib/x86_64-linux-gnu/libasan.so.4+0xe0458) #1 0x559962cee288 in __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (/tmp/test+0x2288) #2 0x559962cee1f0 in std::allocator_traits >::allocate(std::allocator&, unsigned long) (/tmp/test+0x21f0) #3 0x559962cee141 in std::_Vector_base >::_M_allocate(unsigned long) (/tmp/test+0x2141) #4 0x559962cedfc2 in std::_Vector_base >::_M_create_storage(unsigned long) (/tmp/test+0x1fc2) #5 0x559962cedd6a in std::_Vector_base >::_Vector_base(unsigned long, std::allocator const&) (/tmp/test+0x1d6a) #6 0x559962cedc31 in std::vector >::vector(unsigned long, int const&, std::allocator const&) (/tmp/test+0x1c31) #7 0x559962ced75c in main (/tmp/test+0x175c) #8 0x7f3e8b66db96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) SUMMARY: AddressSanitizer: heap-buffer-overflow (/tmp/test+0x1390) in find_solution(std::vector >&) Shadow bytes around the buggy address: 0x0c287fff7fe0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c287fff7ff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c287fff8000: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 0x0c287fff8010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x0c287fff8020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x0c287fff8030: 00 00 00 00 00 00 00 00 00 00[04]fa fa fa fa fa 0x0c287fff8040: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c287fff8050: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c287fff8060: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c287fff8070: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0x0c287fff8080: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==18489==ABORTING $ g++ test.cc -o test $ valgrind ./test ==18648== Memcheck, a memory error detector ==18648== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al. ==18648== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info ==18648== Command: ./test ==18648== ==18648== Invalid write of size 4 ==18648== at 0x108BBD: find_solution(std::vector >&) (in /tmp/test) ==18648== by 0x108D47: main (in /tmp/test) ==18648== Address 0x576be14 is 0 bytes after a block of size 404 alloc'd ==18648== at 0x40304AA: operator new(unsigned long) (vg_replace_malloc.c:344) ==18648== by 0x1093D9: __gnu_cxx::new_allocator::allocate(unsigned long, void const*) (in /tmp/test) ==18648== by 0x109346: std::allocator_traits >::allocate(std::allocator&, unsigned long) (in /tmp/test) ==18648== by 0x109297: std::_Vector_base >::_M_allocate(unsigned long) (in /tmp/test) ==18648== by 0x109184: std::_Vector_base >::_M_create_storage(unsigned long) (in /tmp/test) ==18648== by 0x109024: std::_Vector_base >::_Vector_base(unsigned long, std::allocator const&) (in /tmp/test) ==18648== by 0x108F37: std::vector >::vector(unsigned long, int const&, std::allocator const&) (in /tmp/test) ==18648== by 0x108D01: main (in /tmp/test) ==18648== 8 ==18648== ==18648== HEAP SUMMARY: ==18648== in use at exit: 0 bytes in 0 blocks ==18648== total heap usage: 3 allocs, 3 frees, 74,132 bytes allocated ==18648== ==18648== All heap blocks were freed -- no leaks are possible ==18648== ==18648== For lists of detected and suppressed errors, rerun with: -s ==18648== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47388-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 20 16:52:07 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 98299 invoked by alias); 20 Feb 2020 16:52:07 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 98235 invoked by uid 48); 20 Feb 2020 16:52:03 -0000 From: "memoreku at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25582] sysmalloc fails to allocate memory Date: Thu, 20 Feb 2020 16:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: memoreku at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00163.txt.bz2 Content-length: 552 https://sourceware.org/bugzilla/show_bug.cgi?id=25582 NickP changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #4 from NickP --- Sorry. I was wrong about this. Indeed it writes out of boundary. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47389-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 20 20:58:09 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 109482 invoked by alias); 20 Feb 2020 20:58:08 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 109376 invoked by uid 48); 20 Feb 2020 20:58:03 -0000 From: "tuliom at ascii dot art.br" To: glibc-bugs@sourceware.org Subject: [Bug libc/23202] tst-pkeys fails on POWER Date: Thu, 20 Feb 2020 20:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tuliom at ascii dot art.br X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00164.txt.bz2 Content-length: 887 https://sourceware.org/bugzilla/show_bug.cgi?id=23202 Tulio Magno Quites Machado Filho changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lamm at linux dot ibm.com --- Comment #8 from Tulio Magno Quites Machado Filho --- There is still a scenario where tst-pkeys fail on POWER: when Linux <= 4.18. More information here: https://www.sourceware.org/ml/libc-alpha/2020-02/msg00819.html The support for pkeys on POWER was enabled on Linux 4.16. However, it had issues that have been fixed on Linux 4.19. Calls to pkey_alloc() succeed in that scenario, making it hard to detect the support for pkeys. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47390-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 21 00:53:35 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 106675 invoked by alias); 21 Feb 2020 00:53:35 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 106613 invoked by uid 48); 21 Feb 2020 00:53:30 -0000 From: "friscorose at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug stdio/20938] In variable-width charsets, _IO_wfile_sync passes a negative buffer size to __codecvt_do_length on certain inputs to fgetws resulting in SIGSEGV Date: Fri, 21 Feb 2020 00:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: stdio X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: friscorose at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00165.txt.bz2 Content-length: 1830 https://sourceware.org/bugzilla/show_bug.cgi?id=20938 Dr. Frisco Rose changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |friscorose at gmail dot com --- Comment #5 from Dr. Frisco Rose --- Seeing this bug on Debian with GNU C Library (Debian GLIBC 2.24-11+deb9u4) stable release version 2.24 Occurs when exiting main that calls to fgetwc( stdin ) and does not consume all of the input. A gdb back trace (gdb) bt #0 __GI__IO_wfile_sync (fp=0x7f4c5cd236fe ) at wfileops.c:534 #1 0x00007f4c5cd29de2 in _IO_default_setbuf (fp=fp@entry=0x7f4c5d04e8c0 <_IO_2_1_stdin_>, p=0x0, len=0) at genops.c:523 #2 0x00007f4c5cd26a79 in _IO_new_file_setbuf (fp=0x7f4c5d04e8c0 <_IO_2_1_stdin_>, p=, len=) at fileops.c:459 #3 0x00007f4c5cd2a736 in _IO_unbuffer_all () at genops.c:921 #4 _IO_cleanup () at genops.c:966 #5 0x00007f4c5ccea8e3 in __run_exit_handlers (status=0, listp=, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:96 #6 0x00007f4c5ccea99a in __GI_exit (status=) at exit.c:105 #7 0x00007f4c5ccd52e8 in __libc_start_main (main=0x561cb839b4f8
, argc=1, argv=0x7fff700f7908, init=, fini=, rtld_fini=, stack_end=0x7fff700f78f8) at ../csu/libc-start.c:325 #8 0x0000561cb839a74a in _start () If I can help, just let me know how. I would very much like to build a UTF8 aware application but this seems to be a show stopper. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47391-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 21 01:31:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 108542 invoked by alias); 21 Feb 2020 01:31:27 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 108480 invoked by uid 48); 21 Feb 2020 01:31:23 -0000 From: "friscorose at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug stdio/20938] In variable-width charsets, _IO_wfile_sync passes a negative buffer size to __codecvt_do_length on certain inputs to fgetws resulting in SIGSEGV Date: Fri, 21 Feb 2020 01:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: stdio X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: friscorose at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00166.txt.bz2 Content-length: 386 https://sourceware.org/bugzilla/show_bug.cgi?id=20938 --- Comment #6 from Dr. Frisco Rose --- Addendum: fclose(stdin) is a work around fix for anyone else who ends up here. REF: www.linuxquestions.org/questions/programming-9/segfault-after-return-from-main-4175659749/ -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47392-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 21 12:08:39 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 55912 invoked by alias); 21 Feb 2020 12:08:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 55823 invoked by uid 48); 21 Feb 2020 12:08:32 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] RFE: Stop exporting free, realloc, calloc, and malloc from ld.so Date: Fri, 21 Feb 2020 12:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00167.txt.bz2 Content-length: 865 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 --- Comment #12 from Florian Weimer --- I don't know enough about the fpc toolchain. Does it use binutils ld and the gcc compiler driver? Or does it implement its own compiler driver and linker? Does fpc link with the startup files? In general, there will be compatibility issues if you do not link with the startup files, and quote for r19036 suggests that this is what you are working around. But I suspect that fpc over-links against ld.so for no good reason. You will need a DT_NEEDED entry for libc.so.6 for correct ordering of initializers, but the DT_NEEDED entry for the dynamic linker is not required for this (and actually counterproductive for currently released glibc versions). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47393-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 21 14:29:00 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 83685 invoked by alias); 21 Feb 2020 14:28:59 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 83640 invoked by uid 55); 21 Feb 2020 14:28:55 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug math/23294] Complex _FloatN functions are redirected to the wrong function with -mlong-double-64 Date: Fri, 21 Feb 2020 14:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tuliom at ascii dot art.br X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00168.txt.bz2 Content-length: 818 https://sourceware.org/bugzilla/show_bug.cgi?id=23294 --- Comment #4 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Paul E. Murphy : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=77ad97356caacfa5a54236791c4f1f68b689e915 commit 77ad97356caacfa5a54236791c4f1f68b689e915 Author: Tulio Magno Quites Machado Filho Date: Mon Jun 18 21:11:26 2018 -0300 Undefine redirections after long double definition on __LDBL_COMPAT [BZ #23294] After defining the long double redirections to double, __MATHDECL_1 has to be redefined to its previous state in order to avoid redirecting all subsequent types. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47394-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 21 14:51:25 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 1285 invoked by alias); 21 Feb 2020 14:51:24 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 1260 invoked by uid 48); 21 Feb 2020 14:51:20 -0000 From: "murphyp at linux dot vnet.ibm.com" To: glibc-bugs@sourceware.org Subject: [Bug math/23294] Complex _FloatN functions are redirected to the wrong function with -mlong-double-64 Date: Fri, 21 Feb 2020 14:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: 2.28 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: murphyp at linux dot vnet.ibm.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tuliom at ascii dot art.br X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00169.txt.bz2 Content-length: 690 https://sourceware.org/bugzilla/show_bug.cgi?id=23294 Paul E. Murphy changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED CC| |murphyp at linux dot vnet.ibm.com Resolution|--- |FIXED Target Milestone|--- |2.32 --- Comment #5 from Paul E. Murphy --- Fixed via commit noted earlier. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47395-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 21 15:10:56 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 84376 invoked by alias); 21 Feb 2020 15:10:55 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 84316 invoked by uid 48); 21 Feb 2020 15:10:49 -0000 From: "iripoll at disca dot upv.es" To: glibc-bugs@sourceware.org Subject: [Bug nptl/22853] Heap address of pthread_create thread is aligned. Date: Fri, 21 Feb 2020 15:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: iripoll at disca dot upv.es X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00170.txt.bz2 Content-length: 6524 https://sourceware.org/bugzilla/show_bug.cgi?id=22853 Ismael Ripoll changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iripoll at disca dot upv.es --- Comment #5 from Ismael Ripoll --- This patch solves the weakness discovered by Ilya Smith. The problem is important in x86_64, but we think that is SEVERE on other systems (4 ASLR bits is like no ASLR). Ptmalloc aligns to a very large value the arenas. This large alignment greatly reduces the ASLR entropy of all the dynamically allocated data from thread code. Allocations carried out from main() are not affected, unless brk can not expand the heap. The impact of the alignment greatly depends on the architecture. The expected entropy shall be at least that of the mmap() on each system, but the actual entropy is shown in the following table: +----------+--------+-----------------+ | System | Mmap | Thread malloc | +----------+--------+-----------------+ | x86_64 | 28 | 14 | | i386 | 8 | 0 | | x32 | 8 | 0 | | ARM | 8 | 0 | | AARCH | 18 | 4 | | PPC64 | 14 | 4 | | s390(64) | 11 | 4 | | s390 | 11 | 3 | +----------+--------+-----------------+ As it can be seen, all systems but x86_64 are severely affected by this weakness. This patch removes the need to align arenas to HEAP_MAX_SIZE by changing the macro heap_for_ptr(ptr). Arenas are randomized with the same entropy than the rest of mmaped objects. The entropy to randomize the thread's arenas is obtained from the ASLR value of the libraries, by using the address of the __arena_rnd: __arena_rnd = ((unsigned long)&__arena_rnd) & (HEAP_MAX_SIZE-1) & ~(pagesize-1); This way, if the user disables ASLR (via randomize_va_space, setarch -R, or when using gdb), the entropy of the arena is also automatically disabled. Summary of the patch features: *- Does not change the allocation policy. *- Does not add new data structures (only a long variable). *- The temporal overhead is almost undetectable (just 2 more cpu instructions per free: one "add" and one "or"). malloc is not affected. *- It is fully backward compatible. *- It restores completely, the ASLR entropy to thread's heaps. With the patch the entropy on x86_64 is 28bits (15 more than the current one), and i386 is 8bits (8 more), which is the same entropy that the mallocs made from the main thread. Checked on x86_64-linux-gnu and i386-linux-gnu Authors: Ismael Ripoll-Ripoll Hector Marco-Gisbert --- malloc/arena.c | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/malloc/arena.c b/malloc/arena.c index cecdb7f4c4..8dd7b9f028 100644 --- a/malloc/arena.c +++ b/malloc/arena.c @@ -48,7 +48,7 @@ /* A heap is a single contiguous memory region holding (coalesceable) malloc_chunks. It is allocated with mmap() and always starts at an - address aligned to HEAP_MAX_SIZE. */ + address aligned to arena_rnd. */ typedef struct _heap_info { @@ -122,10 +122,15 @@ int __malloc_initialized = -1; ptr = arena_get2 ((size), NULL); \ } while (0) -/* find the heap and corresponding arena for a given ptr */ - +/* find the heap and corresponding arena for a given ptr. Note that + heap_info is not HEAP_MAX_SIZE aligned any more. But a random + offset from the expected alignment, known by the process. This way + it is fast to get the head of the area whereas it is ASLR compatible. +*/ +static unsigned long __arena_rnd; #define heap_for_ptr(ptr) \ - ((heap_info *) ((unsigned long) (ptr) & ~(HEAP_MAX_SIZE - 1))) + ((heap_info *) ((((unsigned long) ptr-__arena_rnd) & ~(HEAP_MAX_SIZE - 1)) \ + | __arena_rnd)) #define arena_for_chunk(ptr) \ (chunk_main_arena (ptr) ? &main_arena : heap_for_ptr (ptr)->ar_ptr) @@ -293,6 +298,11 @@ ptmalloc_init (void) __malloc_initialized = 0; + size_t pagesize = GLRO (dl_pagesize); + /* Get the entropy from the already existing ASLR. */ + __arena_rnd = ((unsigned long)&__arena_rnd) & (HEAP_MAX_SIZE-1) & + ~(pagesize-1); + #ifdef SHARED /* In case this libc copy is in a non-default namespace, never use brk. Likewise if dlopened from statically linked program. */ @@ -439,7 +449,7 @@ dump_heap (heap_info *heap) /* If consecutive mmap (0, HEAP_MAX_SIZE << 1, ...) calls return decreasing addresses as opposed to increasing, new_heap would badly fragment the address space. In that case remember the second HEAP_MAX_SIZE part - aligned to HEAP_MAX_SIZE from last mmap (0, HEAP_MAX_SIZE << 1, ...) + aligned to arena_rnd from last mmap (0, HEAP_MAX_SIZE << 1, ...) call (if it is already aligned) and try to reuse it next time. We need no locking for it, as kernel ensures the atomicity for us - worst case we'll call mmap (addr, HEAP_MAX_SIZE, ...) for some value of addr in @@ -490,6 +500,11 @@ new_heap (size_t size, size_t top_pad) { p2 = (char *) (((unsigned long) p1 + (HEAP_MAX_SIZE - 1)) & ~(HEAP_MAX_SIZE - 1)); + /* The heap_info is at a random offset from the alignment to + HEAP_MAX_SIZE. */ + p2 = (char *) ((unsigned long) p2 | __arena_rnd); + if (p1 + HEAP_MAX_SIZE <= p2) + p2 -= HEAP_MAX_SIZE; ul = p2 - p1; if (ul) __munmap (p1, ul); @@ -500,12 +515,12 @@ new_heap (size_t size, size_t top_pad) else { /* Try to take the chance that an allocation of only HEAP_MAX_SIZE - is already aligned. */ + is already aligned to __arena_rnd. */ p2 = (char *) MMAP (0, HEAP_MAX_SIZE, PROT_NONE, MAP_NORESERVE); if (p2 == MAP_FAILED) return 0; - if ((unsigned long) p2 & (HEAP_MAX_SIZE - 1)) + if (((unsigned long) p2 & (HEAP_MAX_SIZE - 1)) != __arena_rnd) { __munmap (p2, HEAP_MAX_SIZE); return 0; -- 2.20.1 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47396-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 23 13:20:24 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 43069 invoked by alias); 23 Feb 2020 13:20:23 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 42993 invoked by uid 48); 23 Feb 2020 13:20:18 -0000 From: "far at illumenos dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/22380] Inconsistency detected by ld.so: dl-open.c: 717: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed! Date: Sun, 23 Feb 2020 13:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: far at illumenos dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00171.txt.bz2 Content-length: 1253 https://sourceware.org/bugzilla/show_bug.cgi?id=22380 Felipe Rodriguez changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |far at illumenos dot com --- Comment #8 from Felipe Rodriguez --- I encountered this bug with sprof on my patched glibc-2.20 and confirmed that the same issue exists on Ubuntu 16. I tried the earlier patch attached to this Bug but encountered a deadlock later in my system build processes. Modifying logic which works fine except when a shared object is loaded by sprof's magic seems wrong so I removed the patch. The Bug only occurs with sprof's loading so simply disabling the assertion when an object is loaded with the sprof flag __RTLD_SPROF allows me to use sprof while avoiding changes that might disturb the normal shared object loading mechanism. + if (!(__glibc_unlikely (mode & __RTLD_SPROF))) { assert (_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT); + } I have attached a patch for glibc-2.20. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47397-listarch-glibc-bugs=sources.redhat.com@sourceware.org Sun Feb 23 13:23:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 44332 invoked by alias); 23 Feb 2020 13:23:48 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 44281 invoked by uid 48); 23 Feb 2020 13:23:44 -0000 From: "far at illumenos dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/22380] Inconsistency detected by ld.so: dl-open.c: 717: _dl_open: Assertion `_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT' failed! Date: Sun, 23 Feb 2020 13:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: far at illumenos dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00172.txt.bz2 Content-length: 387 https://sourceware.org/bugzilla/show_bug.cgi?id=22380 --- Comment #9 from Felipe Rodriguez --- Created attachment 12314 --> https://sourceware.org/bugzilla/attachment.cgi?id=12314&action=edit sprof flag test Disable consistency check assertion when loading with sprof -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47398-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 02:39:33 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 57546 invoked by alias); 24 Feb 2020 02:39:32 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 57390 invoked by uid 48); 24 Feb 2020 02:39:27 -0000 From: "wangliushuai at bytedance dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/11787] Program with large TLS segments fail. Date: Mon, 24 Feb 2020 02:39:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.12 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wangliushuai at bytedance dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: review+ security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00173.txt.bz2 Content-length: 749 https://sourceware.org/bugzilla/show_bug.cgi?id=11787 Wang Liushuai changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wangliushuai at bytedance dot com --- Comment #48 from Wang Liushuai --- Hi guys, In ByteDance, we hit this Glibc bug twice in real-world production and adopted the fix based on the OpenJDK solution. However, these temporary fixes are not extensible. In the end, it needs to be fixed on the Glibc side. Cheers, Wang Liushuai. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47399-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 13:46:32 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 6894 invoked by alias); 24 Feb 2020 13:46:32 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 6783 invoked by uid 48); 24 Feb 2020 13:46:18 -0000 From: "lzsiga at freemail dot c3.hu" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] RFE: Stop exporting free, realloc, calloc, and malloc from ld.so Date: Mon, 24 Feb 2020 13:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: lzsiga at freemail dot c3.hu X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00174.txt.bz2 Content-length: 576 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 --- Comment #13 from Lorinczy Zsigmond --- Well, fpc doesn't use gcc nor glibc (unless `USES initc` is used, which adds libso.6 as dependency); but it does use the platform-linker. It can create executables (when the source begins with PROGRAM), and shared objects (when the source begins with LIBRARY); the problem occurs when linking shared objects: an unnecessary dependecy to loader-linker is added. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47400-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 14:19:01 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 108000 invoked by alias); 24 Feb 2020 14:19:01 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 107947 invoked by uid 48); 24 Feb 2020 14:18:56 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] RFE: Stop exporting free, realloc, calloc, and malloc from ld.so Date: Mon, 24 Feb 2020 14:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00175.txt.bz2 Content-length: 295 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 --- Comment #14 from Florian Weimer --- This patch is also needed: https://www.sourceware.org/ml/libc-alpha/2020-02/msg00722.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47401-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 14:19:35 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 109716 invoked by alias); 24 Feb 2020 14:19:35 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 109224 invoked by uid 48); 24 Feb 2020 14:19:30 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] RFE: Do not rely on symbol interposition from libc.so into ld.so Date: Mon, 24 Feb 2020 14:19:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00176.txt.bz2 Content-length: 534 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|RFE: Stop exporting free, |RFE: Do not rely on symbol |realloc, calloc, and malloc |interposition from libc.so |from ld.so |into ld.so -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47402-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 14:22:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 113768 invoked by alias); 24 Feb 2020 14:22:49 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 113723 invoked by uid 48); 24 Feb 2020 14:22:44 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25594] New: [RFE] Improve malloc performance in low-memory scenarios for threaded arenas. Date: Mon, 24 Feb 2020 14:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00177.txt.bz2 Content-length: 2687 https://sourceware.org/bugzilla/show_bug.cgi?id=25594 Bug ID: 25594 Summary: [RFE] Improve malloc performance in low-memory scenarios for threaded arenas. Product: glibc Version: 2.32 Status: NEW Severity: normal Priority: P2 Component: malloc Assignee: unassigned at sourceware dot org Reporter: carlos at redhat dot com Target Milestone: --- Malloc performance for a threaded program may suffer significantly when mmap beings to fail and the threads have to retry mmap on each allocation before transitioning to a main-arena sbrk allocation as backup. The glibc malloc algorithm has a specific policy of not moving a thread to a different memory pool in the event of a transient failure (mmap failure). That means that any non-main-arena-using threads will only temporarily switch to the main arena before retrying in their own arena. The inverse is not true though, a failing main-arena-using thread will (after sbrk and morecore fail) switch permanently to a mmap-based arena if the main arena fails. It's far more likely that a failure in an mmap arena is temporary and that a failure in an sbrk/morecore-based arena is permanent (usually because you have a mapping the has interrupted the growth of the heap). We understand that this means that when the limit of memory is reached, that performance drops drastically as the thread which is out of memory is unable to find memory, and all the retries fail, and only the eventual main-arena retry is successful. This isn't the behaviour we want overall for the allocator, it would ultimately be better if the threads were globally rebalanced on appropriate arena to reduce both contention and fragmentation. Relevant allocator metrics for these cases of low-memory are internal fragmentation and external fragmentation, both of which are difficult to compute and require tracking exactly the committed RSS pages and internal allocator details. Efficiency as computed from either VSZ or RSS is not normally used to compare any algorithmic changes. Any rebalancing algorithm work we do upstream will look at fragmentation closely across a variety of workloads. We currently have an ongoing project to look at RSS usage, and we can add this requirement as part of the analysis (looking at rebalancing in low-memory) since it may also help yield lower RSS usage if the rebalancing can happen dynamically over time. At the end of the day we should try to do better to reduce the cost of the mmap failure. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47403-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 14:23:02 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 114116 invoked by alias); 24 Feb 2020 14:23:01 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 114051 invoked by uid 48); 24 Feb 2020 14:22:58 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25594] [RFE] Improve malloc performance in low-memory scenarios for threaded arenas. Date: Mon, 24 Feb 2020 14:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00178.txt.bz2 Content-length: 475 https://sourceware.org/bugzilla/show_bug.cgi?id=25594 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.redhat.com | |/show_bug.cgi?id=1626127 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47404-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 14:23:38 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 114688 invoked by alias); 24 Feb 2020 14:23:38 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 114657 invoked by uid 48); 24 Feb 2020 14:23:34 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25594] [RFE] Improve malloc performance in low-memory scenarios for threaded arenas. Date: Mon, 24 Feb 2020 14:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00179.txt.bz2 Content-length: 335 https://sourceware.org/bugzilla/show_bug.cgi?id=25594 --- Comment #1 from Carlos O'Donell --- Created attachment 12315 --> https://sourceware.org/bugzilla/attachment.cgi?id=12315&action=edit malloc_bad_mmap_pthread.c -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47405-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 14:24:46 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 115399 invoked by alias); 24 Feb 2020 14:24:32 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 115190 invoked by uid 48); 24 Feb 2020 14:24:06 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug malloc/25594] [RFE] Improve malloc performance in low-memory scenarios for threaded arenas. Date: Mon, 24 Feb 2020 14:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: malloc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00180.txt.bz2 Content-length: 324 https://sourceware.org/bugzilla/show_bug.cgi?id=25594 --- Comment #2 from Carlos O'Donell --- Created attachment 12316 --> https://sourceware.org/bugzilla/attachment.cgi?id=12316&action=edit malloc_nomem.c -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47406-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 14:51:39 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 83848 invoked by alias); 24 Feb 2020 14:51:39 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 83776 invoked by uid 48); 24 Feb 2020 14:51:35 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/4737] fork is not async-signal-safe Date: Mon, 24 Feb 2020 14:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: std-posix X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00181.txt.bz2 Content-length: 740 https://sourceware.org/bugzilla/show_bug.cgi?id=4737 --- Comment #26 from Florian Weimer --- With this commit commit 56290d6e762c1194547e73ff0b948cd79d3a1e03 Author: Florian Weimer Date: Thu May 12 08:54:17 2016 +0200 Increase fork signal safety for single-threaded processes [BZ #19703] and the follow-up fix for a regression commit 669ff911e2571f74a2668493e326ac9a505776bd Author: Florian Weimer Date: Fri Feb 8 12:46:19 2019 +0100 nptl: Avoid fork handler lock for async-signal-safe fork [BZ #24161] we have an async-signal-safe fork for single-threaded processes. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47407-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 14:53:29 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 85965 invoked by alias); 24 Feb 2020 14:53:29 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 85914 invoked by uid 48); 24 Feb 2020 14:53:25 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug manual/25595] New: Impove the quality of dynamic linker documentation Date: Mon, 24 Feb 2020 14:53:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00182.txt.bz2 Content-length: 695 https://sourceware.org/bugzilla/show_bug.cgi?id=25595 Bug ID: 25595 Summary: Impove the quality of dynamic linker documentation Product: glibc Version: 2.32 Status: NEW Severity: normal Priority: P2 Component: manual Assignee: unassigned at sourceware dot org Reporter: carlos at redhat dot com CC: mtk.manpages at gmail dot com Target Milestone: --- The manual lacks a good chapter explaining dynamic linking. We should integrate Ben Woodard's work in this area and update the manual. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47408-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 14:54:02 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 87266 invoked by alias); 24 Feb 2020 14:54:02 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 87206 invoked by uid 48); 24 Feb 2020 14:53:58 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug manual/25595] Impove the quality of dynamic linker documentation Date: Mon, 24 Feb 2020 14:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00183.txt.bz2 Content-length: 376 https://sourceware.org/bugzilla/show_bug.cgi?id=25595 --- Comment #1 from Carlos O'Donell --- Created attachment 12317 --> https://sourceware.org/bugzilla/attachment.cgi?id=12317&action=edit 0001-Add-a-new-chapter-covering-dynamic-linking-to-the-gl(1).patch -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47409-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 14:54:14 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 87592 invoked by alias); 24 Feb 2020 14:54:14 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 87543 invoked by uid 48); 24 Feb 2020 14:54:10 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug manual/25595] Impove the quality of dynamic linker documentation Date: Mon, 24 Feb 2020 14:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00184.txt.bz2 Content-length: 475 https://sourceware.org/bugzilla/show_bug.cgi?id=25595 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.redhat.com | |/show_bug.cgi?id=1420041 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47410-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 15:00:00 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 7899 invoked by alias); 24 Feb 2020 15:00:00 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 7645 invoked by uid 48); 24 Feb 2020 14:59:54 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25596] New: Investigate atomicity of sigsuspend/sigpause Date: Mon, 24 Feb 2020 15:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00185.txt.bz2 Content-length: 990 https://sourceware.org/bugzilla/show_bug.cgi?id=25596 Bug ID: 25596 Summary: Investigate atomicity of sigsuspend/sigpause Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: fweimer at redhat dot com CC: drepper.fsp at gmail dot com Target Milestone: --- Flags: security- We have received a downstream bug report that sigsuspend/sigpause are not atomic. This needs further investigation. It is likely that sigpause (which takes a signal number) cannot be implemented properly with kernel support. sigsuspend should work today as expected. The Austin Group has clarified that atomicity is required for both functions: https://www.austingroupbugs.net/view.php?id=1201 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47411-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 15:00:45 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 10381 invoked by alias); 24 Feb 2020 15:00:40 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 9746 invoked by uid 48); 24 Feb 2020 15:00:18 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25596] Investigate atomicity of sigsuspend/sigpause Date: Mon, 24 Feb 2020 15:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status see_also assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00186.txt.bz2 Content-length: 614 https://sourceware.org/bugzilla/show_bug.cgi?id=25596 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED See Also| |https://www.austingroupbugs | |.net/view.php?id=1201 Assignee|unassigned at sourceware dot org |fweimer at redhat dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47412-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 15:14:17 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 46491 invoked by alias); 24 Feb 2020 15:14:17 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 46375 invoked by uid 48); 24 Feb 2020 15:14:04 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25596] Investigate atomicity of sigsuspend/sigpause Date: Mon, 24 Feb 2020 15:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00187.txt.bz2 Content-length: 362 https://sourceware.org/bugzilla/show_bug.cgi?id=25596 --- Comment #1 from Andreas Schwab --- sigpause is implemented as a wrapper around sigsuspend, so it should inherit the atomicity of sigsuspend. And if sigsuspend isn't atomic, that's a kernel bug. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47413-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 16:01:31 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 91489 invoked by alias); 24 Feb 2020 16:01:30 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 90417 invoked by uid 48); 24 Feb 2020 16:01:14 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25596] Investigate atomicity of sigsuspend/sigpause Date: Mon, 24 Feb 2020 16:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00188.txt.bz2 Content-length: 406 https://sourceware.org/bugzilla/show_bug.cgi?id=25596 --- Comment #2 from Florian Weimer --- At the very least, sigpause does not compute the signal mask for sigsuspend in an atomic fashion with regards to sigprocmask from a signal handler. But this is not what the downstream bug is about. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47414-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 16:17:04 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 108965 invoked by alias); 24 Feb 2020 16:17:04 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 108675 invoked by uid 48); 24 Feb 2020 16:16:59 -0000 From: "woodard at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/24943] Support DT_AUDIT, DT_DEPAUDIT in the dynamic linker Date: Mon, 24 Feb 2020 16:17:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: woodard at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00189.txt.bz2 Content-length: 394 https://sourceware.org/bugzilla/show_bug.cgi?id=24943 Ben Woodard changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |woodard at redhat dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47415-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 16:43:59 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 74568 invoked by alias); 24 Feb 2020 16:43:59 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 74510 invoked by uid 48); 24 Feb 2020 16:43:54 -0000 From: "girish946 at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug argparse/19040] argp child parser's .doc gets somewhat mangled if parent has .doc too Date: Mon, 24 Feb 2020 16:43:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: argparse X-Bugzilla-Version: 2.24 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: girish946 at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00190.txt.bz2 Content-length: 2931 https://sourceware.org/bugzilla/show_bug.cgi?id=19040 girish changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |girish946 at gmail dot com --- Comment #1 from girish --- In this case, the argument "int post" to the argp_doc is not reset after parent doc, so only the later part of child doc is printed and PRE_DOC for child is ignored. After resetting PRE_DOC for child, the output looks like. $ ./bug-14 --help Usage: bug-14 [OPTION...] Before (parent) Before (child) -?, --help Give this help list --usage Give a short usage message After (parent) After (child) If that output is correct, the patch looks like: diff --git a/argp/argp-help.c b/argp/argp-help.c index 2bcd6549fd..824092e239 100644 --- a/argp/argp-help.c +++ b/argp/argp-help.c @@ -1465,10 +1465,10 @@ argp_doc (const struct argp *argp, const struct argp_state *state, size_t inp_text_limit = 0; const char *doc = dgettext (argp->argp_domain, argp->doc); const struct argp_child *child = argp->children; - + char *vt = 0; if (doc) { - char *vt = strchr (doc, '\v'); + vt = strchr (doc, '\v'); inp_text = post ? (vt ? vt + 1 : 0) : doc; inp_text_limit = (!post && vt) ? (vt - doc) : 0; } @@ -1499,7 +1499,12 @@ argp_doc (const struct argp *argp, const struct argp_state *state, if (text == inp_text && inp_text_limit) __argp_fmtstream_write (stream, inp_text, inp_text_limit); else - __argp_fmtstream_puts (stream, text); + { + if ((!vt && !child) || (text == inp_text && !first_only)) + { + __argp_fmtstream_puts (stream, text); + } + } if (__argp_fmtstream_point (stream) > __argp_fmtstream_lmargin (stream)) __argp_fmtstream_putc (stream, '\n'); @@ -1530,11 +1535,21 @@ argp_doc (const struct argp *argp, const struct argp_state *state, } if (child) - while (child->argp && !(first_only && anything)) - anything |= - argp_doc ((child++)->argp, state, - post, anything || pre_blank, first_only, - stream); + while (child->argp ){ + if( !(first_only && anything) ){ + anything |= + argp_doc ((child++)->argp, state, + post, anything || pre_blank, first_only, + stream); + }else{ + anything |= + argp_doc ((child++)->argp, state, + 0, anything || pre_blank, first_only, + stream); + + } + + } return anything; } -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47416-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 18:11:19 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 97215 invoked by alias); 24 Feb 2020 18:11:19 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 97186 invoked by uid 48); 24 Feb 2020 18:11:15 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25596] Investigate atomicity of sigsuspend/sigpause Date: Mon, 24 Feb 2020 18:11:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00191.txt.bz2 Content-length: 266 https://sourceware.org/bugzilla/show_bug.cgi?id=25596 --- Comment #3 from Andreas Schwab --- A signal handler is not supposed to modify the saved signal mask. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47417-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Feb 24 23:33:57 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 3530 invoked by alias); 24 Feb 2020 23:33:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 3494 invoked by uid 55); 24 Feb 2020 23:33:52 -0000 From: "joseph at codesourcery dot com" To: glibc-bugs@sourceware.org Subject: [Bug manual/25595] Impove the quality of dynamic linker documentation Date: Mon, 24 Feb 2020 23:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00192.txt.bz2 Content-length: 400 https://sourceware.org/bugzilla/show_bug.cgi?id=25595 --- Comment #2 from joseph at codesourcery dot com --- As a reminder, there were many comments on the previous posting of this patch that need to be addressed. https://sourceware.org/ml/libc-alpha/2017-10/threads.html#00582 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47418-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 25 12:05:38 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 83203 invoked by alias); 25 Feb 2020 12:05:37 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 83166 invoked by uid 48); 25 Feb 2020 12:05:33 -0000 From: "pavel.devecka at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25481] getaddrinfo() doesn't resolve IPv4 localhost, when an unrelated IPv4 long line is present in the /etc/hosts Date: Tue, 25 Feb 2020 12:05:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.22 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: pavel.devecka at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00193.txt.bz2 Content-length: 861 https://sourceware.org/bugzilla/show_bug.cgi?id=25481 --- Comment #2 from pavel.devecka at gmail dot com --- Due to inability to test later glibc version in a prod environment I did below testing only. (getent ahostsv4 localhost) OS version glibc version Issue observed Note ================================================================================= openSUSE Leap 15.1 2.26-lp151.18.7 No live CD Ubuntu 18.04.4 LTS 2.27-3ubuntu1 No installed desktop Ubuntu 19.10 2.30-0ubuntu2 No live CD -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47419-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 25 12:07:21 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 84284 invoked by alias); 25 Feb 2020 12:07:20 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 84220 invoked by uid 48); 25 Feb 2020 12:07:17 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug network/25481] getaddrinfo() doesn't resolve IPv4 localhost, when an unrelated IPv4 long line is present in the /etc/hosts Date: Tue, 25 Feb 2020 12:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Version: 2.22 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00194.txt.bz2 Content-length: 618 https://sourceware.org/bugzilla/show_bug.cgi?id=25481 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution|--- |DUPLICATE --- Comment #3 from Florian Weimer --- Thanks for the feedback, closing as a duplicate. *** This bug has been marked as a duplicate of bug 18991 *** -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47420-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 25 12:07:21 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 84333 invoked by alias); 25 Feb 2020 12:07:21 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 84233 invoked by uid 48); 25 Feb 2020 12:07:17 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug nss/18991] nss_files skips large entry in database Date: Tue, 25 Feb 2020 12:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nss X-Bugzilla-Version: 2.22 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: 2.28 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00195.txt.bz2 Content-length: 535 https://sourceware.org/bugzilla/show_bug.cgi?id=18991 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pavel.devecka at gmail dot com --- Comment #13 from Florian Weimer --- *** Bug 25481 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47421-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 25 16:26:36 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 59494 invoked by alias); 25 Feb 2020 16:26:36 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 58240 invoked by uid 48); 25 Feb 2020 16:26:31 -0000 From: "josephriches at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/23249] Epyc and other current AMD CPUs do not select the "haswell" platform subdirectory Date: Tue, 25 Feb 2020 16:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: josephriches at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00196.txt.bz2 Content-length: 934 https://sourceware.org/bugzilla/show_bug.cgi?id=23249 Joey Riches changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |josephriches at gmail dot com --- Comment #7 from Joey Riches --- Sorry to necro an old thread but I wanted to know if there was any more discussion around this? I patched cpu-features.c to allow arch_kind_amd cpus to match the haswell platform definition and have been getting good very good performance results with the glibc-bench benchmarks as well as a haswell optimized openblas which in turn improved results for R and octave (on a znver2 cpu). It seems intel as already has done most of the hard work for amd here? -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47422-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Feb 25 16:33:22 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 91300 invoked by alias); 25 Feb 2020 16:33:22 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 91195 invoked by uid 48); 25 Feb 2020 16:33:18 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/23249] Epyc and other current AMD CPUs do not select the "haswell" platform subdirectory Date: Tue, 25 Feb 2020 16:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.27 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WORKSFORME X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00197.txt.bz2 Content-length: 407 https://sourceware.org/bugzilla/show_bug.cgi?id=23249 --- Comment #8 from Florian Weimer --- (In reply to Joey Riches from comment #7) > Sorry to necro an old thread but I wanted to know if there was any more > discussion around this? I'm still blocked until I get definitive feedback from AMD. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47423-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 26 02:09:57 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 75699 invoked by alias); 26 Feb 2020 02:09:55 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 75512 invoked by uid 48); 26 Feb 2020 02:09:51 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/11787] Program with large TLS segments fail. Date: Wed, 26 Feb 2020 02:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.12 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: review+ security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00198.txt.bz2 Content-length: 553 https://sourceware.org/bugzilla/show_bug.cgi?id=11787 --- Comment #49 from Carlos O'Donell --- (In reply to Wang Liushuai from comment #48) > Hi guys, > > In ByteDance, we hit this Glibc bug twice in real-world production and > adopted the fix based on the OpenJDK solution. However, these temporary > fixes are not extensible. In the end, it needs to be fixed on the Glibc side. Thanks for that data point. It helps me prioritize this. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47424-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Feb 26 15:55:07 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 13509 invoked by alias); 26 Feb 2020 15:55:07 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 13181 invoked by uid 55); 26 Feb 2020 15:54:53 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25486] RFE: Do not rely on symbol interposition from libc.so into ld.so Date: Wed, 26 Feb 2020 15:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00199.txt.bz2 Content-length: 1176 https://sourceware.org/bugzilla/show_bug.cgi?id=25486 --- Comment #15 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=758599bc9dcc5764e862bd9e1613c5d1e6efc5d3 commit 758599bc9dcc5764e862bd9e1613c5d1e6efc5d3 Author: Florian Weimer Date: Wed Feb 26 15:58:23 2020 +0100 elf: Apply attribute_relro to pointers in elf/dl-minimal.c The present code leaves the function pointers unprotected, but moves some of the static functions into .data.rel.ro instead. This causes the linker to produce an allocatable, executable, writable section and eventually an RWX load segment. Not only do we really do not want that, it also breaks valgrind because valgrind does not load debuginfo from the mmap interceptor if all it sees are RX and RWX mappings. Fixes commit 3a0ecccb599a6b1ad4b149dc569c0080e92d057b ("ld.so: Do not export free/calloc/malloc/realloc functions [BZ #25486]"). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47425-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 27 00:50:59 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 107462 invoked by alias); 27 Feb 2020 00:50:59 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 95006 invoked by uid 48); 27 Feb 2020 00:50:51 -0000 From: "kenneth.chin at codebless dot com" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25605] New: Add en_MY locale Date: Thu, 27 Feb 2020 00:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kenneth.chin at codebless dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00200.txt.bz2 Content-length: 854 https://sourceware.org/bugzilla/show_bug.cgi?id=25605 Bug ID: 25605 Summary: Add en_MY locale Product: glibc Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: localedata Assignee: unassigned at sourceware dot org Reporter: kenneth.chin at codebless dot com CC: libc-locales at sourceware dot org Target Milestone: --- Add new locale for English (Malaysia) [en_MY]. It will be similar to Malay (Malaysia) [ms_MY] but wordings in English instead of Malay. The en_MY locale is listed in Unicode CLDR. The en_MY locale is supported in Windows since Vista. https://www.unicode.org/cldr/charts/latest/summary/en.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47426-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 27 15:15:44 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 129513 invoked by alias); 27 Feb 2020 15:15:44 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 129448 invoked by uid 48); 27 Feb 2020 15:15:39 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug time/25606] New: Add a new API to query time-zone data from the tzdata files. Date: Thu, 27 Feb 2020 15:15:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: time X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00201.txt.bz2 Content-length: 1184 https://sourceware.org/bugzilla/show_bug.cgi?id=25606 Bug ID: 25606 Summary: Add a new API to query time-zone data from the tzdata files. Product: glibc Version: 2.32 Status: NEW Severity: enhancement Priority: P2 Component: time Assignee: unassigned at sourceware dot org Reporter: carlos at redhat dot com Target Milestone: --- This is an enhancement request to add the ability to query time-zone data from the tzdata files. See: https://sourceware.org/glibc/wiki/NewTimeZoneAPI https://sourceware.org/ml/libc-alpha/2014-04/msg00045.html https://bugzilla.redhat.com/show_bug.cgi?id=1077902 There is also a C++ API being designed for this. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0355r7.html#time.timezone https://howardhinnant.github.io/date/tz.html https://github.com/HowardHinnant/date It would be good to have such an API for glibc, but perhaps if the scope is limited to what is currently implemented in NetBSD it might be tractable. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47427-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 27 15:16:01 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 129863 invoked by alias); 27 Feb 2020 15:16:01 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 129817 invoked by uid 48); 27 Feb 2020 15:15:56 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug time/25606] Add a new API to query time-zone data from the tzdata files. Date: Thu, 27 Feb 2020 15:16:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: time X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00202.txt.bz2 Content-length: 475 https://sourceware.org/bugzilla/show_bug.cgi?id=25606 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.redhat.com | |/show_bug.cgi?id=1077902 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47428-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 27 18:14:37 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 125440 invoked by alias); 27 Feb 2020 18:14:37 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 125269 invoked by uid 55); 27 Feb 2020 18:14:33 -0000 From: "joseph at codesourcery dot com" To: glibc-bugs@sourceware.org Subject: [Bug time/25606] Add a new API to query time-zone data from the tzdata files. Date: Thu, 27 Feb 2020 18:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: time X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00203.txt.bz2 Content-length: 279 https://sourceware.org/bugzilla/show_bug.cgi?id=25606 --- Comment #1 from joseph at codesourcery dot com --- See bug 17651 requesting the functions from tzcode. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47429-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 27 19:24:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 70582 invoked by alias); 27 Feb 2020 19:24:12 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 70361 invoked by uid 48); 27 Feb 2020 19:24:03 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug time/17651] Expose thread-safe timezone API Date: Thu, 27 Feb 2020 19:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: time X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00204.txt.bz2 Content-length: 479 https://sourceware.org/bugzilla/show_bug.cgi?id=17651 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceware.org/bugz | |illa/show_bug.cgi?id=25606 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47430-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 27 19:24:27 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 70864 invoked by alias); 27 Feb 2020 19:24:27 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 70335 invoked by uid 48); 27 Feb 2020 19:24:02 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug time/25606] Add a new API to query time-zone data from the tzdata files. Date: Thu, 27 Feb 2020 19:24:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: time X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00205.txt.bz2 Content-length: 479 https://sourceware.org/bugzilla/show_bug.cgi?id=25606 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceware.org/bugz | |illa/show_bug.cgi?id=17651 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47431-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Feb 27 20:20:57 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 38859 invoked by alias); 27 Feb 2020 20:20:57 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 38802 invoked by uid 55); 27 Feb 2020 20:20:53 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/14666] intermittent tst-waitid failures Date: Thu, 27 Feb 2020 20:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00206.txt.bz2 Content-length: 984 https://sourceware.org/bugzilla/show_bug.cgi?id=14666 --- Comment #3 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Adhemerval Zanella : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b3b6a40ab9ad374a85f347adf1725760f1238eb5 commit b3b6a40ab9ad374a85f347adf1725760f1238eb5 Author: Adhemerval Zanella Date: Tue Nov 19 17:21:26 2019 -0300 posix: Refactor tst-waitid (BZ #14666) The main changes are: - Adapt to libsupport. - Synchronize the signal handler using atomics. - Replace waitpid by waitid calls. - Use support_process_state_wait to wait for child state. - Add tests for P_PGID and P_ALL. - Use sigwaitinfo instead of global state set by the signal handler. Checked on x86_64-linux-gnu and i686-linux-gnu. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47432-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 28 12:08:42 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 55901 invoked by alias); 28 Feb 2020 12:08:42 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 55849 invoked by uid 48); 28 Feb 2020 12:08:38 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug time/25606] Add a new API to query time-zone data from the tzdata files. Date: Fri, 28 Feb 2020 12:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: time X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00207.txt.bz2 Content-length: 854 https://sourceware.org/bugzilla/show_bug.cgi?id=25606 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com --- Comment #2 from Florian Weimer --- I think the C++ API is severely broken, at least in the version that will be in the ISO C++20 standard. There is a Python API proposal as well: https://discuss.python.org/t/pep-615-support-for-the-iana-time-zone-database-in-the-standard-library/3468 It also does not favor transparent reloading of time zone data. I'm fairly sure that this is exactly what our users want, though. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47433-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 28 12:10:53 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 57340 invoked by alias); 28 Feb 2020 12:10:52 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 57247 invoked by uid 48); 28 Feb 2020 12:10:48 -0000 From: "mtk.manpages at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/14627] close() should set errno to EINPROGRESS when interrupted by a signal Date: Fri, 28 Feb 2020 12:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mtk.manpages at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00208.txt.bz2 Content-length: 408 https://sourceware.org/bugzilla/show_bug.cgi?id=14627 Michael Kerrisk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtk.manpages at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47434-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 28 13:04:28 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 104676 invoked by alias); 28 Feb 2020 13:04:28 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 104644 invoked by uid 48); 28 Feb 2020 13:04:24 -0000 From: "odin at ugedal dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25608] New: statfs64 fields has wrong signedness for arm32 Date: Fri, 28 Feb 2020 13:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: odin at ugedal dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00209.txt.bz2 Content-length: 2313 https://sourceware.org/bugzilla/show_bug.cgi?id=25608 Bug ID: 25608 Summary: statfs64 fields has wrong signedness for arm32 Product: glibc Version: unspecified Status: UNCONFIRMED Severity: minor Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: odin at ugedal dot com CC: drepper.fsp at gmail dot com Target Milestone: --- The signedness for the fields in statfs64, and applies to the fields with the type "__statfs_word" in the kernel. See: https://github.com/torvalds/linux/blob/v5.5/include/uapi/asm-generic/statfs.h#L47-L58 There is a comment on the top of the file stating: /* * Most 64-bit platforms use 'long', while most 32-bit platforms use '__u32'. * Yes, they differ in signedness as well as size. * Special cases can override it for themselves -- except for S390x, which * is just a little too special for us. And MIPS, which I'm not touching * with a 10' pole. */ https://github.com/torvalds/linux/blob/v5.5/include/uapi/asm-generic/statfs.h#L8-L21 The field "Type" can have the value 0xcafe4a11 for BPF_FS_MAGIC (https://github.com/torvalds/linux/blob/v5.5/include/uapi/linux/magic.h#L88), and when the field is signed, the value overflows and ends up as -0x3501b5ef. A lot of languages generate their types from libc, and this results in the type being seen as signed. Here is an example for rust: http://rust-lang.github.io/libc/armv7-unknown-linux-gnueabihf/libc/struct.statfs.html. I am not that familiar with the internals in libc, or if this even can be changed, but it looks like the type comes from here: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/bits/statfs.h;h=ccdc6222f605ed286fd7e93a1e74fb59b300840a;hb=HEAD#l26 The type __fsword_t is now defined from __FSWORD_T_TYPE, and that type is defined as int (then signed) for 32 bit systems. If this is the error, and can be fixed without breaking compatibility, i'll be happy to create a patch. :) Devies tested: Linux ASUS-tinkerboard-s 5.4.10-rockchip #19.11.8 SMP PREEMPT Sat Jan 11 22:00:07 CET 2020 armv7l GNU/Linux -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47435-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 28 13:23:06 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 6530 invoked by alias); 28 Feb 2020 13:23:06 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 6482 invoked by uid 48); 28 Feb 2020 13:23:02 -0000 From: "odin at ugedal dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25608] statfs64 fields has wrong signedness for arm32 Date: Fri, 28 Feb 2020 13:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: odin at ugedal dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00210.txt.bz2 Content-length: 388 https://sourceware.org/bugzilla/show_bug.cgi?id=25608 Odin Ugedal changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |odin at ugedal dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47436-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 28 17:02:21 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 55923 invoked by alias); 28 Feb 2020 17:02:20 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 55822 invoked by uid 55); 28 Feb 2020 17:02:16 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/20543] Please move from .gnu.linkonce to comdat Date: Fri, 28 Feb 2020 17:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00211.txt.bz2 Content-length: 1965 https://sourceware.org/bugzilla/show_bug.cgi?id=20543 --- Comment #6 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Adhemerval Zanella : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b5b7fb76e15c0db545aa11a3ce88f836e5d01a19 commit b5b7fb76e15c0db545aa11a3ce88f836e5d01a19 Author: Adhemerval Zanella Date: Fri Feb 28 10:46:14 2020 -0300 i386: Use comdat instead of .gnu.linkonce for i386 setup pic register (BZ #20543) GCC has moved from using .gnu.linkonce for i386 setup pic register with minimum current version (as for binutils minimum binutils that support comdat). Trying to pinpoint when binutils has added comdat support for i686, it seems it was around 2004 [1]. I also checking with some ancient binutils older than 2.16 I see: test.o: In function `__x86.get_pc_thunk.bx': test.o(.text.__x86.get_pc_thunk.bx+0x0): multiple definition of `__x86.get_pc_thunk.bx' /usr/lib/gcc/x86_64-linux-gnu/5/../../../i386-linux-gnu/crti.o(.gnu.linkonce.t.__x86.get_pc_thunk.bx+0x0): first defined here Which seems that such version can not handle either comdat at all or a mix of linkonce and comdat. For binutils 2.16.1 I am getting a different issue trying to link a binary with and more recent ctri.o (unrecognized relocation (0x2b) in section `.init', which is R_386_GOT32X and old binutils won't generate it anyway). So I think that either unlikely someone will use an older binutils than the one used to glibc and even this scenario may fail with some issue as the R_386_GOT32X. Also, 2.16.1 is quite old and not really supported (glibc itself required 2.25). Checked on i686-linux-gnu. [1] https://gcc.gnu.org/ml/gcc/2004-05/msg00030.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47437-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 28 17:08:16 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 66666 invoked by alias); 28 Feb 2020 17:08:16 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 66611 invoked by uid 48); 28 Feb 2020 17:08:12 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/20543] Please move from .gnu.linkonce to comdat Date: Fri, 28 Feb 2020 17:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00212.txt.bz2 Content-length: 550 https://sourceware.org/bugzilla/show_bug.cgi?id=20543 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Adhemerval Zanella --- Fixed on 2.32. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47438-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 28 17:09:30 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 67794 invoked by alias); 28 Feb 2020 17:09:30 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 67713 invoked by uid 48); 28 Feb 2020 17:09:26 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/20543] Please move from .gnu.linkonce to comdat Date: Fri, 28 Feb 2020 17:09:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: version Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00213.txt.bz2 Content-length: 376 https://sourceware.org/bugzilla/show_bug.cgi?id=20543 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |2.32 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47439-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 28 19:48:03 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 60709 invoked by alias); 28 Feb 2020 19:48:02 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 60580 invoked by uid 48); 28 Feb 2020 19:47:58 -0000 From: "conanhc at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/18684] dlmopen a DSO that dlopen's into RTLD_GLOBAL segfaults. Date: Fri, 28 Feb 2020 19:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: conanhc at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00214.txt.bz2 Content-length: 392 https://sourceware.org/bugzilla/show_bug.cgi?id=18684 Conan Huang changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |conanhc at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47440-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 28 20:08:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 26272 invoked by alias); 28 Feb 2020 20:08:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 26196 invoked by uid 48); 28 Feb 2020 20:08:39 -0000 From: "carnil at debian dot org" To: glibc-bugs@sourceware.org Subject: [Bug nptl/22853] Heap address of pthread_create thread is aligned. Date: Fri, 28 Feb 2020 20:08:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carnil at debian dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00215.txt.bz2 Content-length: 401 https://sourceware.org/bugzilla/show_bug.cgi?id=22853 Salvatore Bonaccorso changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carnil at debian dot org -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47441-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 28 23:40:07 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 129686 invoked by alias); 28 Feb 2020 23:40:07 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 129645 invoked by uid 48); 28 Feb 2020 23:40:03 -0000 From: "conanhc at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25615] New: dlopen RTLD_NOLOAD optimization Date: Fri, 28 Feb 2020 23:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: conanhc at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00216.txt.bz2 Content-length: 2703 https://sourceware.org/bugzilla/show_bug.cgi?id=25615 Bug ID: 25615 Summary: dlopen RTLD_NOLOAD optimization Product: glibc Version: 2.31 Status: UNCONFIRMED Severity: minor Priority: P2 Component: dynamic-link Assignee: unassigned at sourceware dot org Reporter: conanhc at gmail dot com Target Milestone: --- When dlopen with RTLD_NOLOAD flag without RTLD_GLOBAL promotion, loader should simply return the link_map or NULL and promote other flags like RTLD_NODELETE. Loader shouldn't need to process any dependencies. In dl_open_worker, loader should avoid calling _dl_map_object_deps. _dl_map_object_deps is very time consuming on low-end platforms with lots of library dependencies. dl_open_worker already have a similar check for libraries that are directly dlopened /* It was already open. */ if (__glibc_unlikely (new->l_searchlist.r_list != NULL)) { /* Let the user know about the opencount. */ if (__glibc_unlikely (GLRO(dl_debug_mask) & DL_DEBUG_FILES)) _dl_debug_printf ("opening file=%s [%lu]; direct_opencount=%u\n\n", new->l_name, new->l_ns, new->l_direct_opencount); /* If the user requested the object to be in the global namespace but it is not so far, prepare to add it now. This can raise an exception to do a malloc failure. */ if ((mode & RTLD_GLOBAL) && new->l_global == 0) add_to_global_resize (new); /* Mark the object as not deletable if the RTLD_NODELETE flags was passed. */ if (__glibc_unlikely (mode & RTLD_NODELETE)) { if (__glibc_unlikely (GLRO (dl_debug_mask) & DL_DEBUG_FILES) && !new->l_nodelete_active) _dl_debug_printf ("marking %s [%lu] as NODELETE\n", new->l_name, new->l_ns); new->l_nodelete_active = true; } /* Finalize the addition to the global scope. */ if ((mode & RTLD_GLOBAL) && new->l_global == 0) add_to_global_update (new); assert (_dl_debug_initialize (0, args->nsid)->r_state == RT_CONSISTENT); return; } However, this does not cover the case when we dlopen(RTLD_NOLOAD) a library thats a dependency of program or dependency of a dlopened library. Loader sill calls _dl_map_object_deps; load the dependencies, and then generates l_searchlist; so subsequence calls can skip it. An optimization can be made, such as if ((mode & RTLD_NOLOAD) && !((mode & RTLD_GLOBAL) && new->l_global == 0)), loader simply promotes any other flag, and returns. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47442-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Feb 28 23:50:45 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 4749 invoked by alias); 28 Feb 2020 23:50:45 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 4701 invoked by uid 48); 28 Feb 2020 23:50:41 -0000 From: "conanhc at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25615] dlopen RTLD_NOLOAD optimization Date: Fri, 28 Feb 2020 23:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: conanhc at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-02/txt/msg00217.txt.bz2 Content-length: 374 https://sourceware.org/bugzilla/show_bug.cgi?id=25615 Conan Huang changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|minor |normal -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47443-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Mar 02 15:21:50 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 21205 invoked by alias); 2 Mar 2020 15:21:50 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 21140 invoked by uid 48); 2 Mar 2020 15:21:46 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/15971] No interface for debugger access to libraries loaded with dlmopen Date: Mon, 02 Mar 2020 15:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_severity Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00000.txt Content-length: 383 https://sourceware.org/bugzilla/show_bug.cgi?id=15971 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47444-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Mar 02 15:26:51 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 34764 invoked by alias); 2 Mar 2020 15:26:51 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 34736 invoked by uid 48); 2 Mar 2020 15:26:46 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug nptl/25619] New: pthread_rwlock_rdlock && POSIX 2008 compliance Date: Mon, 02 Mar 2020 15:26:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: nptl X-Bugzilla-Version: 2.32 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00001.txt Content-length: 1480 https://sourceware.org/bugzilla/show_bug.cgi?id=25619 Bug ID: 25619 Summary: pthread_rwlock_rdlock && POSIX 2008 compliance Product: glibc Version: 2.32 Status: NEW Severity: normal Priority: P2 Component: nptl Assignee: unassigned at sourceware dot org Reporter: carlos at redhat dot com CC: drepper.fsp at gmail dot com Target Milestone: --- There is a rather long discussion bout pthread rwlock conformance to POSIX 2008, and you can see the details here: https://bugzilla.redhat.com/show_bug.cgi?id=1410052 The summary is that glibc does not comply with POSIX 2008 in that we implement the interfaces but not all the semantics. We need to review the conformance and decide if we will ever implement the requested changes, or at the very least document in the manual that the interfaces are not conforming even though we define _POSIX_PRIORITY_SCHEDULING to a non-zero value. The worry is that defining _POSIX_PRIORITY_SCHEDULING to a zero value, but still defining the functions (as Eric Blake suggests and Florian comments on) will cause no end of trouble with code breaking because the functions are not defined. In summary: - Fix the documentation. - Potentially fix hte interfaces. - Potentially define a new value in POSIX for the glibc/linux case. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47445-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Mar 02 19:55:59 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 85754 invoked by alias); 2 Mar 2020 19:55:59 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 85696 invoked by uid 48); 2 Mar 2020 19:55:55 -0000 From: "regiwils at cisco dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25620] New: ### Summary An exploitable signed comparison vulnerability exists in the ARMv7 memcpy() implementation of GNU glibc. Calling memcpy() (on ARMv7 targets that utilize the GNU glibc implementation) with a negative value for the 'num' parameter results in a Date: Mon, 02 Mar 2020 19:55:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: regiwils at cisco dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00002.txt Content-length: 1806 https://sourceware.org/bugzilla/show_bug.cgi?id=25620 Bug ID: 25620 Summary: ### Summary An exploitable signed comparison vulnerability exists in the ARMv7 memcpy() implementation of GNU glibc. Calling memcpy() (on ARMv7 targets that utilize the GNU glibc implementation) with a negative value for the 'num' parameter results in a Product: glibc Version: 2.3.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: regiwils at cisco dot com CC: drepper.fsp at gmail dot com Target Milestone: --- Created attachment 12334 --> https://sourceware.org/bugzilla/attachment.cgi?id=12334&action=edit TALOS-2020-1019 security advisory ### Summary An exploitable signed comparison vulnerability exists in the ARMv7 memcpy() implementation of GNU glibc. Calling memcpy() (on ARMv7 targets that utilize the GNU glibc implementation) with a negative value for the 'num' parameter results in a signed comparison vulnerability. If an attacker underflows the 'num' parameter to memcpy(), this vulnerability could lead to undefined behavior such as writing to out-of-bounds memory and potentially remote code execution. Furthermore, this memcpy() implementation allows for program execution to continue in scenarios where a segmentation fault or crash should have occurred. The dangers occur in that subsequent execution and iterations of this code will be executed with this corrupted data. ### Tested Versions GNU glibc 2.30.9000 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47446-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Mar 02 21:57:35 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 35503 invoked by alias); 2 Mar 2020 21:57:35 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 35434 invoked by uid 55); 2 Mar 2020 21:57:30 -0000 From: "joseph at codesourcery dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25620] ### Summary An exploitable signed comparison vulnerability exists in the ARMv7 memcpy() implementation of GNU glibc. Calling memcpy() (on ARMv7 targets that utilize the GNU glibc implementation) with a negative value for the 'num' parameter results in a Date: Mon, 02 Mar 2020 21:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.3.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: joseph at codesourcery dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00003.txt Content-length: 1101 https://sourceware.org/bugzilla/show_bug.cgi?id=25620 --- Comment #1 from joseph at codesourcery dot com --- Note that the glibc 2.30 NEWS file contains the entry: * Memory allocation functions malloc, calloc, realloc, reallocarray, valloc, pvalloc, memalign, and posix_memalign fail now with total object size larger than PTRDIFF_MAX. This is to avoid potential undefined behavior with pointer subtraction within the allocated object, where results might overflow the ptrdiff_t type. Thus any size specified with the high bit set exceeds the size of the object being copied, so resulting in undefined behavior, so I don't see a security vulnerability here in 2.30 and later, unless you're claiming it's still valid to allocate over half the address space in a single allocation with mmap. (Of course memcpy is also invalid with overlapping copies, but there's a de facto GNU extension to allow the source and destination pointers to be equal.) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47447-listarch-glibc-bugs=sources.redhat.com@sourceware.org Mon Mar 02 22:33:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 84063 invoked by alias); 2 Mar 2020 22:33:14 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 84029 invoked by uid 48); 2 Mar 2020 22:33:10 -0000 From: "dj at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/23991] shell-container typo in run_command_array Date: Mon, 02 Mar 2020 22:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dj at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dj at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00004.txt Content-length: 555 https://sourceware.org/bugzilla/show_bug.cgi?id=23991 dj at redhat dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from dj at redhat dot com --- Fixed in 542160f0b6a7c26758c9575a8876f6624a5dd65f -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47448-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Mar 03 06:29:44 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 50499 invoked by alias); 3 Mar 2020 06:29:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 43508 invoked by uid 48); 3 Mar 2020 06:29:39 -0000 From: "carnil at debian dot org" To: glibc-bugs@sourceware.org Subject: [Bug crypt/25441] DOS attack risk caused by incomplete system password check function Date: Tue, 03 Mar 2020 06:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: crypt X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: carnil at debian dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00005.txt Content-length: 401 https://sourceware.org/bugzilla/show_bug.cgi?id=25441 Salvatore Bonaccorso changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carnil at debian dot org -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47449-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Mar 03 12:47:15 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 25655 invoked by alias); 3 Mar 2020 12:47:15 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 25624 invoked by uid 48); 3 Mar 2020 12:47:11 -0000 From: "michael.hudson at canonical dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25623] New: test-sysvmsg, test-sysvsem, test-sysvshm Date: Tue, 03 Mar 2020 12:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: michael.hudson at canonical dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00006.txt Content-length: 564 https://sourceware.org/bugzilla/show_bug.cgi?id=25623 Bug ID: 25623 Summary: test-sysvmsg, test-sysvsem, test-sysvshm Product: glibc Version: 2.31 Status: UNCONFIRMED Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: michael.hudson at canonical dot com CC: drepper.fsp at gmail dot com Target Milestone: --- -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47450-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Mar 03 12:49:23 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 27413 invoked by alias); 3 Mar 2020 12:49:22 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 27324 invoked by uid 48); 3 Mar 2020 12:49:18 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/23991] shell-container typo in run_command_array Date: Tue, 03 Mar 2020 12:49:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dj at redhat dot com X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00007.txt Content-length: 451 https://sourceware.org/bugzilla/show_bug.cgi?id=23991 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com Target Milestone|--- |2.32 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47451-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Mar 03 12:57:45 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 41651 invoked by alias); 3 Mar 2020 12:57:45 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 41587 invoked by uid 48); 3 Mar 2020 12:57:41 -0000 From: "michael.hudson at canonical dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25623] test-sysvmsg, test-sysvsem, test-sysvshm fail with 2.31 on old kernel Date: Tue, 03 Mar 2020 12:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: michael.hudson at canonical dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00008.txt Content-length: 1657 https://sourceware.org/bugzilla/show_bug.cgi?id=25623 Michael Hudson-Doyle changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|test-sysvmsg, test-sysvsem, |test-sysvmsg, test-sysvsem, |test-sysvshm |test-sysvshm fail with 2.31 | |on old kernel --- Comment #1 from Michael Hudson-Doyle --- Building glibc 2.31 on an Ubuntu builder, which runs this kernel: Kernel version: Linux lgw01-amd64-037 4.4.0-174-generic #204-Ubuntu SMP Wed Jan 29 06:41:01 UTC 2020 x86_64 Yields these failures (when testing ia32): ---------- FAIL: sysvipc/test-sysvmsg original exit status 1 error: test-sysvmsg.c:98: msgid_ds::msg_perm::mode (37074000644) != 644 error: 1 test failures ---------- ---------- FAIL: sysvipc/test-sysvsem original exit status 1 error: test-sysvsem.c:91: semid_ds::sem_perm::mode (36733400644) != 644 error: 1 test failures ---------- ---------- FAIL: sysvipc/test-sysvshm original exit status 1 error: test-sysvshm.c:93: shmid_ds::shm_perm::mode (36734200666) != 666 error: 1 test failures ---------- The tests do not fail with 4.15 or 5.4. I sort of assume that https://sourceware.org/bugzilla/show_bug.cgi?id=18231 but haven't checked. I'm not sure what has changed in the kernel but the whole area is extremely confusing with the disagreements about the size of mode_t and so on. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47452-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Mar 03 12:58:23 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 42888 invoked by alias); 3 Mar 2020 12:58:23 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 42841 invoked by uid 48); 3 Mar 2020 12:58:19 -0000 From: "michael.hudson at canonical dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25623] test-sysvmsg, test-sysvsem, test-sysvshm fail with 2.31 on old kernel Date: Tue, 03 Mar 2020 12:58:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: michael.hudson at canonical dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00009.txt Content-length: 614 https://sourceware.org/bugzilla/show_bug.cgi?id=25623 Michael Hudson-Doyle changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adhemerval.zanella at linaro dot o | |rg, | |michael.hudson at canonical dot co | |m -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47453-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Mar 03 12:59:50 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 51982 invoked by alias); 3 Mar 2020 12:59:49 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 51109 invoked by uid 48); 3 Mar 2020 12:59:45 -0000 From: "michael.hudson at canonical dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25623] test-sysvmsg, test-sysvsem, test-sysvshm fail with 2.31 on old kernel Date: Tue, 03 Mar 2020 12:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: michael.hudson at canonical dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00010.txt Content-length: 272 https://sourceware.org/bugzilla/show_bug.cgi?id=25623 --- Comment #2 from Michael Hudson-Doyle --- To be clear, this is a fairly low priority thing. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47454-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Mar 03 13:00:49 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 53563 invoked by alias); 3 Mar 2020 13:00:49 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 52865 invoked by uid 48); 3 Mar 2020 13:00:43 -0000 From: "michael.hudson at canonical dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25623] test-sysvmsg, test-sysvsem, test-sysvshm fail with 2.31 on 32 bit and old kernel Date: Tue, 03 Mar 2020 13:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: michael.hudson at canonical dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00011.txt Content-length: 566 https://sourceware.org/bugzilla/show_bug.cgi?id=25623 Michael Hudson-Doyle changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|test-sysvmsg, test-sysvsem, |test-sysvmsg, test-sysvsem, |test-sysvshm fail with 2.31 |test-sysvshm fail with 2.31 |on old kernel |on 32 bit and old kernel -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47455-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Mar 03 13:52:09 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 39926 invoked by alias); 3 Mar 2020 13:52:09 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 39894 invoked by uid 48); 3 Mar 2020 13:52:05 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25623] test-sysvmsg, test-sysvsem, test-sysvshm fail with 2.31 on 32 bit and old kernel Date: Tue, 03 Mar 2020 13:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00012.txt Content-length: 281 https://sourceware.org/bugzilla/show_bug.cgi?id=25623 --- Comment #3 from Andreas Schwab --- I think this could be considered a kernel bug that it doesn't clear the padding. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47456-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Mar 03 14:29:45 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 75441 invoked by alias); 3 Mar 2020 14:29:45 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 75403 invoked by uid 48); 3 Mar 2020 14:29:41 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25623] test-sysvmsg, test-sysvsem, test-sysvshm fail with 2.31 on 32 bit and old kernel Date: Tue, 03 Mar 2020 14:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00013.txt Content-length: 7862 https://sourceware.org/bugzilla/show_bug.cgi?id=25623 --- Comment #4 from Adhemerval Zanella --- I could reproduce it on a 3.10 kernel (centos7), but it does look like a kernel bug imho. The issue seems that newer kernel zero the ipc64_perm padding related to mode size, while on older releases it just updates the specific field. On Linux 3.10 for i686 __NR_ipc syscall on a x86_64 kernel the compat code will be used: ipc/compat.c:331 #ifdef CONFIG_ARCH_WANT_OLD_COMPAT_IPC ipc/compat.c:332 COMPAT_SYSCALL_DEFINE6(ipc, u32, call, int, first, int, second, ipc/compat.c:333 u32, third, compat_uptr_t, ptr, u32, fifth) ipc/compat.c:334 { [...] ipc/compat.c:389 case MSGCTL: ipc/compat.c:390 return compat_sys_msgctl(first, second, compat_ptr(ptr)); ipc/compat.c:501 long compat_sys_msgctl(int first, int second, void __user *uptr) ipc/compat.c:502 { ipc/compat.c:503 int err, err2; ipc/compat.c:504 struct msqid64_ds m64; ipc/compat.c:505 int version = compat_ipc_parse_version(&second); ipc/compat.c:119 static inline int compat_ipc_parse_version(int *cmd) ipc/compat.c:120 { [...] ipc/compat.c:134 /* With the asm-generic APIs, we always use the 64-bit versions. */ ipc/compat.c:135 return IPC_64; [...] ipc/compat.c:137 } The x86 does not set CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION (only arm64), so 'version' will be set to IPC_64 and 'second' will be 'IPC_64|IPC_STAT'. ipc/compat.c:506 void __user *p; ipc/compat.c:507 ipc/compat.c:508 memset(&m64, 0, sizeof(m64)); [...] ipc/compat.c:532 case IPC_STAT: ipc/compat.c:533 case MSG_STAT: ipc/compat.c:534 p = compat_alloc_user_space(sizeof(m64)); ipc/compat.c:535 err = sys_msgctl(first, second, p); ipc/compat.c:536 if (err < 0) ipc/compat.c:537 break; ipc/compat.c:538 if (copy_from_user(&m64, p, sizeof(m64))) ipc/compat.c:539 err2 = -EFAULT; ipc/compat.c:540 else if (version == IPC_64) ipc/compat.c:541 err2 = put_compat_msqid64_ds(&m64, uptr); Finally 'put_compat_msqid64_ds' is implemented as: ipc/compat.c:463 static inline int put_compat_msqid64_ds(struct msqid64_ds *m64, ipc/compat.c:464 struct compat_msqid64_ds __user *up64) ipc/compat.c:465 { ipc/compat.c:466 int err; ipc/compat.c:467 ipc/compat.c:468 if (!access_ok(VERIFY_WRITE, up64, sizeof(*up64))) ipc/compat.c:469 return -EFAULT; ipc/compat.c:470 err = __put_compat_ipc64_perm(&m64->msg_perm, &up64->msg_perm); ipc/compat.c:471 err |= __put_user(m64->msg_stime, &up64->msg_stime); ipc/compat.c:472 err |= __put_user(m64->msg_rtime, &up64->msg_rtime); ipc/compat.c:473 err |= __put_user(m64->msg_ctime, &up64->msg_ctime); ipc/compat.c:474 err |= __put_user(m64->msg_cbytes, &up64->msg_cbytes); ipc/compat.c:475 err |= __put_user(m64->msg_qnum, &up64->msg_qnum); ipc/compat.c:476 err |= __put_user(m64->msg_qbytes, &up64->msg_qbytes); ipc/compat.c:477 err |= __put_user(m64->msg_lspid, &up64->msg_lspid); ipc/compat.c:478 err |= __put_user(m64->msg_lrpid, &up64->msg_lrpid); ipc/compat.c:479 return err; ipc/compat.c:480 } And ipc/compat.c:161 static inline int __put_compat_ipc64_perm(struct ipc64_perm *p64, ipc/compat.c:162 struct compat_ipc64_perm __user *up64) ipc/compat.c:163 { ipc/compat.c:164 int err; ipc/compat.c:165 ipc/compat.c:166 err = __put_user(p64->key, &up64->key); ipc/compat.c:167 err |= __put_user(p64->uid, &up64->uid); ipc/compat.c:168 err |= __put_user(p64->gid, &up64->gid); ipc/compat.c:169 err |= __put_user(p64->cuid, &up64->cuid); ipc/compat.c:170 err |= __put_user(p64->cgid, &up64->cgid); ipc/compat.c:171 err |= __put_user(p64->mode, &up64->mode); ipc/compat.c:172 err |= __put_user(p64->seq, &up64->seq); ipc/compat.c:173 return err; ipc/compat.c:174 } So since '__kernel_mode_t' on i686 is still 16-bits, line 171 will not update the padding value kernel defines, leaving the user passed value unchanged. This changed on Linux master, where the 'msgctl' syscall issues: ipc/syscall.c:129 #ifdef CONFIG_ARCH_WANT_OLD_COMPAT_IPC ipc/syscall.c:130 int compat_ksys_ipc(u32 call, int first, int second, ipc/syscall.c:131 u32 third, compat_uptr_t ptr, u32 fifth) ipc/syscall.c:132 { [...] ipc/syscall.c:179 case MSGCTL: ipc/syscall.c:180 return compat_ksys_old_msgctl(first, second, compat_ptr(ptr)); ipc/msg.c:770 long compat_ksys_old_msgctl(int msqid, int cmd, void __user *uptr) ipc/msg.c:771 { ipc/msg.c:772 int version = compat_ipc_parse_version(&cmd); ipc/util.h:273 static inline int compat_ipc_parse_version(int *cmd) ipc/util.h:274 { ipc/util.h:275 int version = *cmd & IPC_64; ipc/util.h:276 *cmd &= ~IPC_64; ipc/util.h:277 return version; ipc/util.h:278 } So 'version' will be set to IPC_64 and 'cmd' to IPC_STAT. ipc/msg.c:773 ipc/msg.c:774 return compat_ksys_msgctl(msqid, cmd, uptr, version); ipc/msg.c:775 } ipc/msg.c:722 static long compat_ksys_msgctl(int msqid, int cmd, void __user *uptr, int version) ipc/msg.c:723 { ipc/msg.c:724 struct ipc_namespace *ns; ipc/msg.c:725 int err; ipc/msg.c:726 struct msqid64_ds msqid64; [...] ipc/msg.c:744 case IPC_STAT: ipc/msg.c:745 case MSG_STAT: ipc/msg.c:746 case MSG_STAT_ANY: ipc/msg.c:747 err = msgctl_stat(ns, msqid, cmd, &msqid64); ipc/msg.c:748 if (err < 0) ipc/msg.c:749 return err; ipc/msg.c:750 if (copy_compat_msqid_to_user(uptr, &msqid64, version)) ipc/msg.c:751 err = -EFAULT; ipc/msg.c:752 return err; [...] ipc/msg.c:687 static int copy_compat_msqid_to_user(void __user *buf, struct msqid64_ds *in, ipc/msg.c:688 int version) ipc/msg.c:689 { ipc/msg.c:690 if (version == IPC_64) { ipc/msg.c:691 struct compat_msqid64_ds v; ipc/msg.c:692 memset(&v, 0, sizeof(v)); ipc/msg.c:693 to_compat_ipc64_perm(&v.msg_perm, &in->msg_perm); ipc/msg.c:694 v.msg_stime = lower_32_bits(in->msg_stime); ipc/msg.c:695 v.msg_stime_high = upper_32_bits(in->msg_stime); ipc/msg.c:696 v.msg_rtime = lower_32_bits(in->msg_rtime); ipc/msg.c:697 v.msg_rtime_high = upper_32_bits(in->msg_rtime); ipc/msg.c:698 v.msg_ctime = lower_32_bits(in->msg_ctime); ipc/msg.c:699 v.msg_ctime_high = upper_32_bits(in->msg_ctime); ipc/msg.c:700 v.msg_cbytes = in->msg_cbytes; ipc/msg.c:701 v.msg_qnum = in->msg_qnum; ipc/msg.c:702 v.msg_qbytes = in->msg_qbytes; ipc/msg.c:703 v.msg_lspid = in->msg_lspid; ipc/msg.c:704 v.msg_lrpid = in->msg_lrpid; ipc/msg.c:705 return copy_to_user(buf, &v, sizeof(v)); So different from older versions, newer versions will first zero the buffer, fill it, and then copy to userland with padding cleared. It is unfortunate kernel shows this behavior, so I think the best option is clear the high 'ipc_perm.mode' bits if '__old_ipc_perm.mode' size differs (indicating that kernel might not clear the padding). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47457-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Mar 03 15:01:29 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 64941 invoked by alias); 3 Mar 2020 15:01:29 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 64269 invoked by uid 48); 3 Mar 2020 15:01:21 -0000 From: "toomas at rosin dot ee" To: glibc-bugs@sourceware.org Subject: [Bug manual/25626] New: typo in libc.info Date: Tue, 03 Mar 2020 15:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: toomas at rosin dot ee X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00014.txt Content-length: 673 https://sourceware.org/bugzilla/show_bug.cgi?id=25626 Bug ID: 25626 Summary: typo in libc.info Product: glibc Version: 2.31 Status: UNCONFIRMED Severity: minor Priority: P2 Component: manual Assignee: unassigned at sourceware dot org Reporter: toomas at rosin dot ee CC: mtk.manpages at gmail dot com Target Milestone: --- The section "6.1. Introduction to the Extended Characters" mentions a non-existent function named "wgetc". It should probably read "getwc". -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47458-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Mar 03 15:02:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 66443 invoked by alias); 3 Mar 2020 15:02:43 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 66399 invoked by uid 48); 3 Mar 2020 15:02:39 -0000 From: "toomas at rosin dot ee" To: glibc-bugs@sourceware.org Subject: [Bug manual/25626] typo in libc.info Date: Tue, 03 Mar 2020 15:02:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: toomas at rosin dot ee X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00015.txt Content-length: 389 https://sourceware.org/bugzilla/show_bug.cgi?id=25626 Toomas Rosin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |toomas at rosin dot ee -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47459-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Mar 03 15:38:19 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 51623 invoked by alias); 3 Mar 2020 15:38:19 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 51589 invoked by uid 48); 3 Mar 2020 15:38:14 -0000 From: "michael.hudson at canonical dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25623] test-sysvmsg, test-sysvsem, test-sysvshm fail with 2.31 on 32 bit and old kernel Date: Tue, 03 Mar 2020 15:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: michael.hudson at canonical dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00016.txt Content-length: 422 https://sourceware.org/bugzilla/show_bug.cgi?id=25623 --- Comment #5 from Michael Hudson-Doyle --- Oh yes, you're right, I must have diffed the wrong kernel commits somehow earlier when I was looking for the cause of the change. The suggested glibc change makes sense to the extent I understand it. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47460-listarch-glibc-bugs=sources.redhat.com@sourceware.org Tue Mar 03 20:12:52 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 47219 invoked by alias); 3 Mar 2020 20:12:52 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 47165 invoked by uid 48); 3 Mar 2020 20:12:48 -0000 From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25397] Legacy bitmap doesn't cover jitted code Date: Tue, 03 Mar 2020 20:12:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00017.txt Content-length: 1085 https://sourceware.org/bugzilla/show_bug.cgi?id=25397 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Legacy bitmap isn't freed |Legacy bitmap doesn't cover |when shadow stack is |jitted code |enabled | --- Comment #1 from H.J. Lu --- (In reply to H.J. Lu from comment #0) > When CET is enabled, during dlopen, dl_cet_check does: > > 1. Allocate legacy bitmap for each legacy DSO. Since legacy bitmap doesn't cover jitted code generated by JIT engine within the legacy DSO, this brings out a question of how useful legacy bitmap is. > 2. If SHSTK is enabled, call _dl_signal_error if there is a legacy DSO. > > But legacy bitmap for legacy DSOs is never cleared. We need to clear > legacy bitmap for legacy DSOs before calling _dl_signal_error. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47461-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Mar 04 12:21:51 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 106391 invoked by alias); 4 Mar 2020 12:21:51 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 106352 invoked by uid 55); 4 Mar 2020 12:21:46 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug manual/24638] Error in example of parsing a template string Date: Wed, 04 Mar 2020 12:21:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00018.txt Content-length: 594 https://sourceware.org/bugzilla/show_bug.cgi?id=24638 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=72bcc9ade00732b5b0ea0e855cc017364aea20df commit 72bcc9ade00732b5b0ea0e855cc017364aea20df Author: Girish Joshi Date: Wed Mar 4 13:20:07 2020 +0100 manual: Fix typo in parse_printf_format example [BZ #24638] -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47462-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Mar 04 12:34:45 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 127291 invoked by alias); 4 Mar 2020 12:34:45 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 127222 invoked by uid 48); 4 Mar 2020 12:34:41 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug manual/24638] Error in example of parsing a template string Date: Wed, 04 Mar 2020 12:34:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00019.txt Content-length: 654 https://sourceware.org/bugzilla/show_bug.cgi?id=24638 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |fweimer at redhat dot com Resolution|--- |FIXED Target Milestone|--- |2.32 --- Comment #2 from Florian Weimer --- Fixed for glibc 2.32. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47463-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Mar 04 14:29:59 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 114445 invoked by alias); 4 Mar 2020 14:29:58 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 114423 invoked by uid 48); 4 Mar 2020 14:29:54 -0000 From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug math/25487] sinl() stack corruption from crafted input (CVE-2020-10029) Date: Wed, 04 Mar 2020 14:29:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: short_desc alias Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00020.txt Content-length: 593 https://sourceware.org/bugzilla/show_bug.cgi?id=25487 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|sinl() stack corruption |sinl() stack corruption |from crafted input |from crafted input | |(CVE-2020-10029) Alias| |CVE-2020-10029 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47464-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Mar 04 16:38:10 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 31690 invoked by alias); 4 Mar 2020 16:38:10 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 31653 invoked by uid 48); 4 Mar 2020 16:38:06 -0000 From: "carnil at debian dot org" To: glibc-bugs@sourceware.org Subject: [Bug math/25487] sinl() stack corruption from crafted input (CVE-2020-10029) Date: Wed, 04 Mar 2020 16:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carnil at debian dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00021.txt Content-length: 401 https://sourceware.org/bugzilla/show_bug.cgi?id=25487 Salvatore Bonaccorso changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carnil at debian dot org -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47465-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Mar 04 18:10:37 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 63828 invoked by alias); 4 Mar 2020 18:10:36 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 63766 invoked by uid 48); 4 Mar 2020 18:10:33 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25423] Array overflow in backtrace on powerpc Date: Wed, 04 Mar 2020 18:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00022.txt Content-length: 455 https://sourceware.org/bugzilla/show_bug.cgi?id=25423 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlos at redhat dot com Flags| |security+ -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47466-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Mar 04 18:22:26 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 80381 invoked by alias); 4 Mar 2020 18:22:26 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 80302 invoked by uid 48); 4 Mar 2020 18:22:22 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug glob/25414] 'glob' use-after-free bug Date: Wed, 04 Mar 2020 18:22:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: glob X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: cc flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00023.txt Content-length: 455 https://sourceware.org/bugzilla/show_bug.cgi?id=25414 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |carlos at redhat dot com Flags| |security+ -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47467-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Mar 04 20:04:03 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 51177 invoked by alias); 4 Mar 2020 20:04:03 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 51112 invoked by uid 48); 4 Mar 2020 20:03:58 -0000 From: "weezykush254 at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/11394] locale-archive differs between x86_64-linux and i686-linux due to unintentional hash difference Date: Wed, 04 Mar 2020 20:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.12 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: weezykush254 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00024.txt Content-length: 398 https://sourceware.org/bugzilla/show_bug.cgi?id=11394 stevo changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |weezykush254 at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47468-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Mar 04 20:10:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 66747 invoked by alias); 4 Mar 2020 20:10:42 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 66636 invoked by uid 48); 4 Mar 2020 20:10:38 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25423] Array overflow in backtrace on powerpc Date: Wed, 04 Mar 2020 20:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00025.txt Content-length: 334 https://sourceware.org/bugzilla/show_bug.cgi?id=25423 --- Comment #4 from Carlos O'Donell --- It is a security issue that the function call would write beyond the bounds of the input array given the size. Marked security+ -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47469-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Mar 04 20:14:47 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 69355 invoked by alias); 4 Mar 2020 20:14:47 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 69292 invoked by uid 48); 4 Mar 2020 20:14:41 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug glob/25414] 'glob' use-after-free bug Date: Wed, 04 Mar 2020 20:14:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: glob X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00026.txt Content-length: 291 https://sourceware.org/bugzilla/show_bug.cgi?id=25414 --- Comment #6 from Carlos O'Donell --- It is a security issue that the glob function has a use-after-free. Marking security+. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47470-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Mar 04 21:36:56 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 86924 invoked by alias); 4 Mar 2020 21:33:11 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 68727 invoked by uid 48); 4 Mar 2020 21:24:56 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/9813] pselect implementation (when not implemneted by the kernel) agriviates the race Date: Wed, 04 Mar 2020 21:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00027.txt Content-length: 708 https://sourceware.org/bugzilla/show_bug.cgi?id=9813 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adhemerval.zanella at linaro dot o | |rg --- Comment #8 from Adhemerval Zanella --- Currently only microblaze-linux-gnu is affected by this issue and the faulty fallback code is not used when --enable-kernel=3.15 or newer is used. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47471-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Mar 05 02:27:14 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 54151 invoked by alias); 5 Mar 2020 02:27:13 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 54117 invoked by uid 48); 5 Mar 2020 02:27:09 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug manual/25626] typo in libc.info Date: Thu, 05 Mar 2020 02:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: carlos at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cf_reconfirmed_on cc assigned_to everconfirmed Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00028.txt Content-length: 1008 https://sourceware.org/bugzilla/show_bug.cgi?id=25626 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2020-03-05 CC| |carlos at redhat dot com Assignee|unassigned at sourceware dot org |carlos at redhat dot com Ever confirmed|0 |1 --- Comment #1 from Carlos O'Donell --- (In reply to Toomas Rosin from comment #0) > The section "6.1. Introduction to the Extended Characters" mentions a > non-existent function named "wgetc". It should probably read "getwc". Agreed. Thank you! Posted patch here: https://www.sourceware.org/ml/libc-alpha/2020-03/msg00091.html -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47472-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Mar 05 04:40:00 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 45588 invoked by alias); 5 Mar 2020 04:40:00 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 45488 invoked by uid 48); 5 Mar 2020 04:39:54 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug crypt/25441] DOS attack risk caused by incomplete system password check function Date: Thu, 05 Mar 2020 04:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: crypt X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc resolution flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00029.txt Content-length: 1920 https://sourceware.org/bugzilla/show_bug.cgi?id=25441 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |carlos at redhat dot com Resolution|--- |WONTFIX Flags| |security- --- Comment #1 from Carlos O'Donell --- Yes, it can take a long time to cryptographically hash long password. I don't see this issue as a security issue unless we have concrete examples of specific DoS issues impacting real applications. The API imposes no limits, and so we should not either. Instead the limits need to be imposed by remote login interfaces like ssh (disable passwords) or pam (limit maximum password size). Limiting this at the lowest level API will not work well because we have no way to propagate a complex failure up the software stack e.g. failed because of policy reasons for too long password. I'm marking this as RESOLVED/WONTFIX. Please review: https://sourceware.org/glibc/wiki/Security%20Process Note: In Fedora we have moved from libcrypt.so (provided by glibc) to libxcrypt (provided by the libxcrypt project: https://github.com/besser82/libxcrypt). We accomplish this by building glibc with --disable-crypt, and then building libxcrypt in the compatibility mode to provide all the backwards compatibility required for older applications. We should continue to move forward with libxcrypt and newer one-way hashing algorithms. Fedora 30 fully removes the deprecated interfaces (https://fedoraproject.org/wiki/Changes/FullyRemoveDeprecatedAndUnsafeFunctionsFromLibcrypt). -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47473-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Mar 05 08:35:37 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 26724 invoked by alias); 5 Mar 2020 08:35:35 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 26667 invoked by uid 55); 5 Mar 2020 08:35:31 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug manual/24654] Wrong declaration of wcschr in libc manual Date: Thu, 05 Mar 2020 08:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: 2.29 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00030.txt Content-length: 586 https://sourceware.org/bugzilla/show_bug.cgi?id=24654 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Florian Weimer : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f801cf7bb146f9dd7b5e124e752c54194698e132 commit f801cf7bb146f9dd7b5e124e752c54194698e132 Author: Girish Joshi Date: Thu Mar 5 09:31:43 2020 +0100 manual: Fix wrong declaration of wcschr [BZ #24654] -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47474-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Mar 05 08:40:35 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 115002 invoked by alias); 5 Mar 2020 08:40:35 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 114935 invoked by uid 48); 5 Mar 2020 08:40:31 -0000 From: "fw at deneb dot enyo.de" To: glibc-bugs@sourceware.org Subject: [Bug manual/24654] Wrong declaration of wcschr in libc manual Date: Thu, 05 Mar 2020 08:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: manual X-Bugzilla-Version: 2.29 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: fw at deneb dot enyo.de X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00031.txt Content-length: 648 https://sourceware.org/bugzilla/show_bug.cgi?id=24654 Florian Weimer changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |fw at deneb dot enyo.de Resolution|--- |FIXED Target Milestone|--- |2.32 --- Comment #2 from Florian Weimer --- Fixed for glibc 2.32. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47475-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Mar 05 11:48:54 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 44898 invoked by alias); 5 Mar 2020 11:48:48 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 44252 invoked by uid 48); 5 Mar 2020 11:48:24 -0000 From: "schwab@linux-m68k.org" To: glibc-bugs@sourceware.org Subject: [Bug math/25487] sinl() stack corruption from crafted input (CVE-2020-10029) Date: Thu, 05 Mar 2020 11:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: math X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: schwab@linux-m68k.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00032.txt Content-length: 262 https://sourceware.org/bugzilla/show_bug.cgi?id=25487 --- Comment #5 from Andreas Schwab --- __ieee754_rem_pio2l is used by cosl, sinl, sincosl, and tanl. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47476-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Mar 05 13:56:43 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 40381 invoked by alias); 5 Mar 2020 13:56:29 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 39050 invoked by uid 48); 5 Mar 2020 13:56:17 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25635] New: arm: Wrong sysdep order selection for soft-fp Date: Thu, 05 Mar 2020 13:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00033.txt Content-length: 1959 https://sourceware.org/bugzilla/show_bug.cgi?id=25635 Bug ID: 25635 Summary: arm: Wrong sysdep order selection for soft-fp Product: glibc Version: 2.31 Status: NEW Severity: normal Priority: P2 Component: libc Assignee: unassigned at sourceware dot org Reporter: adhemerval.zanella at linaro dot org CC: drepper.fsp at gmail dot com Target Milestone: --- The commit "arm: Split BE/LE abilist" (1673ba87fefe019c834c09d33673d1d453ea698d) changed the soft-fp order for ARM selection when __SOFTFP__ is defined by the compiler. On 2.31 the sysdeps order is: 2.31 sysdeps/unix/sysv/linux/arm sysdeps/arm/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm/nofpu sysdeps/ieee754/soft-fp sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic While on master is: sysdeps/unix/sysv/linux/arm/le sysdeps/unix/sysv/linux/arm sysdeps/arm/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm/le sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/arm/nofpu sysdeps/ieee754/soft-fp sysdeps/ieee754 sysdeps/generic It make the build select some routines (fadd, fdiv, fmul, fsub, and fma) on ieee754/flt-32 and ieee754/dbl-64 that requires fenv support to be correctly rounded which in turns lead to math failures since the __SOFTFP__ does not have fenv support. As a side note, the SH similar change ('sh: Split BE/LE abilist' - 605f38177dba31fe0d0183abb67e25a28fd37d15) does not change the soft-fp order in relation with sysdeps/ieee754 ones. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47477-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Mar 05 13:57:04 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 43205 invoked by alias); 5 Mar 2020 13:56:58 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 41842 invoked by uid 48); 5 Mar 2020 13:56:44 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25635] arm: Wrong sysdep order selection for soft-fp Date: Thu, 05 Mar 2020 13:56:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00034.txt Content-length: 540 https://sourceware.org/bugzilla/show_bug.cgi?id=25635 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at sourceware dot org |adhemerval.zanella at linaro dot o | |rg -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47479-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Mar 05 18:18:50 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 7244 invoked by alias); 5 Mar 2020 18:18:50 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 1767 invoked by uid 48); 5 Mar 2020 18:18:46 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25623] test-sysvmsg, test-sysvsem, test-sysvshm fail with 2.31 on 32 bit and old kernel Date: Thu, 05 Mar 2020 18:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00036.txt Content-length: 560 https://sourceware.org/bugzilla/show_bug.cgi?id=25623 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Adhemerval Zanella --- As per previous comment. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47478-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Mar 05 18:18:34 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 117605 invoked by alias); 5 Mar 2020 18:18:33 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 117542 invoked by uid 48); 5 Mar 2020 18:18:30 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25623] test-sysvmsg, test-sysvsem, test-sysvshm fail with 2.31 on 32 bit and old kernel Date: Thu, 05 Mar 2020 18:18:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00035.txt Content-length: 636 https://sourceware.org/bugzilla/show_bug.cgi?id=25623 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at sourceware dot org |adhemerval.zanella at linaro dot o | |rg Target Milestone|--- |2.32 --- Comment #6 from Adhemerval Zanella --- Fixed on 2.32. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47480-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Mar 05 20:06:42 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 55804 invoked by alias); 5 Mar 2020 20:06:41 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 55752 invoked by uid 55); 5 Mar 2020 20:06:37 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug build/25506] configure: broken detection of STT_GNU_IFUNC when GCC defaults to PIE Date: Thu, 05 Mar 2020 20:06:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00037.txt Content-length: 868 https://sourceware.org/bugzilla/show_bug.cgi?id=25506 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Adhemerval Zanella : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=87a698a21646b7ee620923ef5ffa9735471a8ddd commit 87a698a21646b7ee620923ef5ffa9735471a8ddd Author: Fangrui Song Date: Tue Feb 4 21:55:44 2020 -0800 Improve IFUNC check [BZ #25506] GNU ld's RISCV port does not support IFUNC. ld -no-pie produces no relocation and the test passed incorrectly. Be more rigid by testing IRELATIVE explicitly. Tested-by: Aurelien Jarno Reviewed-by: Adhemerval Zanella -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47481-listarch-glibc-bugs=sources.redhat.com@sourceware.org Thu Mar 05 20:07:12 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 56265 invoked by alias); 5 Mar 2020 20:07:11 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 56207 invoked by uid 48); 5 Mar 2020 20:07:07 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug build/25506] configure: broken detection of STT_GNU_IFUNC when GCC defaults to PIE Date: Thu, 05 Mar 2020 20:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status cc resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00038.txt Content-length: 742 https://sourceware.org/bugzilla/show_bug.cgi?id=25506 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |adhemerval.zanella at linaro dot o | |rg Resolution|--- |FIXED Target Milestone|--- |2.32 --- Comment #3 from Adhemerval Zanella --- Fixed on 2.32. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47482-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Mar 06 10:54:36 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 66363 invoked by alias); 6 Mar 2020 10:54:36 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 66314 invoked by uid 48); 6 Mar 2020 10:54:32 -0000 From: "aladjev.andrew at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25523] MIPS/Linux inline syscall template is miscompiled Date: Fri, 06 Mar 2020 10:54:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aladjev.andrew at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00039.txt Content-length: 411 https://sourceware.org/bugzilla/show_bug.cgi?id=25523 Aladjev Andrew changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aladjev.andrew at gmail dot com -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47483-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Mar 06 11:50:18 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 119556 invoked by alias); 6 Mar 2020 11:50:17 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 119483 invoked by uid 48); 6 Mar 2020 11:50:13 -0000 From: "quentinantonin at free dot fr" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25639] New: Name of day wrongly spelt in Occitan Date: Fri, 06 Mar 2020 11:50:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.33 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: quentinantonin at free dot fr X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00040.txt Content-length: 980 https://sourceware.org/bugzilla/show_bug.cgi?id=25639 Bug ID: 25639 Summary: Name of day wrongly spelt in Occitan Product: glibc Version: 2.33 Status: UNCONFIRMED Severity: normal Priority: P2 Component: localedata Assignee: unassigned at sourceware dot org Reporter: quentinantonin at free dot fr CC: libc-locales at sourceware dot org Target Milestone: --- Hello, in Occitan the name of «Thursday» is not written correctly. Indeed, it should be «dijòus» and not «dijóus». It means replacing "dijus" by "dijus". I hope it can be change easily and to backport to glibc 2.31. Sources: https://st.unicode.org/cldr-apps/v#/oc/Gregorian/ https://en.wikipedia.org/wiki/Names_of_the_days_of_the_week#Romance_languages -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47484-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Mar 06 12:20:04 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 29260 invoked by alias); 6 Mar 2020 12:20:03 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 29139 invoked by uid 48); 6 Mar 2020 12:19:59 -0000 From: "claude at 2xlibre dot net" To: glibc-bugs@sourceware.org Subject: [Bug localedata/25639] Name of day wrongly spelt in Occitan Date: Fri, 06 Mar 2020 12:20:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: localedata X-Bugzilla-Version: 2.33 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: claude at 2xlibre dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00041.txt Content-length: 395 https://sourceware.org/bugzilla/show_bug.cgi?id=25639 Claude Paroz changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |claude at 2xlibre dot net -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47485-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Mar 06 12:59:36 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 92491 invoked by alias); 6 Mar 2020 12:59:36 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 92457 invoked by uid 55); 6 Mar 2020 12:59:32 -0000 From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25635] arm: Wrong sysdep order selection for soft-fp Date: Fri, 06 Mar 2020 12:59:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00042.txt Content-length: 2572 https://sourceware.org/bugzilla/show_bug.cgi?id=25635 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Adhemerval Zanella : https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=af09e5e5d9ec3ca20891e61a6922eac984fcbdc4 commit af09e5e5d9ec3ca20891e61a6922eac984fcbdc4 Author: Adhemerval Zanella Date: Thu Mar 5 13:14:41 2020 +0000 arm: Fix softp-fp Implies (BZ #25635) The commit "arm: Split BE/LE abilist" (1673ba87fefe019c834c09d33673d1d453ea698d) changed the soft-fp order for ARM selection when __SOFTFP__ is defined by the compiler. On 2.30 the sysdeps order is: 2.30 sysdeps/unix/sysv/linux/arm sysdeps/arm/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm/nofpu sysdeps/ieee754/soft-fp sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic While on master is: sysdeps/unix/sysv/linux/arm/le sysdeps/unix/sysv/linux/arm sysdeps/arm/nptl sysdeps/unix/sysv/linux sysdeps/nptl sysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm/le sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/arm/nofpu sysdeps/ieee754/soft-fp sysdeps/ieee754 sysdeps/generic It make the build select some routines (fadd, fdiv, fmul, fsub, and fma) on ieee754/flt-32 and ieee754/dbl-64 that requires fenv support to be correctly rounded which in turns lead to math failures since the __SOFTFP__ does not have fenv support. With this patch the order is now: sysdeps/unix/sysv/linux/arm/le sysdeps/unix/sysv/linux/arm sysdeps/arm/nptl sysdeps/unix/sysv/linux sysdeps/nptlsysdeps/pthread sysdeps/gnu sysdeps/unix/inet sysdeps/unix/sysv sysdeps/unix/arm sysdeps/unix sysdeps/posix sysdeps/arm/le/nofpu sysdeps/arm/nofpu sysdeps/ieee754/soft-fp sysdeps/arm/le sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic Checked on arm-linux-gnuaebi. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47486-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Mar 06 13:01:28 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 94906 invoked by alias); 6 Mar 2020 13:01:17 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 94864 invoked by uid 48); 6 Mar 2020 13:01:13 -0000 From: "adhemerval.zanella at linaro dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/25635] arm: Wrong sysdep order selection for soft-fp Date: Fri, 06 Mar 2020 13:01:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: adhemerval.zanella at linaro dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status version resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00043.txt Content-length: 658 https://sourceware.org/bugzilla/show_bug.cgi?id=25635 Adhemerval Zanella changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Version|2.31 |2.30 Resolution|--- |FIXED Target Milestone|--- |2.32 --- Comment #2 from Adhemerval Zanella --- Fixed on 2.32. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47487-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Mar 06 18:35:28 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 19747 invoked by alias); 6 Mar 2020 18:35:27 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 19681 invoked by uid 48); 6 Mar 2020 18:35:24 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25423] Array overflow in backtrace on powerpc Date: Fri, 06 Mar 2020 18:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: alias Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00044.txt Content-length: 385 https://sourceware.org/bugzilla/show_bug.cgi?id=25423 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- Alias| |CVE-2020-1751 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47488-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Mar 06 18:35:50 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 20357 invoked by alias); 6 Mar 2020 18:35:50 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 20300 invoked by uid 48); 6 Mar 2020 18:35:46 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug glob/25414] 'glob' use-after-free bug Date: Fri, 06 Mar 2020 18:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: glob X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: alias Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00045.txt Content-length: 385 https://sourceware.org/bugzilla/show_bug.cgi?id=25414 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- Alias| |CVE-2020-1752 -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47490-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Mar 06 18:46:56 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 36145 invoked by alias); 6 Mar 2020 18:46:55 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 36077 invoked by uid 48); 6 Mar 2020 18:46:51 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug glob/25414] 'glob' use-after-free bug (CVE-2020-1752) Date: Fri, 06 Mar 2020 18:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: glob X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00047.txt Content-length: 462 https://sourceware.org/bugzilla/show_bug.cgi?id=25414 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|'glob' use-after-free bug |'glob' use-after-free bug | |(CVE-2020-1752) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47489-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Mar 06 18:46:47 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 35815 invoked by alias); 6 Mar 2020 18:46:47 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 35752 invoked by uid 48); 6 Mar 2020 18:46:43 -0000 From: "carlos at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25423] Array overflow in backtrace on powerpc (CVE-2020-1751) Date: Fri, 06 Mar 2020 18:46:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.19 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: carlos at redhat dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: adhemerval.zanella at linaro dot org X-Bugzilla-Target-Milestone: 2.31 X-Bugzilla-Flags: security+ X-Bugzilla-Changed-Fields: short_desc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00046.txt Content-length: 475 https://sourceware.org/bugzilla/show_bug.cgi?id=25423 Carlos O'Donell changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Array overflow in backtrace |Array overflow in backtrace |on powerpc |on powerpc (CVE-2020-1751) -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47491-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Mar 06 19:27:23 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 76873 invoked by alias); 6 Mar 2020 19:27:22 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 76814 invoked by uid 48); 6 Mar 2020 19:27:17 -0000 From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/25397] Legacy bitmap doesn't cover jitted code Date: Fri, 06 Mar 2020 19:27:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00048.txt Content-length: 824 https://sourceware.org/bugzilla/show_bug.cgi?id=25397 --- Comment #2 from H.J. Lu --- A testcase: --- #include #include #define PAGE_SIZE 0x1000 int main(int argc, char *argv[]) { void (*funcp) (void); funcp = mmap(NULL, PAGE_SIZE, PROT_EXEC | PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); if (funcp == MAP_FAILED) { printf("mmap failed!\n"); return -1; } printf("mmap = %p\n", funcp); /* Write RET instruction. */ *(char *) funcp = 0xc3; funcp (); return 0; } --- Compiling this with -fcf-protection=none, it fails with legacy bitmap on CET processors since legacy bitmap doesn't cover mmap region. -- You are receiving this mail because: You are on the CC list for the bug. >From glibc-bugs-return-47492-listarch-glibc-bugs=sources.redhat.com@sourceware.org Fri Mar 06 19:31:34 2020 Return-Path: Delivered-To: listarch-glibc-bugs@sources.redhat.com Received: (qmail 82073 invoked by alias); 6 Mar 2020 19:31:33 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Delivered-To: mailing list glibc-bugs@sourceware.org Received: (qmail 82009 invoked by uid 48); 6 Mar 2020 19:31:29 -0000 From: "hjl.tools at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/25262] getcontext/setcontext/swapcontext unnecessarily save and restore EAX, ECX and EDX Date: Fri, 06 Mar 2020 19:31:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.30 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: bug_status resolution target_milestone Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2020-03/txt/msg00049.txt Content-length: 765 https://sourceware.org/bugzilla/show_bug.cgi?id=25262 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Target Milestone|--- |2.32 --- Comment #1 from H.J. Lu --- Fixed for 2.32 by commit 15eab1e3e89129ab3ed03f5bdc3415b26e9caeb9 Author: H.J. Lu Date: Sat Feb 1 05:44:55 2020 -0800 i386: Don't unnecessarily save and restore EAX, ECX and EDX [BZ# 25262] -- You are receiving this mail because: You are on the CC list for the bug.