From nobody Fri Aug 19 22:31:12 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 4M8c0w2v8Tz4ZM8t; Fri, 19 Aug 2022 22:31:12 +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 4M8c0w2T10z3qj6; Fri, 19 Aug 2022 22:31:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660948272; 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=LqcRR0xQlBvsLRp3Bu4f/g8KsvKp4YqKusZmEDKySsM=; b=uQBlp/gL2GJy6E4GEoMONqJH36bF8NVieEDAjwMRAZgh/k3AZHplKYd1i/4ydbhV7HafG2 xUgnv+1UG+2HvGwFPV0JKOm7QI8uDaS4XVCJnp82c2aCnnQVQWxFt67sdQfC66Ef02/VOQ A/4nywl5mT2ulANWWHtbfSEhe6LZZmwKEj3rt2nA3HU+58Ob1RcQ+q3Z+Fk3CE86AfIPpd MyNyGqXSSayXPCRKvqCR+Aa7PLN8Ucqs6EVA8pp/iLJ34qeR4bEi4ijqDEDxrvwrqKLNRy ypG3hF6hW4TyBJPuASmtKj5UHtMNbAGcQ/v81SbvjBuuy0zaH7tcEeo39nEU0g== 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 4M8c0w1Wt2z18Bg; Fri, 19 Aug 2022 22:31:12 +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 27JMVCc5077605; Fri, 19 Aug 2022 22:31:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27JMVCHw077604; Fri, 19 Aug 2022 22:31:12 GMT (envelope-from git) Date: Fri, 19 Aug 2022 22:31:12 GMT Message-Id: <202208192231.27JMVCHw077604@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alan Somers Subject: git: 673bca7e765e - stable/12 - [skip ci] unix(4): LOCAL_PEERCRED works on SOCK_SEQPACKET, too. 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: asomers X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 673bca7e765e15440bdf52ead53af7e2e6a84303 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660948272; 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=LqcRR0xQlBvsLRp3Bu4f/g8KsvKp4YqKusZmEDKySsM=; b=lcUbPnF907HpW8+43zx/4C7Da31fCinOrfl7gGcGPTUdN2JgQ/5lfbWSQIc/7FSNFXp9Wq YaYvbopu5EzZZ+OLP8d5xjVzj8CHQjRk7c6RiTwQdi2XlyQ9Y8lfKlwsNUZ8eCKj+r9yjU rJlPEaiTVk3eR/YoyVh7ITMmp4zJGRFYIXizyYEii0BseLZETsBXREouLrLDrLN2fPwjUq Ul0pQWgI/qT92JCiaaU33HyVbqhVEWo52/9rN3p9t+3amFbxr+tZ3pSsNlAirE2rn1KMIe Y8AtJ4gVrpZ0lTa8hXvTeLx4PGW/fYbtt1uHL5B39MvPdNLyCbgINjfD1dpUzA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660948272; a=rsa-sha256; cv=none; b=cxRbdnutn0BMWRkvuZQ137vsZnWAE/xDYBT3U9zRfyTqaCoFxPmmoSTCzFwLh7tRTYRzwk n3ba1e7Nz93KaIRe31pSddwd/QdG/H25HMihUnD/5TLWLMfaFmkXJrj5p+RxZ5tsikH/IJ wkGn1qSFIjGe2OzHteMD0XoL5Pw8sySWxlnFiyD0t+OC7A6wbPXgQhYTVn/+o5sUZwLqqM 2f1pURtlMP7UMzC+5Q5wlMw6nGFGRE78/5i92IdZeqTCxPGj3RgA9D+QKYiQ4Fl7u4C/vv MitQqbkUiHA2zgwKwL6RbDnngB9fsbE3z8Sr1xfTbgys9KrvC9LM9/2hSUkiVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by asomers: URL: https://cgit.FreeBSD.org/src/commit/?id=673bca7e765e15440bdf52ead53af7e2e6a84303 commit 673bca7e765e15440bdf52ead53af7e2e6a84303 Author: Alan Somers AuthorDate: 2021-08-10 13:29:06 +0000 Commit: Alan Somers CommitDate: 2022-08-19 22:30:47 +0000 [skip ci] unix(4): LOCAL_PEERCRED works on SOCK_SEQPACKET, too. Reviewed By: dchagin Differential Revision: https://reviews.freebsd.org/D31456 (cherry picked from commit 518e697f2accf3769dc986e254a4c79db7ec5a06) --- share/man/man4/unix.4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/share/man/man4/unix.4 b/share/man/man4/unix.4 index 569e6dd25208..1a8954e717f7 100644 --- a/share/man/man4/unix.4 +++ b/share/man/man4/unix.4 @@ -28,7 +28,7 @@ .\" @(#)unix.4 8.1 (Berkeley) 6/9/93 .\" $FreeBSD$ .\" -.Dd August 3, 2020 +.Dd August 7, 2021 .Dt UNIX 4 .Os .Sh NAME @@ -300,6 +300,8 @@ Requested via .Xr getsockopt 2 on a .Dv SOCK_STREAM +or +.Dv SOCK_SEQPACKET socket returns credentials of the remote side. These will arrive in the form of a filled in .Vt xucred