public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18781] New: openat64 lacks O_LARGEFILE
@ 2015-08-06 20:20 schwab@linux-m68k.org
  2015-08-10  9:25 ` [Bug libc/18781] " schwab@linux-m68k.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: schwab@linux-m68k.org @ 2015-08-06 20:20 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18781

            Bug ID: 18781
           Summary: openat64 lacks O_LARGEFILE
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: schwab@linux-m68k.org
                CC: adhemerval.zanella at linaro dot org, drepper.fsp at gmail dot com
  Target Milestone: 2.22

openat64 for wordsize-32 fails to pass O_LARGEFILE to the syscall.

Broken by commit c6bb095.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libc/18781] openat64 lacks O_LARGEFILE
  2015-08-06 20:20 [Bug libc/18781] New: openat64 lacks O_LARGEFILE schwab@linux-m68k.org
@ 2015-08-10  9:25 ` schwab@linux-m68k.org
  2015-08-10 16:11 ` cvs-commit at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: schwab@linux-m68k.org @ 2015-08-10  9:25 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18781

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |glibc_2.22

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libc/18781] openat64 lacks O_LARGEFILE
  2015-08-06 20:20 [Bug libc/18781] New: openat64 lacks O_LARGEFILE schwab@linux-m68k.org
  2015-08-10  9:25 ` [Bug libc/18781] " schwab@linux-m68k.org
@ 2015-08-10 16:11 ` cvs-commit at gcc dot gnu.org
  2015-08-10 16:23 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-08-10 16:11 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18781

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  eb32b0d40308166c4d8f6330cc2958cb1e545075 (commit)
      from  d0649b2d8efca33363e399f1ba07d77e85901cfc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=eb32b0d40308166c4d8f6330cc2958cb1e545075

commit eb32b0d40308166c4d8f6330cc2958cb1e545075
Author: Andreas Schwab <schwab@suse.de>
Date:   Mon Aug 10 14:12:47 2015 +0200

    Readd O_LARGEFILE flag for openat64 (bug 18781)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                        |    7 +++++++
 NEWS                             |    2 +-
 io/test-lfs.c                    |   21 ++++++++++++++++++++-
 sysdeps/unix/sysv/linux/openat.c |    5 +++++
 4 files changed, 33 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libc/18781] openat64 lacks O_LARGEFILE
  2015-08-06 20:20 [Bug libc/18781] New: openat64 lacks O_LARGEFILE schwab@linux-m68k.org
  2015-08-10  9:25 ` [Bug libc/18781] " schwab@linux-m68k.org
  2015-08-10 16:11 ` cvs-commit at gcc dot gnu.org
@ 2015-08-10 16:23 ` cvs-commit at gcc dot gnu.org
  2015-08-10 16:24 ` schwab@linux-m68k.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-08-10 16:23 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18781

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, release/2.22/master has been updated
       via  561a9f11a974a447acb3dd03550a05df701a900e (commit)
      from  19742d3d5f8fb0cdc95b20c32fbee503d1048286 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=561a9f11a974a447acb3dd03550a05df701a900e

commit 561a9f11a974a447acb3dd03550a05df701a900e
Author: Andreas Schwab <schwab@suse.de>
Date:   Mon Aug 10 14:12:47 2015 +0200

    Readd O_LARGEFILE flag for openat64 (bug 18781)

    (cherry picked from commit eb32b0d40308166c4d8f6330cc2958cb1e545075)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                        |    7 +++++++
 NEWS                             |    2 +-
 io/test-lfs.c                    |   21 ++++++++++++++++++++-
 sysdeps/unix/sysv/linux/openat.c |    5 +++++
 4 files changed, 33 insertions(+), 2 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libc/18781] openat64 lacks O_LARGEFILE
  2015-08-06 20:20 [Bug libc/18781] New: openat64 lacks O_LARGEFILE schwab@linux-m68k.org
                   ` (2 preceding siblings ...)
  2015-08-10 16:23 ` cvs-commit at gcc dot gnu.org
@ 2015-08-10 16:24 ` schwab@linux-m68k.org
  2015-08-12  4:51 ` cvs-commit at gcc dot gnu.org
  2015-10-29 16:41 ` jsm28 at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: schwab@linux-m68k.org @ 2015-08-10 16:24 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18781

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Andreas Schwab <schwab@linux-m68k.org> ---
Fixed in 2.22.1.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libc/18781] openat64 lacks O_LARGEFILE
  2015-08-06 20:20 [Bug libc/18781] New: openat64 lacks O_LARGEFILE schwab@linux-m68k.org
                   ` (3 preceding siblings ...)
  2015-08-10 16:24 ` schwab@linux-m68k.org
