This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]