From nobody Sat Jan 22 00:50:28 2022 X-Original-To: dev-commits-src-all@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 0702C1976BEC; Sat, 22 Jan 2022 00:50:30 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jgd2Y2Dwpz3pyC; Sat, 22 Jan 2022 00:50:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642812629; 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=rIl61TRWxk/z3LYLiMt0V3SsIxU0sOMGi7D1r2ciyIU=; b=etRNvCiIOHjVwL01NZZieKBc2hRYDoiPWOtH5EShIYljPoFEFFQMoAGQKKXgyrd+bhpBJU kGNO1Rsd6KSMVtqA7YI0jPeilA6ERKyoNaS0qRGB1cXR3tcRCvFYI114J2fF5WIPnajU0k cvgYIo8vyOEoOeBXieAt89+INLQXk3qCk0iexissmYlek2QMhCDtMN4tIEY/wZhY0YbndB jvijMbeKCoXuhaEigC7F4p2ghkPrNvEKgEOlfozDgUFeSsCUHQqATUl6FisP7E6utOgLow 3SG+8C/dW5CYh7fM0FPtzOYGJbosGImLjIXCJh8cqaiGp/ALUWqK5NhlMuQLXw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 D74C125B20; Sat, 22 Jan 2022 00:50:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20M0oShK099624; Sat, 22 Jan 2022 00:50:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20M0oSCa099623; Sat, 22 Jan 2022 00:50:28 GMT (envelope-from git) Date: Sat, 22 Jan 2022 00:50:28 GMT Message-Id: <202201220050.20M0oSCa099623@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 7a6364ac7733 - stable/13 - kqueue(2): Add note about format of the data for NOTE_EXIT List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org 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/13 X-Git-Reftype: branch X-Git-Commit: 7a6364ac7733bb3225285cdbd3119d124a56a802 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642812629; 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=rIl61TRWxk/z3LYLiMt0V3SsIxU0sOMGi7D1r2ciyIU=; b=ERtbMMWmT8+YdbWO7+5VAb0NdKaZEnxrxeDZN5RDOa6A1UekCAuruqxUUMzphgKGPGqwVj qFim5bg337jHIOFetN1T4piFYxcWquVtcgFZ546GPRTRm1x5hST4S8gIo4QpESuR5nC1kc IAzE4JLH7cm28Lk3psbviGfBBgDD/HzPdvW8qgubR0fcpAmqvAO1fCWbWCF3B9//yuzzht UdEg+W8GnFtjsMgyNiFftDtF71GPrHov7ZosxeE7wp3YON+AeCi3GqYMyALnDaHhbEb835 jUPDF4Dz/bc1SAFfin3+aCSGgDHds379IEo1yrGeLnj/q2hQPEAJ3p/HKRLP7A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642812629; a=rsa-sha256; cv=none; b=ZgUE3IXx7Mp+YF4PbfurK7EifdGl9Ez3OfjPJScM/4op6fp/tlS9mBYthz5bPM8buximPo 9irv4i7OYWlhBo8z7j4DNoI+71JFKbvmsRQ7pUUvstZma617SPaTAmsiLz7jS6lht7im3x 7fp2FEh6lJJq13ICvRYCgPSW/pNOTKaPFnUOQO/Ng7hYdybELjnPHDbmuY3+WDu+6YJg1U foBKMrwMzeG1vUI2E5qhDtRNYP6pcfCC6zArSSAlQfsA7dvpC0+Sn/DXIDFLHIdPTYgVfY 3xrvaeNm+FV7Qj+KGAf/A4DiniqZBxRFIDGrIikPFPxvtf1sjcX7QZjAFUnOGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7a6364ac7733bb3225285cdbd3119d124a56a802 commit 7a6364ac7733bb3225285cdbd3119d124a56a802 Author: Konstantin Belousov AuthorDate: 2022-01-19 22:35:09 +0000 Commit: Konstantin Belousov CommitDate: 2022-01-22 00:50:23 +0000 kqueue(2): Add note about format of the data for NOTE_EXIT PR: 261346 (cherry picked from commit 7406ec4ea99c1c61e88d5c98c58094093b9e78fb) --- lib/libc/sys/kqueue.2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/libc/sys/kqueue.2 b/lib/libc/sys/kqueue.2 index ffcddc00303f..c9dc6bfb3faa 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 6, 2021 +.Dd January 20, 2022 .Dt KQUEUE 2 .Os .Sh NAME @@ -458,7 +458,9 @@ The events to monitor are: .It Dv NOTE_EXIT The process has exited. The exit status will be stored in -.Va data . +.Va data +in the same format as the status returned by +.Xr wait 2 . .It Dv NOTE_FORK The process has called .Fn fork .