[Bug libc/19137] New: i386/epoll_pwait.S doesn't support cancellation

hjl.tools at gmail dot com sourceware-bugzilla@sourceware.org
Thu Oct 15 11:18:00 GMT 2015


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

            Bug ID: 19137
           Summary: i386/epoll_pwait.S doesn't support cancellation
           Product: glibc
           Version: 2.23
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: 2.23

epoll_pwait.c has

int epoll_pwait (int epfd, struct epoll_event *events,
                 int maxevents, int timeout,
                 const sigset_t *set)
{
  return SYSCALL_CANCEL (epoll_pwait, epfd, events, maxevents,
                         timeout, set, _NSIG / 8);
}

But i386/epoll_pwait.S has

00000000 <epoll_pwait>:
   0:   55                      push   %ebp
   1:   53                      push   %ebx
   2:   56                      push   %esi
   3:   57                      push   %edi
   4:   8b 5c 24 14             mov    0x14(%esp),%ebx
   8:   8b 4c 24 18             mov    0x18(%esp),%ecx
   c:   8b 54 24 1c             mov    0x1c(%esp),%edx
  10:   8b 74 24 20             mov    0x20(%esp),%esi
  14:   8b 7c 24 24             mov    0x24(%esp),%edi
  18:   bd 08 00 00 00          mov    $0x8,%ebp
  1d:   b8 3f 01 00 00          mov    $0x13f,%eax
  22:   65 ff 15 10 00 00 00    call   *%gs:0x10
  29:   5f                      pop    %edi
  2a:   5e                      pop    %esi
  2b:   5b                      pop    %ebx
  2c:   5d                      pop    %ebp
  2d:   3d 00 f0 ff ff          cmp    $0xfffff000,%eax
  32:   0f 87 fc ff ff ff       ja     34 <epoll_pwait+0x34>    34: R_386_PC32 
__syscall_error
  38:   c3                      ret    

There is no cancellation support.

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



More information about the Glibc-bugs mailing list