From nobody Sat Nov 18 09:02:42 2023 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 4SXSTZ6Wjrz50lK5; Sat, 18 Nov 2023 09:02:42 +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 4SXSTZ3vKgz3Xyg; Sat, 18 Nov 2023 09:02:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700298162; 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=r6HQPRxh3ZEjM9Kthk889hF/0jD22uJD/RJMaITnDOI=; b=AIypVRu/w1XqUdik45DO7DTr0sGG3X3NeVLXr1aBBiamu6OQ2vM50p9DtB+J9F2sRhzlnY qq4/8m4HbLOm1G/z3KQ/0LiZiV82SmBs63cEnKGStmOPuTa0aQ9hRWoSxussLPXSHJaGnE mS7yBzqNpCHR69HpBX8dImHuRrk/OW98b9iF/jFxYadk6kkxwqrAG9XPQyFIMgc5BSFp7T GJ4bJulkbuV5/I+04mDUrDeTyiioBgIVWT7XQUZc1FVoV9SOjgr/sr54BDT3/0eFzxDC9E Tq/3GShW9Z0ZWJCmV78HNmPBcHd32/7YpsK3sOyZ7BjBZ0apqvgu9YNSMsbO0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700298162; 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=r6HQPRxh3ZEjM9Kthk889hF/0jD22uJD/RJMaITnDOI=; b=VpKMFPl8oPUG2Yxx9hO6CRgbyX6XrSDGGkYn18DgOadvUBNhj9Voqk+vfcmizog+JG76yc Ryru0rbtG0YQ0mLQlrrCC14VDWDED06HXfrDgpVEAv/bV6pHaqXLitI+NDPUN0k05mokOB AGJeSOV5DGs0ESNd0jl6DTeabxlFK52aJgw5jwZZTe44XGzmblLnbWodS4obX4uSni4ycf R+lEnuRKsAlLzNGT9morJDu6DY/HhJmv/xMhmGECOKzasQcIuLBKQgzH7l1YGtwZ2yHfMO B3VqmB/3wd/DEVvKc8WF2Ngi/SLSJfTNAcFoUwF6QT42TkPYtbL7eKxKXm7ttg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700298162; a=rsa-sha256; cv=none; b=rxoXQ3PyZf8swFTvGEJyXCB2CO2hDqkuqeHC8N2BIPNROYCoDyTlxljXIcqhEIipsZKv47 1aZZZ2h0xe39XXJaoTA58DhzeAKBAavGIC00D9L5irT67Yc9NUUtKQlG9tmuWccM5RRE2p HhSJ9+AixNKxEVg81WGYo4/DkUjfVBLH2OlX/OiQ1WmPwk47Jn/55PfPrDt+WslyGNSXSI O8saPu8Sg0/YbUAKdghZGX7RrtVu8MxVq+3R8GWMqCVAClJCclsCCytas8jHNVplZNTeZy 4YuZO5RZTtUXZEc5YTcQtRzPklflVk682TOJsXuxrCxbizJpuuHZS82XO2R4Zw== 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 4SXSTZ304Tz5XB; Sat, 18 Nov 2023 09:02:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3AI92gD0080161; Sat, 18 Nov 2023 09:02:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3AI92g3o080158; Sat, 18 Nov 2023 09:02:42 GMT (envelope-from git) Date: Sat, 18 Nov 2023 09:02:42 GMT Message-Id: <202311180902.3AI92g3o080158@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gordon Bergling Subject: git: fa9f74220146 - main - getpeerid.3: Clarify the 's' argument 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: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fa9f74220146233b7224da7c94870540dc39ae68 Auto-Submitted: auto-generated The branch main has been updated by gbe: URL: https://cgit.FreeBSD.org/src/commit/?id=fa9f74220146233b7224da7c94870540dc39ae68 commit fa9f74220146233b7224da7c94870540dc39ae68 Author: Gordon Bergling AuthorDate: 2023-11-18 09:02:12 +0000 Commit: Gordon Bergling CommitDate: 2023-11-18 09:02:12 +0000 getpeerid.3: Clarify the 's' argument The argument 's' of getpeerid(3) must be a connected UNIX-domain socket, so document it. PR: 248614 MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D42629 --- lib/libc/gen/getpeereid.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/gen/getpeereid.3 b/lib/libc/gen/getpeereid.3 index 204dec041d8f..8e3b763f716a 100644 --- a/lib/libc/gen/getpeereid.3 +++ b/lib/libc/gen/getpeereid.3 @@ -23,7 +23,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd November 28, 2022 +.Dd November 16, 2023 .Dt GETPEEREID 3 .Os .Sh NAME @@ -44,7 +44,7 @@ peer connected to a socket. The argument .Fa s -must be a +must be a connected .Ux Ns -domain socket .Pq Xr unix 4