Date: Thu, 12 May 2022 17:07:23 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 263939] python3.8 os.sched_getaffinity(0); broken? Message-ID: <bug-263939-21822-3fJ3KAlMnm@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-263939-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-263939-21822@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263939 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D3e11d3f61ae2b2b8a8ffeff4ef32067d9= 5c065a1 commit 3e11d3f61ae2b2b8a8ffeff4ef32067d95c065a1 Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2022-05-12 17:06:13 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2022-05-12 17:06:13 +0000 Fixed the value returned by sched_getaffinity(). On success gnu libc sched_getaffinity() should return 0, unlike underly= ing Linux syscall which returns the size of CPU mask copied to user. PR: 263939 MFC after: 2 weeks lib/libc/gen/sched_getaffinity.c | 4 ---- 1 file changed, 4 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263939-21822-3fJ3KAlMnm>