Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Dec 2021 05:35:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 260487] sched_getaffinity(3)/sched_setaffinity(3): wrong handling of PID 0
Message-ID:  <bug-260487-227-3md9mw2xjq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260487-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260487-227@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=3D260487

--- Comment #1 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dcaacda7a3e898a8b142d27732a9f13a52=
5b08ea7

commit caacda7a3e898a8b142d27732a9f13a525b08ea7
Author:     Math Ieu <sigsys@gmail.com>
AuthorDate: 2021-12-17 05:31:09 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-12-17 05:31:09 +0000

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

    while FreeBSD' native sched_get/setaffinity use pid -1 for this.

    PR:     260487
    MFC after:      1 week

 lib/libc/gen/sched_getaffinity.c | 4 ++--
 lib/libc/gen/sched_setaffinity.c | 4 ++--
 2 files changed, 4 insertions(+), 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-260487-227-3md9mw2xjq>