[Bug libc/20486] New: fcntl: missing cancellation point for some lock operations which wait

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Thu Aug 18 08:48:00 GMT 2016


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

            Bug ID: 20486
           Summary: fcntl: missing cancellation point for some lock
                    operations which wait
           Product: glibc
           Version: 2.24
            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-

I think F_OFD_SETLKW at least ought to be a cancellation point, but it
currently is not:

  if (SINGLE_THREAD_P || cmd != F_SETLKW)
    return do_fcntl (fd, cmd, arg);

F_SETLKW64 is missing in sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c,
too, but it is present in sysdeps/unix/sysv/linux/i386.fcntl.c.

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


More information about the Glibc-bugs mailing list