[Bug 255947] linuxulator: Add FUTEX_REQUEUE for musl libc.

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 May 2021 15:13:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255947

            Bug ID: 255947
           Summary: linuxulator: Add FUTEX_REQUEUE for musl libc.
           Product: Base System
           Version: Unspecified
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: pitwuu@gmail.com

Created attachment 225031
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225031&action=edit
futex requeue patch

The comment about FUTEX_REQUEUE is true, however musl libc makes uses of this
operation, and so I want to add support for it as there is legitimate use of
FUTEX_REQUEUE.

The call itself is per the documentation the same as FUTEX_CMD_REQUEUE except
that the val3 is not checked.

Tested on void linux chroot with x64.
With this patch, Qt applications enter and exit cleanly.

-- 
You are receiving this mail because:
You are the assignee for the bug.