From nobody Wed Jan 19 22:37:41 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 8C6AE196375F; Wed, 19 Jan 2022 22:37:41 +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 4JfLBF3YCmz3Pyk; Wed, 19 Jan 2022 22:37:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642631861; 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=HU9yttATY6fVLy4q7d+YvN3n08+5V/SwRuej8kwisp4=; b=j8aAODhVhmAEE4SSQbdSnP+LezqVJVyZMyag1LbKO9uYdxIUraPZtPH8XlsvzN4F7qkRNu f86AqaJOaYXrryZ4hE70uLBl3SPOhnSc+4aF2KPmqJa7hbAVibAE26yFurXaw8MiyHQDTW zHU8yPDQQo7gp7sjUmy7kvlc1RMjxLKJKM1ncvE/KmOP/m/Kkk8P83vU1WvCEie8TYMIAP XpR+toIOvRb4ebJ+k6Xd8ygtFVP/jDnSn7nUhIxEQOK4Et9x/0iQB7jdo3UDDnhI9NFY1R CY+PxEagOgkiGb8O13NjN4+Mf2Pos6oS1Z3EgFZmveOKwujl3w2ATklemHnOpQ== 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 55F791D241; Wed, 19 Jan 2022 22:37:41 +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 20JMbfs4066358; Wed, 19 Jan 2022 22:37:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20JMbfEE066357; Wed, 19 Jan 2022 22:37:41 GMT (envelope-from git) Date: Wed, 19 Jan 2022 22:37:41 GMT Message-Id: <202201192237.20JMbfEE066357@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 7406ec4ea99c - main - 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/main X-Git-Reftype: branch X-Git-Commit: 7406ec4ea99c1c61e88d5c98c58094093b9e78fb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642631861; 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=HU9yttATY6fVLy4q7d+YvN3n08+5V/SwRuej8kwisp4=; b=ZYuKMBut0vT/lX242F9ozw4C5griVeQfCenL9OnwfAJiYLMvaEGxMzaEMS2jnez+Pc117K geeIcaVgGRD16zDvMSMRb2qRYn/Rr+QWAwaBj8kIXjcIPG18ygfJyqjNOSWfy/HJiYRW/H 5uhECcpAvq0qZoX4hXwyC8mCmKgeo4aYWtRctSXC4AZ/ovGRUAJSdrmhFE+atDT7w4Nbu1 nAPS91yDvqVnvhUtbTeStkKwc27n1t44IhlEj+xVqMQK2hvkh1fkGeVcOyjWjJpBHggXCb hFGMN1PJ0XosNT++5LHbyLsx3obB0hOaqctpUwljLPd/3F9FYUYG+Rzr05YNzA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642631861; a=rsa-sha256; cv=none; b=TImxITcjJdGx2DSHK8oMZrXZW/0+AFdo4c3oYk92y2LXnm6NzF1Rt/eMf7e08lzwKigo9j bpCRHdfvgnDBmfNiiw5Cs+A2B51PDrHhEWTa0pbGfDkkmSqAmdbpZ3fw4WzTeTym9AM+R2 3OI9Au1H9UqYRDhEJck+8G0FdxLvVmJcn+D4R8bMlazhhlYsrTGDxoumqQs6D9QlpwEPs6 NNnmtqbH4oOvFixftU4UMuqaxr+fI0kC/HRk8BxSKrGTXszAOJExYvTIAZb1xTucdvJg0+ wB4x9nYOLVCYuBwUnQinwd0zYJMhprIWInidIKIFSIGanpCntLsCBNU7qFM3vQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7406ec4ea99c1c61e88d5c98c58094093b9e78fb commit 7406ec4ea99c1c61e88d5c98c58094093b9e78fb Author: Konstantin Belousov AuthorDate: 2022-01-19 22:35:09 +0000 Commit: Konstantin Belousov CommitDate: 2022-01-19 22:37:25 +0000 kqueue(2): Add note about format of the data for NOTE_EXIT Noted by: Dave Baukus PR: 261346 MFC after: 3 days Sponsored by: The FreeBSD Foundation --- 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 afa1dc5dcb4a..8ba1779c5551 100644 --- a/lib/libc/sys/kqueue.2 +++ b/lib/libc/sys/kqueue.2 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 12, 2021 +.Dd January 20, 2022 .Dt KQUEUE 2 .Os .Sh NAME @@ -479,7 +479,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 .