@ 2015-08-12  4:51 ` cvs-commit at gcc dot gnu.org
  2015-10-29 16:41 ` jsm28 at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-08-12  4:51 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18781

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, gentoo/2.22 has been updated
       via  969fb008f467a27b7cf6cc3cb08f80a3072daf77 (commit)
       via  6f9b62ae8465ec6cb6561f309a2393899091f1c7 (commit)
      from  078cee5a65f59943e2d72e36ba6635d059c38426 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=969fb008f467a27b7cf6cc3cb08f80a3072daf77

commit 969fb008f467a27b7cf6cc3cb08f80a3072daf77
Author: Maxim Ostapenko <m.ostapenko@partner.samsung.com>
Date:   Mon Aug 10 10:47:54 2015 +0300

    Clear DF_1_NODELETE flag only for failed to load library.

    https://sourceware.org/bugzilla/show_bug.cgi?id=18778

    If dlopen fails to load an object that has triggered loading libpthread it
    causes ld.so to unload libpthread because its DF_1_NODELETE flags has been
    forcefully cleared. The next call to __rtdl_unlock_lock_recursive will
crash
    since pthread_mutex_unlock no longer exists.

    This patch moves l->l_flags_1 &= ~DF_1_NODELETE out of loop through all
loaded
    libraries and performs the action only on inconsistent one.

        [BZ #18778]
        * elf/Makefile (tests): Add Add tst-nodelete2.
        (modules-names): Add tst-nodelete2mod.
        (tst-nodelete2mod.so-no-z-defs): New.
        ($(objpfx)tst-nodelete2): Likewise.
        ($(objpfx)tst-nodelete2.out): Likewise.
        (LDFLAGS-tst-nodelete2): Likewise.
        * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
        out of loop through all loaded libraries.
        * elf/tst-nodelete2.c: New file.
        * elf/tst-nodelete2mod.c: Likewise.

    (cherry picked from commit f25238ffe0455013174438376b3ee88df496f9d1)
    (cherry picked from commit a34d1c6afc86521d6ad17662a3b5362d8481514c)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6f9b62ae8465ec6cb6561f309a2393899091f1c7

commit 6f9b62ae8465ec6cb6561f309a2393899091f1c7
Author: Andreas Schwab <schwab@suse.de>
Date:   Mon Aug 10 14:12:47 2015 +0200

    Readd O_LARGEFILE flag for openat64 (bug 18781)

    (cherry picked from commit eb32b0d40308166c4d8f6330cc2958cb1e545075)
    (cherry picked from commit 561a9f11a974a447acb3dd03550a05df701a900e)

-----------------------------------------------------------------------

Summary of changes:
 elf/Makefile                                      |   11 +++++-
 elf/dl-close.c                                    |   15 ++++----
 elf/tst-nodelete2.c                               |   37 +++++++++++++++++++++
 elf/{tst-znodelete-zlib.cc => tst-nodelete2mod.c} |    3 +-
 io/test-lfs.c                                     |   21 +++++++++++-
 sysdeps/unix/sysv/linux/openat.c                  |    5 +++
 6 files changed, 81 insertions(+), 11 deletions(-)
 create mode 100644 elf/tst-nodelete2.c
 rename elf/{tst-znodelete-zlib.cc => tst-nodelete2mod.c} (50%)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libc/18781] openat64 lacks O_LARGEFILE
  2015-08-06 20:20 [Bug libc/18781] New: openat64 lacks O_LARGEFILE schwab@linux-m68k.org
                   ` (4 preceding siblings ...)
  2015-08-12  4:51 ` cvs-commit at gcc dot gnu.org
@ 2015-10-29 16:41 ` jsm28 at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-10-29 16:41 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=18781

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|2.22                        |2.23

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-29 16:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-06 20:20 [Bug libc/18781] New: openat64 lacks O_LARGEFILE schwab@linux-m68k.org
2015-08-10  9:25 ` [Bug libc/18781] " schwab@linux-m68k.org
2015-08-10 16:11 ` cvs-commit at gcc dot gnu.org
2015-08-10 16:23 ` cvs-commit at gcc dot gnu.org
2015-08-10 16:24 ` schwab@linux-m68k.org
2015-08-12  4:51 ` cvs-commit at gcc dot gnu.org
2015-10-29 16:41 ` jsm28 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).