https://bugs.kde.org/show_bug.cgi?id=506816

Mark Wielaard <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #7 from Mark Wielaard <[email protected]> ---
(In reply to Paul Floyd from comment #6)
> (In reply to mcermak from comment #5)
> > Created attachment 184902 [details]
> > updated patch
> 
> LGTM

Agreed. Thanks for adding the SfMayBlock.
Pushed as:

commit 4b9d06bcde9935b3eae0307ec07fc1437a76e903 (HEAD -> master)
Author: Martin Cermak <[email protected]>
Date:   Fri Sep 12 07:52:55 2025 +0200

    Wrap the futex_waitv syscall

    Wrap the futex2/futex_waitv syscall:

    sys_futex_waitv(struct futex_waitv __user *, waiters,
                    unsigned int, nr_futexes, unsigned int, flags,
                    struct __kernel_timespec __user *, timeout, clockid_t,
clockid)

    sys_futex_waitv - Wait on a list of futexes
    @waiters:    List of futexes to wait on
    @nr_futexes: Length of futexv
    @flags:      Flag for timeout (monotonic/realtime)
    @timeout:    Optional absolute timeout.
    @clockid:    Clock to be used for the timeout, realtime or monotonic.

    Given an array of `struct futex_waitv`, wait on each uaddr. The thread
wakes
    if a futex_wake() is performed at any uaddr. The syscall returns
immediately
    if any waiter has *uaddr != val. *timeout is an optional timeout value for
    the operation. Each waiter has individual flags. The `flags` argument for
    the syscall should be used solely for specifying the timeout as realtime,
if
    needed. Flags for private futexes, sizes, etc. should be used on the
    individual flags of each waiter. Returns the array index of one of the
woken
    futexes. No further information is provided.

    Declare a futex_waitv wrapper in priv_syswrap-linux.h
    and hook it for {amd64,arm,arm64,mips64,ppc32,ppc64,riscv64,s390x\
    ,x86}- linux using LINX_ with PRE handler in syswrap-linux.c

    https://bugs.kde.org/show_bug.cgi?id=506816

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to