Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1718138pxf; Fri, 19 Mar 2021 14:03:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZ/wjgtWwd/gdFNLB6LfdwMVNwffqu/bdjKkxQ48h4tPKlvyKeaA6xh9Md32FL8IShAzof X-Received: by 2002:a17:906:86c1:: with SMTP id j1mr6713956ejy.373.1616187794153; Fri, 19 Mar 2021 14:03:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616187794; cv=none; d=google.com; s=arc-20160816; b=vcZ9D/rKLggteheZnZdq6KF8kRR8PbMEKWuZtypG8eaKyELXHSNfZYZmjmamCcvw1o XBmeELYH52Cs45bv55WCjaFmZrSQiOxJ9efzW7Jsk/+65wcTrkcXB0JVVa/LvdPvRY6T HlZ61MXpOKgApjktFILpd7buUnr+pJMbV8tTVqcI3cKGMVwmJtKZW3nQpI4i6plAPiGP 9qlgYymg29NcLNv+oNGJJ3cObp/tjd5or7/DgA3ILnWEomGN68fB4UrL/Jxi4wpzfmIo jMoHO3rL6P4HzCXEkJkgnEtMGjoxuzvm5r70Pxf/rPoLn+w4ou4TzSiHCE2E9bWAQn36 c6GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=R60AP60V2kz7hrS0egyPxzSWXihY0y0rcsGnLyWuyZE=; b=xHEgbYowsD9LsOxIqodOnYkUt0nnIOSid2u/tfyheRSUkJ7Vr9X+OOcOjBC/n7WggU 0iEcwdGTMOSmrKh5+C91fe3y0kJk2creAqYtJBYDf2exqIdqHCFjxTtQMVoC2Bh7tNLq 0TnfFOQlXFD3X1CrswHM6v1tWQMwQYeSxh8OmywFAW3iWQJj/IbZXRwf7OAz5E5SblHH 96lb2yeHmctyihDNPXaLd4I/TbTTcnPgtwj0aAj8LP7AVFlx3TdeKr1aDx/edbkwY0lK JYfjh4av4aJQqk/TKjp2EcTdwfTq3TDwF8d5A/BlglOGJ5IavDmoauHx6iYOSOpqdPB1 KDhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DTt5nmkC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jx25si5020473ejc.382.2021.03.19.14.02.51; Fri, 19 Mar 2021 14:03:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=DTt5nmkC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230433AbhCSVA2 (ORCPT + 99 others); Fri, 19 Mar 2021 17:00:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:35316 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230468AbhCSVAJ (ORCPT ); Fri, 19 Mar 2021 17:00:09 -0400 Received: by mail.kernel.org (Postfix) with ESMTPS id 293FB61985; Fri, 19 Mar 2021 21:00:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616187609; bh=51n7YqRNqtrHEAhT7dY3yOWsbSFEncOCiAugh/aBHv4=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=DTt5nmkCdLw1vFCF1mM58mAc/YYVnrdH0dTAP3Ta/eRBwyjnDkZYk/xpd5pm6IN1L YMG5XIdu5gZpOCTuB3lRNyP8Cf185krpkajiEH07DtnlRIX583BZdmI40HLjKKb0Ol xWEB9881UZGvtP5z9zaMM3Hiz4n66jT6Nuh7lNeO9jKfkhn4JFlEA4WemxYmgZAqwP 18FkKLpwfmjxkFyxuXd7TspMvTrjLGW38B2cSDMpIT6aBxQoXmQwKbLesce9n++7Oy 3lCABg+jG138J5Iypx9Gs2Fxw9MXKkgaR4LlmhxDPfQcvjhxH2k9KwlW2j72bm7ClG VWQEpjzxRKVrQ== Received: from pdx-korg-docbuild-2.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by pdx-korg-docbuild-2.ci.codeaurora.org (Postfix) with ESMTP id 1E796626EF; Fri, 19 Mar 2021 21:00:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] selinux: vsock: Set SID for socket returned by accept() From: patchwork-bot+netdevbpf@kernel.org Message-Id: <161618760912.12397.14174236493108534163.git-patchwork-notify@kernel.org> Date: Fri, 19 Mar 2021 21:00:09 +0000 References: <20210319130541.2188184-1-dbrazdil@google.com> In-Reply-To: <20210319130541.2188184-1-dbrazdil@google.com> To: David Brazdil Cc: selinux@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, paul@paul-moore.com, stephen.smalley.work@gmail.com, eparis@parisplace.org, jeffv@google.com, adelva@google.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to netdev/net.git (refs/heads/master): On Fri, 19 Mar 2021 13:05:41 +0000 you wrote: > For AF_VSOCK, accept() currently returns sockets that are unlabelled. > Other socket families derive the child's SID from the SID of the parent > and the SID of the incoming packet. This is typically done as the > connected socket is placed in the queue that accept() removes from. > > Reuse the existing 'security_sk_clone' hook to copy the SID from the > parent (server) socket to the child. There is no packet SID in this > case. > > [...] Here is the summary with links: - [v2] selinux: vsock: Set SID for socket returned by accept() https://git.kernel.org/netdev/net/c/1f935e8e72ec You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html