[Bug 263939] python3.8 os.sched_getaffinity(0); broken?

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 17 Jun 2022 19:42:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263939

--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=46be698d0fb0bfeb96914df5426d3a317314df67

commit 46be698d0fb0bfeb96914df5426d3a317314df67
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-05-12 17:06:13 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-06-17 19:35:16 +0000

    Fixed the value returned by sched_getaffinity().

    On success gnu libc sched_getaffinity() should return 0, unlike underlying
    Linux syscall which returns the size of CPU mask copied to user.

    PR:             263939
    MFC after:      2 weeks

    (cherry picked from commit 3e11d3f61ae2b2b8a8ffeff4ef32067d95c065a1)

 lib/libc/gen/sched_getaffinity.c | 4 ----
 1 file changed, 4 deletions(-)

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