Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48375

When using SystemV IPC ftok key collisions can occur

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: P2: Important P2: Important
    • 5.6.0
    • 5.6.0 Alpha
    • Core: I/O
    • None
    • ac0184d6085d9e4f7f59352e563055311f4d8792

      ftok key collisions are especially problematic with QSystemSemaphore since the SystemV implementation of QSystemSemaphorePrivate::handle will retry semget without IPC_EXCL, which can lead to cases where an unrelated semaphore is opened.

      To work around this issue we can add some more entropy to ftok via a wrapper, but unfortunately we cannot change the semantics of QSystemSemaphore directly.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            louai Louai Al-Khanji
            louai Louai Al-Khanji
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes