From nobody Mon Oct 17 18:13:56 2022 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MrlVt0wpLz4b70B for ; Mon, 17 Oct 2022 18:13:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MrlVs28FBz3mnx for ; Mon, 17 Oct 2022 18:13:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MrlVs0G81zvdM for ; Mon, 17 Oct 2022 18:13:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29HIDu8X052455 for ; Mon, 17 Oct 2022 18:13:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29HIDukQ052454 for doc@FreeBSD.org; Mon, 17 Oct 2022 18:13:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 175687] pthread_setschedparam(3) may fail for undocumented reason (EPERM) Date: Mon, 17 Oct 2022 18:13:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: mhorne@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666030437; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cbabw6jb4q7Q4Rh2uzhQjaPNLRGt4Ce7ZXCS4bnM8no=; b=teNPRhrXKifWQehTJgpJ1wATADIOTdZMdYXp54p436XmAafBUZv10zN4TFo8v57DjNDa8X Af5d/0C1vkulcedR4G0IQ2erGJ2hd4xb+E9wAVP2+5DWbP0hpjI9AYKmn/arOX1D8mhnhq 0TbbM6kcjw9YbJi3t1YFOHPur+GjAG9UnxoO84hjoKGQ3gTKHsB3ij6afY3rh1wjXiZ5UR s21gVMI1H33vROvr7zGVRY+DfTIxzo/Qe/Y50F2WfMC//KalvyDBOTU2YO93H96G6nGhWG xjYfBUN+zBdi7miA81VkaP0OPCPptS9fqbUstAeqAthP7lpYZFLidXEoaWkEQw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666030437; a=rsa-sha256; cv=none; b=n5vIVzNPvrMPi9ecZX4WvypXxDSsSJhFLcN5muJSzq/+gFBhYmFy7gnHe/e49y5V585BuO ih6fG28fAXf2nopC9KjUjLW0lrLIprGUQmkhuyiJx99kGbUrEs3LEr4M6/F2CvzDcHgDhf g+Tk4pw7X+WDDCiLX/YuqSM1c4jt28QIY+ghOAyMXmUyrS5pWOjikumNImYBDcHFAUgNK4 9HAh5xHZjhfejTlN5/h1rxS2SShzQaZJdKkk+dQmXz5No1o2vqrR7n3rE3q/5ZHLpAKfjV 5ELIaZQuF6TubSqtPKV4d6tS2MtXIC2dUKfjQY7O8HiwarPjoyt9gaR9BfvjHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D175687 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D04620006b9116049e9e2f27d74417d2d8= 4dc8d10 commit 04620006b9116049e9e2f27d74417d2d84dc8d10 Author: Mitchell Horne AuthorDate: 2022-10-17 18:11:13 +0000 Commit: Mitchell Horne CommitDate: 2022-10-17 18:12:12 +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 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.=