Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp8594606rwd; Tue, 20 Jun 2023 18:03:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ66G26OcC96od3DMBB+hhYC+bP5zBi2Nzsm8mLhLftKgsan7GGb3sgORuy8x9jcOSEMP8nJ X-Received: by 2002:a05:6358:e914:b0:130:ea1a:608f with SMTP id gk20-20020a056358e91400b00130ea1a608fmr4954885rwb.15.1687309437266; Tue, 20 Jun 2023 18:03:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687309437; cv=none; d=google.com; s=arc-20160816; b=LYtYhZ71YkiQKn4VuOBPZwrnT06FmKuNCnWR7QGKB70O4NjN0dBC2pQD24d9XK2zUT UaQUSs7TNkvh6JhY4NaC82DjX+PDjxinfMRSv5w2lBO6y5LJZos2JkleXOcC0F5Rym+1 VpxtswW8pOejuC9K+fD7u2yFTNTIloApao7RqNDiBWWF//i8OHxFfFq9GvAdV+AQjKLg 2lPu0kMXGmXXoku6hoKR5rL8FMqVdXL+Gk7xMm6r0beDg3MaOcASOJgdPAiFQRQi6J2s oXASHmLdRuDpbV4ZMUJHLRusqxaTLPR5Li8jH4drWAgjpuJC+7s+wKi2nrPM1XARYoJ7 4cjQ== 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=wwNTCKmMgvc2nJrRbHQLKCJs8IWViNUrZIuXoDpTgTc=; b=gzetjhI4FK0tKzTJ4IRau0zjWjhm+VM/F5PgdIgoSMdt6dAzBKuSG41eu8QGkCeRaU cw2AyNawFGkgKoQKXJf+7LvTl/J8/fvbpGGsJcAGrZA39jDGKwr/x7HGBSs1MNgFPSh2 bH93Zuu4oEiWDqPj3HPejHlXXfdNx/kwnD5gS2WjvQul3dOmSscZe3FFRbZaeVriIqga 4s1OC1ER5SExb7hXJOaVUOR5yrU60SSONMbeCHjEXi69cwoFvGWcdFkZGdaZJFJWYh70 6Y8+UqqITKuf3vL+eFfYSdjez1vGUlsfFPTGWd4SeLa0BpztuWjAOjUEAbGKXFCkogBw MJsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b=KTmlRfuz; 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 g127-20020a636b85000000b00543c1b14062si2722493pgc.79.2023.06.20.18.03.45; Tue, 20 Jun 2023 18:03:57 -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=KTmlRfuz; 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 S229765AbjFUAaR (ORCPT + 99 others); Tue, 20 Jun 2023 20:30:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229585AbjFUAaP (ORCPT ); Tue, 20 Jun 2023 20:30:15 -0400 Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DCC1173F for ; Tue, 20 Jun 2023 17:30:13 -0700 (PDT) Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-570114e1feaso61043407b3.3 for ; Tue, 20 Jun 2023 17:30:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1687307412; x=1689899412; 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=wwNTCKmMgvc2nJrRbHQLKCJs8IWViNUrZIuXoDpTgTc=; b=KTmlRfuzVHIbYKZsvQLka9gLQySta0BOsnWVzXbzSnYvXPJU0KIm66yUCFPGxaZw25 DyXgWr9lVvf7IGSkSclDGTE5/uJoOODbYkzbzOJ/axO7oRKNLDv9dS8oqiSwOiGqrVsr XfzrrTlBEKdZeBl+J7CvitUn/fmkBtkSHRFYMtXiSKNwdyYiC0So4dM+1qDyLfBDfZJH ElPVu0BH1ZudgbRubnO4XBx0TQLp6MQ2F+YofaVxyxrgcRMvFO7a38/xPVMC9SGAgDSm 485l4OVgxNlSf7u/pz9cTeG0hiL9f7EfvSWqGht0XOfBH339WJkhjKQfSFNw/V1HwCki R3Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687307412; x=1689899412; 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=wwNTCKmMgvc2nJrRbHQLKCJs8IWViNUrZIuXoDpTgTc=; b=AhvGiwC6mwWChTEWxrLn63z+udRFTHlZCmIjcT8tvDUarNCwuv7a8VwUBFO9S8U7F7 /Kn6Dl9I2n/EnUyg4IiqLo+7QfRn6Rk/vhqptMRAWDUWXqjuFhzXMpSBacUJf3dHWFaI nGxqugL473xNzDzNMfbpKaEnN3gPrTuE5vdD2o7ZfXAoogteBKAol6BeNh+tIYCJO9Jr Ag1S5OywFQGrtZLtWIHNSeIj+xoAgdbmBMIKVKsDQYm3puuskwr9LZ8LkOwJF0xzaDUh Upy1hqAratXUPqX2WThutecLHsZYAguzXZ/59Q54Hclhjop9t7DriR87NNx570KbLPdy 7eWQ== X-Gm-Message-State: AC+VfDxx3WopGdLI9McQQR6gRnbhsjLIUE89MfDZPEH7GGjNyaQDl0qb 6XrYqzrAST39/JCY0Dv803QVI360pkqx4sLbVRmR X-Received: by 2002:a81:c24b:0:b0:567:7db6:3d48 with SMTP id t11-20020a81c24b000000b005677db63d48mr15278626ywg.12.1687307412295; Tue, 20 Jun 2023 17:30:12 -0700 (PDT) MIME-Version: 1.0 References: <20230503064344.45825-1-aleksandr.mikhalitsyn@canonical.com> In-Reply-To: From: Paul Moore Date: Tue, 20 Jun 2023 20:30:01 -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=unavailable 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 Thu, Jun 8, 2023 at 2:34=E2=80=AFPM Paul Moore wro= te: > On Tue, Jun 6, 2023 at 5:13=E2=80=AFPM Paul Moore w= rote: > > 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. > > Searching through all of the archives on lore I don't see any email > from Micah past August of 2022. I'll still stick to the plan of > merging this via the LSM tree next week if we don't see any response > from Micah, but beyond this patch we may need to consider the > possibility that Micah has moved on from SafeSetID. > > * https://lore.kernel.org/all/?q=3Df%3Amortonm%40chromium.org This fell through the cracks in my inbox last week, but I just went ahead and merged this into lsm/next. After the upcoming merge window closes we'll have to revisit SafeSetID's status as "supported", we might need to demote it to "maintained" or "odd fixes". --=20 paul-moore.com