From nobody Sun Aug 16 02:46:56 2026 X-Original-To: dev-commits-src-branches@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 4hN0jX5SXfz6pH4W for ; Sun, 16 Aug 2026 02:46:56 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hN0jX35Qxz3fGl for ; Sun, 16 Aug 2026 02:46:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786848416; 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=v7fA58sCUaZ039xNEUo1KiNYC16rgTofDiDNX2Ob0ao=; b=tCbrO9RYBk/XVKKYhPWxJwH3nBGz4hdt3224CT/L6Qj1+wRhJD/kknMEVSEhiD104GvAz/ us9wukOPU4yQenb/iijVnX7yYpu9s9y0MFD0brFRyOzkirLl+J2sFZf5LZNiRrhEgw1Kkq 91xKVmk6rp2LYGRUrnNJ34fnak2u+3KYtzw1vDU2dYSaEttHKmloh4AsK0QXOGoKdoRm1a 5T56UkS5hWEFm3z16u5WRwHxUHaJyDP6A1SUNsu6SVE+Oi064OVWdDe3xf33Ufmwq2uWfG oyhhSK3tcpwTWMLMtrJPPlM1cUWVBi5eGmU5PaCOyqBss0jAaOJ7HQf1VPiEQA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786848416; a=rsa-sha256; cv=none; b=hr2e6MzlAS8OeVbqoMnC6JP0ITji1FeysGM4kShc0zxaemOg8B9vvOAMPhjSvSpN0eYD6k jYMmJv1c7/nB3x7ddvfSO3jGcqSuy6GU4EnIVRx/NlKx/S/ES2c1WtC9jxEZpRmtaFHbRT BDzY8mcuo0+IB7BqOISLlSu7QiSlGNIWpEPPIK9Z+TjGywDj4nAF5p55smPjbxzIGIeArl wUVbe5h5Ox42wGCkLY524gPd5D91gmVHAWScMF/dXlYvqdgM+69xxjuu/wamK/miznc4+d 2gnbWMc0r8pncqjWxQOxu5a1sejHkOh7er5Vn8Wce4MO9FBdWrQBWx1bzHN6MQ== 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=1786848416; 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=v7fA58sCUaZ039xNEUo1KiNYC16rgTofDiDNX2Ob0ao=; b=hyGTDuRLr12NFLqlyOfif8DZE+BpKrecQHbWXzuqgg9FDYhh2p4XGGVFjxs5N5m9UKvc4I 6l+mCSFVDLJsUr7CuSv1SInr7NLu9qKR1iuCT8DDpl/yX3vbQwH+rnAit/c7zKeBCt4PZ9 53XddngH1gBCOD4yhPX8SSXex7UEE2xzePI3ryLp/MEVtrkXAl90qeOjNXaZZRRMwrEStC HCnqdzDKWcYXPqS5I9k4+7S0DZdYc+FIog4SCGYVqusx5TS8i5dZ3EJ3A/oeFhfs6S+CQR 0yvdeMpF+t0YI0fn0Giz7QU+wwukPiR/5Q1j8KF75MK+Ky3IX8GtrCoAnb1KfQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hN0jX1xdRz18Bm for ; Sun, 16 Aug 2026 02:46:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 4432b by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Sun, 16 Aug 2026 02:46:56 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 74141b7e1ec2 - stable/15 - kqueue.2: document NOTE_PDSIGCHLD List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/15 X-Git-Reftype: branch X-Git-Commit: 74141b7e1ec2c61fc6a8877428d912204f139ce3 Auto-Submitted: auto-generated Date: Sun, 16 Aug 2026 02:46:56 +0000 Message-Id: <6a8124a0.4432b.74b7419@gitrepo.freebsd.org> The branch stable/15 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=74141b7e1ec2c61fc6a8877428d912204f139ce3 commit 74141b7e1ec2c61fc6a8877428d912204f139ce3 Author: Konstantin Belousov AuthorDate: 2026-07-10 15:26:50 +0000 Commit: Konstantin Belousov CommitDate: 2026-08-16 02:41:29 +0000 kqueue.2: document NOTE_PDSIGCHLD (cherry picked from commit 4cd67a0eea4eba63cf50a45a4665d8700df8d188) --- lib/libsys/kqueue.2 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/libsys/kqueue.2 b/lib/libsys/kqueue.2 index 9bba53b31f72..5e0b80280a81 100644 --- a/lib/libsys/kqueue.2 +++ b/lib/libsys/kqueue.2 @@ -593,11 +593,19 @@ to monitor as the identifier and the events to watch for in and returns when the associated process performs one or more of the requested events. The events to monitor are: -.Bl -tag -width "Dv NOTE_EXIT" +.Bl -tag -width "Dv NOTE_PDSIGCHLD" .It Dv NOTE_EXIT The process has exited. The exit status will be stored in .Va data . +.It Dv NOTE_PDSIGCHLD +Activates on events that are reported through +.Xr pdwait 2 +on the process descriptor. +After the event is reported, the +.Xr pdwait 2 +can be called to obtain the information about the process +status change. .El .Pp On return,