From nobody Tue Jul 7 01:57:20 2026 X-Original-To: dev-commits-src-main@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 4gvPVn1n4Cz6kcd3 for ; Tue, 07 Jul 2026 01:57:21 +0000 (UTC) (envelope-from git@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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gvPVm5sPGz3VFG for ; Tue, 07 Jul 2026 01:57:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1783389440; 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; bh=aWWMryaTOex5BkxGW0aKZidiN3QS6iQOd72s61T0LUA=; b=iikxr9HwTt3izSCcSsnK3lWZ1Q+ObbeZ3vIMrrAqv27mVT3DA/nejNcpCsRkotOlkUYWDZ H2Rdz8VNUxXljLMpM0Y8mKhOXzce1tKSrhAC6/0TkRbM6oHzV5zj9otxAJKUsKWzADztkx opb/9+2UIXSxdnq1YV3cVdy0GsxHQbu9qQ8TH7QSX6BtQxRisNieB4ZiFe13Ipbf/Z3prn JW5h+iwwJIG9oduyCw5aA7brjQ97U7+50efI34a7XPCbIW2WlVOMMqw+AImBg0fqm6bfaM sM4MgirCIWjAFB3qos7K3K3F9Su3Se7dK8LGI+Eh9AUB1b6RPE/OU228YjYSIQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1783389440; a=rsa-sha256; cv=none; b=JAjbO7VkOP7KnBf43pDdG7OUtRRh3dW28UEBCV4LWH19qDQrpCnYNB7fXhHRefhR2RfZaF ocrqOHP6hHaIfP/hWXNTeHsDm3e4MHLQtBE4EVNn62Ka9PDlLZKSy7DT4H32yObUpzekJQ /7/624uS6MXdwDk7xSY0I46f8KjjfZfLXKIGMu1Zvpcr/CKSTeZ7kKe8J+JoVgqTXV7WP8 FC/abttFTg/yRC8SA56fpmWm9wj8ONrbLMSssf0lSLGdlsNrhOSpG9VRnNxL9DFnSQV5ru sBAF/wyzR7kI4uaadLSJ0nYIbm6r0FTJ7Gb2RA0KRS+euVBPiHdKu5VgUzLW5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1783389440; 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; bh=aWWMryaTOex5BkxGW0aKZidiN3QS6iQOd72s61T0LUA=; b=O32s6Ha6wesijEseMK7h243wKShevr2tMm8pbmaiJPCprjXkBMQZTW3x5Al99B0SJpVmEw lbNlRhnLrC/F1sULfGsv44dqf6Uhv6nAIOpee1UjNSa4eWk9dYch3qUbzRA/9fErxwcRgy sUvFPkvCGr8fVyJRSZuoCVFaBc85tFMjwOpb/rZqt3uT9QMCr38b5fykzXIUd18FrAIrJt sP/jC5fT6MFCCyByYltMaPNwdUdj9Xr63xTx9khm1A6F1/BvpTNqfM6VLAZhwp/Ati3wV5 Y/iZXnKZNrx24u0DaEngj+qz/JofxYp1zrwmKr7itkNuAjL+TP1Th9Bn9EJE4A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gvPVm4QclzB0 for ; Tue, 07 Jul 2026 01:57:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 40a15 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 07 Jul 2026 01:57:20 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 1cced4932899 - main - pdfork.2: document EINVAL for pdwait(2) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1cced493289962858c961b06b161b44ca43e7ac7 Auto-Submitted: auto-generated Date: Tue, 07 Jul 2026 01:57:20 +0000 Message-Id: <6a4c5d00.40a15.5f256e13@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=1cced493289962858c961b06b161b44ca43e7ac7 commit 1cced493289962858c961b06b161b44ca43e7ac7 Author: Konstantin Belousov AuthorDate: 2026-05-20 02:05:02 +0000 Commit: Konstantin Belousov CommitDate: 2026-07-07 01:27:10 +0000 pdfork.2: document EINVAL for pdwait(2) Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D57124 --- lib/libsys/pdfork.2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/libsys/pdfork.2 b/lib/libsys/pdfork.2 index 3997570d2125..bf433509892a 100644 --- a/lib/libsys/pdfork.2 +++ b/lib/libsys/pdfork.2 @@ -232,6 +232,11 @@ The process descriptor being operated on has insufficient rights (e.g. .Dv CAP_PDKILL for .Fn pdkill ) . +.It Bq Er EINVAL +The +.Fn pdwait +function is called with reserved bits set in +.Fa options . .El .Sh SEE ALSO .Xr close 2 ,