From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2C520C433E0 for ; Fri, 19 Mar 2021 21:00:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 097A76197E for ; Fri, 19 Mar 2021 21:00:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230483AbhCSVA3 (ORCPT ); Fri, 19 Mar 2021 17:00:29 -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== 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