[Bug 260487] sched_getaffinity(3)/sched_setaffinity(3): wrong handling of PID 0

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 14 Jan 2022 18:11:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260487

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=3f8542d3968e24222c66844833dfa5b8707dd807

commit 3f8542d3968e24222c66844833dfa5b8707dd807
Author:     Math Ieu <sigsys@gmail.com>
AuthorDate: 2021-12-17 05:31:09 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-01-14 16:17:30 +0000

    sched_get/setaffinity(3): pid 0 should designate current process

    PR:     260487

    (cherry picked from commit caacda7a3e898a8b142d27732a9f13a525b08ea7)

 lib/libc/gen/sched_getaffinity.c | 4 ++--
 lib/libc/gen/sched_setaffinity.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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