Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7714030rwd; Tue, 6 Jun 2023 15:18:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ73/lREnw3PSdEWSlX9WvtaQQJml+4E+HFIocXS0ui1luKqmPmn5o5wTbLktRYIpOIOUHa7 X-Received: by 2002:a17:902:c405:b0:1b2:3d45:73ad with SMTP id k5-20020a170902c40500b001b23d4573admr1170982plk.3.1686089899231; Tue, 06 Jun 2023 15:18:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686089899; cv=none; d=google.com; s=arc-20160816; b=uzodVIHfgAaz0L1UqySfsHx2qUJA6PJLZngCfPhmpE9cHOOeICjFUVBMVu5vqiRtum TsZXLPzGsImwrRX0LAVQXJJv0L5G1ZGCGpFW90c8rZX9lSlKyAj7sBDEPDisPq4Fii09 0Kt4Qb4h8JJQQBTvU7phaGGkikq7sPERuUGdHc2BPOnxl4eEsh5Po9gc1VzoGPkDgk2b 3zR/Hc1h74bw/ucMmfOM8df9eErkOKsVdE10NOItUfBlgBCxNDeM2K2rUH1diX1oxZff HV6RVpZkldZkHPaKX0Xl1fZwkVKeYgs0IcnHKYJczDZJOMYXb0k6dmU+tiiRO9vDpvJ6 /sFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=39uw5j5XuTGu9DjyN0cv5Al3Po6ZxhAFPhk3sdMi2Fw=; b=JHqgfaoLMNci2XGAXFFljpAFLjv25yNtoEffLGb1Rq0YsAy9iNH4uvw7wqwqbj0iAT RK1Ggs71jkt+H/ZVBqsijTIsCEopCXGwNCCp5Nb6cnbrlPw9cuTgjYtKnuAuGl80VzTI YVEuac5szBmZZx+lBho2lAYQ0CwKCtLRSD6m6cI+diDnFl9kf/3R3i6E8OLJVG1/aQpH dIsnEcMX8Q3QHBZZzhjW9lUOV7fJar5/ByGPSdV8eHN5h6rh9csxPQP1BfHSIaK4iKj8 bf7lnv4y6p8cPjKwZCyxriXNUE8/bRQha3j2kFPHMxoIrWDbNWa6m+0hitCTcOi/hHRz crPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=DKJQTgOo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ju1-20020a170903428100b001afb1e9b2dfsi7601471plb.484.2023.06.06.15.18.07; Tue, 06 Jun 2023 15:18:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=DKJQTgOo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237958AbjFFVNk (ORCPT + 99 others); Tue, 6 Jun 2023 17:13:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233902AbjFFVNj (ORCPT ); Tue, 6 Jun 2023 17:13:39 -0400 Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42D471720 for ; Tue, 6 Jun 2023 14:13:38 -0700 (PDT) Received: by mail-yb1-xb33.google.com with SMTP id 3f1490d57ef6-ba81ded8d3eso7932925276.3 for ; Tue, 06 Jun 2023 14:13:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1686086017; x=1688678017; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=39uw5j5XuTGu9DjyN0cv5Al3Po6ZxhAFPhk3sdMi2Fw=; b=DKJQTgOo05HezKqlZ9DS24TwMox0bUnFdDpVF3dgI7CN2ObBD3SaEYsbUktmTDW3nM cHhKGrXhZu1KqsaCP9jnv0Bp34rx+PYS100YfKOKjM4mxA02CdLOte/kP9xZfzXsU7Jr TVsk8/Y9qLEb8qdVpsBs1+1hJa/fIPVVsmVwSC5ndAVa7wzGueVULvzXn1GP/M9Y8MiN qDmSp76aEitGo90Zj5XHY850+R8ZbbjUNosIBlhmd+7ntSi4yOLtYtjUq1hxRFx85V8u f4aBwZg4fN7Z3DJuHteCJdtybkK6yfduBhNRkpMcRce73D+gy8uTl0/tRwQ7+GYiVlCC vHzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686086017; x=1688678017; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=39uw5j5XuTGu9DjyN0cv5Al3Po6ZxhAFPhk3sdMi2Fw=; b=E82T6qoy/vdMGGA8rDEro85stFADra8ZaHpETh9hoil4dSYhpYEi3wWfNMD0iNZnFa 7b8nHj50xkHSvMgU2ibW33G4q6nddTOjysvWM3deLDrD5jHm6yXOXpXvW4pV9np+cM4R tQIID0ItvHef2PqR4+GSN+2fzcVV3AcSlTPcqQmAY8JhgeoeiLx0EIFV51oGag7T3upz 8yx6d9+ZYlBn+AZKIVy0LLM5hZeKbZtOdi0oRf4Dqan5CpYmSgsxEp9IQhyw6I12FayE JNUfpWLDWbCmH86DQQ1dAmfWRqJZkbYXOPjCXMdU31BKybeyGgdqsf1K+nJIu9Nvddn3 V7ew== X-Gm-Message-State: AC+VfDzqKsQha4bIU7bDa3IZKD1VnOgyXTzlOd4nAQYGWXmzYZqpt6+n dRLGglHThpRWUyAHyM/ed0M108imTbMCQfsFp5MzDuzTE+WBK+4= X-Received: by 2002:a25:a007:0:b0:ba8:620b:38a7 with SMTP id x7-20020a25a007000000b00ba8620b38a7mr3428219ybh.53.1686086017436; Tue, 06 Jun 2023 14:13:37 -0700 (PDT) MIME-Version: 1.0 References: <20230503064344.45825-1-aleksandr.mikhalitsyn@canonical.com> In-Reply-To: From: Paul Moore Date: Tue, 6 Jun 2023 17:13:26 -0400 Message-ID: Subject: Re: [PATCH v2] LSM: SafeSetID: fix UID printed instead of GID To: Aleksandr Mikhalitsyn Cc: mortonm@chromium.org, penguin-kernel@i-love.sakura.ne.jp, James Morris , "Serge E. Hallyn" , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 6, 2023 at 2:50=E2=80=AFPM Aleksandr Mikhalitsyn wrote: > On Thu, May 18, 2023 at 8:59=E2=80=AFPM Paul Moore = wrote: > > On Wed, May 3, 2023 at 2:44=E2=80=AFAM Alexander Mikhalitsyn > > wrote: > > > > > > pr_warn message clearly says that GID should be printed, > > > but we have UID there. Let's fix that. > > > > > > Found accidentaly during the work on isolated user namespaces. > > > > > > Signed-off-by: Alexander Mikhalitsyn > > > --- > > > v2: __kuid_val -> __kgid_val > > > --- > > > security/safesetid/lsm.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > I'm assuming you're going to pick this up Micah? > > > > Reviewed-by: Paul Moore > > Dear Paul! > > Thanks for your review! > > Gentle ping to Micah Morton :-) Micah? The right thing would be for Micah to merge this via the SafeSetID tree, however, considering that it's been over a month with no response, and this patch looks trivially correct, I can pick this up via the LSM tree if we don't see anything from Micah this week. --=20 paul-moore.com