Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Oct 2022 15:58:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 175687] pthread_setschedparam(3) may fail for undocumented reason (EPERM)
Message-ID:  <bug-175687-9-lbLDFtnbDK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-175687-9@https.bugs.freebsd.org/bugzilla/>
References:  <bug-175687-9@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=3D175687

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Df18e56c17ae2cb6b190fe4cf53a340720=
1f9e3b0

commit f18e56c17ae2cb6b190fe4cf53a3407201f9e3b0
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2022-10-17 18:11:13 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2022-10-24 15:56:13 +0000

    pthread_setschedparam(3): document EPERM return

    In kern_sched_setparam(), before setting any parameters, p_cansched() is
    called to check that the thread has appropriate privileges.

    PR:             175687
    Reviewed by:    markj
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D37020

    (cherry picked from commit 04620006b9116049e9e2f27d74417d2d84dc8d10)

 share/man/man3/pthread_schedparam.3 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-175687-9-lbLDFtnbDK>