public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/27706] New: select fails to update timeout on error
@ 2021-04-07 10:01 schwab@linux-m68k.org
  2021-04-07 12:19 ` [Bug libc/27706] " schwab@linux-m68k.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2021-04-07 10:01 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 27706
           Summary: select fails to update timeout on error
           Product: glibc
           Version: 2.33
            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
  Target Milestone: ---

When the [p]select syscall returns with an error (eg. EINTR) the timeout
argument is no longer updated.

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

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

* [Bug libc/27706] select fails to update timeout on error
  2021-04-07 10:01 [Bug libc/27706] New: select fails to update timeout on error schwab@linux-m68k.org
@ 2021-04-07 12:19 ` schwab@linux-m68k.org
  2021-04-13 13:11 ` adhemerval.zanella at linaro dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2021-04-07 12:19 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
When 64-bit time_t is supported, the timeout argument is not updated at all.

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

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

* [Bug libc/27706] select fails to update timeout on error
  2021-04-07 10:01 [Bug libc/27706] New: select fails to update timeout on error schwab@linux-m68k.org
  2021-04-07 12:19 ` [Bug libc/27706] " schwab@linux-m68k.org
@ 2021-04-13 13:11 ` adhemerval.zanella at linaro dot org
  2021-04-13 13:13 ` adhemerval.zanella at linaro dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2021-04-13 13:11 UTC (permalink / raw)
  To: glibc-bugs

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

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.33                        |2.32
                 CC|                            |adhemerval.zanella at linaro dot o
                   |                            |rg
           Assignee|unassigned at sourceware dot org   |adhemerval.zanella at linaro dot o
                   |                            |rg
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Fixed on 2.33, I will backport to 2.32 as well.

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

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

* [Bug libc/27706] select fails to update timeout on error
  2021-04-07 10:01 [Bug libc/27706] New: select fails to update timeout on error schwab@linux-m68k.org
  2021-04-07 12:19 ` [Bug libc/27706] " schwab@linux-m68k.org
  2021-04-13 13:11 ` adhemerval.zanella at linaro dot org
@ 2021-04-13 13:13 ` adhemerval.zanella at linaro dot org
  2021-04-13 13:25 ` schwab@linux-m68k.org
  2021-04-28 10:20 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2021-04-13 13:13 UTC (permalink / raw)
  To: glibc-bugs

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

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.32                        |2.33

--- Comment #3 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
My confusion, I meant fixed on 2.34 and I will backport to 2.33.

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

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

* [Bug libc/27706] select fails to update timeout on error
  2021-04-07 10:01 [Bug libc/27706] New: select fails to update timeout on error schwab@linux-m68k.org
                   ` (2 preceding siblings ...)
  2021-04-13 13:13 ` adhemerval.zanella at linaro dot org
@ 2021-04-13 13:25 ` schwab@linux-m68k.org
  2021-04-28 10:20 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2021-04-13 13:25 UTC (permalink / raw)
  To: glibc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2.34

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

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

* [Bug libc/27706] select fails to update timeout on error
  2021-04-07 10:01 [Bug libc/27706] New: select fails to update timeout on error schwab@linux-m68k.org
                   ` (3 preceding siblings ...)
  2021-04-13 13:25 ` schwab@linux-m68k.org
@ 2021-04-28 10:20 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2021-04-28 10:20 UTC (permalink / raw)
  To: glibc-bugs

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

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-
                 CC|                            |fweimer at redhat dot com
           Severity|normal                      |critical
           Priority|P2                          |P1

--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
commit cedbf6d5f3f70ca911176de87d6e453eeab4b7a1
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Apr 8 07:39:32 2021 -0300

    linux: always update select timeout (BZ #27706)

    The timeout should be updated even on failure for time64 support.

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

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

end of thread, other threads:[~2021-04-28 10:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07 10:01 [Bug libc/27706] New: select fails to update timeout on error schwab@linux-m68k.org
2021-04-07 12:19 ` [Bug libc/27706] " schwab@linux-m68k.org
2021-04-13 13:11 ` adhemerval.zanella at linaro dot org
2021-04-13 13:13 ` adhemerval.zanella at linaro dot org
2021-04-13 13:25 ` schwab@linux-m68k.org
2021-04-28 10:20 ` fweimer at redhat dot com

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).