Date: Fri, 17 Jun 2022 19:42:13 +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-HsQzpp5vKq@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 #9 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D46be698d0fb0bfeb96914df5426d3a317= 314df67 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 underly= ing 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(-) --=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-HsQzpp5vKq>