Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp859574ybv; Wed, 5 Feb 2020 16:06:56 -0800 (PST) X-Google-Smtp-Source: APXvYqx22WhpyPas2lWBkGY41KZrwZVc3mQqHm4rGAPleHP481V34cpkAwFhGE/QyfYTXYq9Tf47 X-Received: by 2002:a05:6808:ab1:: with SMTP id r17mr4793089oij.141.1580947616624; Wed, 05 Feb 2020 16:06:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580947616; cv=none; d=google.com; s=arc-20160816; b=F24Ui24mMZw7UG5Ntz6Wl0YfC3mrfxxRgy+LBfNozSvRF+cgN3DnyqWx69gjb+nGvM +Rqps1g3FTJjqeuTSUFmYPEuIuVLE9MepLj+LyAbRTXFBA8t3M80xiekuVocxZzy+9Oj C1XpKYDSrjTrve07/vOiqEswKblGQ8HYBiUpshqEr+oOYrzyk+qHRJ+RaE5jImfYDtiN /v81q3eL3uzrP3cYLwrSe7Ck3v/6wlEJW+FhCRQzfTuOpEvBOWY5T0eyCy7Z3p7jF44u dfBIzN/X//Pm0Mnbjk9eTcUlP6RUwv1tQf0AseFBme9ryK8qkS7NmeBIeHADioqMgktT Dn5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=/m+6/gHtitRcFwDRfgIzzOezx3KJKRXU/a2k3eD85GU=; b=E3niW0+S3sStXZeXrrJw293i7mWWz2A2kpKAD8zeblH4A9EnAxjYdcH4togPilwK4f +VmUg6TKpmQBmeXVRnw65IgXI2651TFW/3huAjPWGG69HK+l/W84QoMbonGBPS0X1WHb 3O2SEjJ4PuR0pqS3uUQ4nO1PYl+rJ9A8u1Djj8BgjmlGnDHPlBEExKup3PGD3t13AJOW y5zJaWiEQy1zMJTnoIa9FcPoixiSTkTgIOt3X5dbtIi9+a0wKyxRueB3v1ld9ML9/iBz mboPamr0c6X2NkMe8Fm7kZCMAYuL7xA1qZ5krfHgMV02wTgfqu7lx49IKiqXPC1fsdvw DMFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=FLa7puDp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b25si719635otp.212.2020.02.05.16.06.43; Wed, 05 Feb 2020 16:06:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=FLa7puDp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727577AbgBEXxJ (ORCPT + 99 others); Wed, 5 Feb 2020 18:53:09 -0500 Received: from mail-qv1-f65.google.com ([209.85.219.65]:36250 "EHLO mail-qv1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727149AbgBEXxJ (ORCPT ); Wed, 5 Feb 2020 18:53:09 -0500 Received: by mail-qv1-f65.google.com with SMTP id db9so2030013qvb.3 for ; Wed, 05 Feb 2020 15:53:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/m+6/gHtitRcFwDRfgIzzOezx3KJKRXU/a2k3eD85GU=; b=FLa7puDpv4wlbq05A10ZykfGH59L4UeD7CB9/Lf0OsX0XtUrdga2W2J0Q+VZk30wad oiE997YzvsAZQ2T79shfFhO2SvlFt/d+QfpgrTkPRValXuFvVw2LepfnACEwPO5Gyiph nos0QgbV/Y5frbDSa+0I1SXBgT4/2IWYpNCWdK8KdLShiuvNp75XJ6p3dm8xuH3/Fzrq 8iX7HE8qv1+8grJip7uVWB1mMVU6vTmswrGHASeYxQanYvqlSsO3qK5rUyF9L1iNO+FT 19RjBaO6LHwteGx1OxLouGE98zrOZhI9QrZ1lN4WtgcQUH94krDgJj7Udw/IN/Ji+d/W LyDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/m+6/gHtitRcFwDRfgIzzOezx3KJKRXU/a2k3eD85GU=; b=FJwbvMYETP4YhMsG2lHzE0sCXNJmYMZWut29avVBlPrPkK7ts++1saE05uSVdjJjQ2 UMaIlTfpSOXALvOrsOjZhQKklhVkouIzFPtKD7b1YynEVuFHlXWS9ZZaxhHfCTVlxomp tbLOjf5s5cmPc0IOWs+jSwFnjqs+UlmK8bCGExaMxRfSR7Af5hQfyFIW9Q3cxP1uFO+Q AOHG6NjdN/PcMrFylzjNVC79hlSVhEC+XkLSE++7F9XdGXIeIe/RgyBtDEoA8O+7SO/k qgdooBUV/OKw9AZPYQ1JAiN8Tz/2dakST+eYdTPi80rwc8m8Y+DL8ww7MWZoXOoujCwp UaKQ== X-Gm-Message-State: APjAAAX/6ARsdI39acDhdl17caEcRzVJk6+qXDr8H8GcF2xAJ8LaKwUv U5LqErNuocqlaLc8M1PDsnjHy1iwjm57rnBltoGJkQ== X-Received: by 2002:a0c:cdcb:: with SMTP id a11mr165374qvn.244.1580946787002; Wed, 05 Feb 2020 15:53:07 -0800 (PST) MIME-Version: 1.0 References: <20200202014624.75356-1-hridya@google.com> In-Reply-To: From: Hridya Valsaraju Date: Wed, 5 Feb 2020 15:52:30 -0800 Message-ID: Subject: Re: [PATCH] selinux: Fix typo in filesystem name To: Paul Moore Cc: Stephen Smalley , Eric Paris , Jeff Vander Stoep , Mark Salyzyn , selinux@vger.kernel.org, LKML , Android Kernel Team Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 5, 2020 at 3:28 PM Paul Moore wrote: > > On Sat, Feb 1, 2020 at 8:46 PM Hridya Valsaraju wrote: > > > > Correct the filesystem name to "binder" to enable > > genfscon per-file labelling for binderfs. > > > > Fixes: 7a4b5194747 ("selinux: allow per-file labelling for binderfs") > > Signed-off-by: Hridya Valsaraju > > --- > > > > Hello, > > > > I seem to have made the typo/mistake during a rebase. Sorry about that > > :( > > > > Thanks, > > Hridya > > > > security/selinux/hooks.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Ooops :/ > > Thanks for the fix. I've merged this into selinux/stable-5.6, but due > to some personal scheduling issues on my end I'm going to refrain from > sending this to Linus until next week. Thank you Paul and Stephen! Regards, Hridya > > > diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c > > index 89fe3a805129..d67a80b0d8a8 100644 > > --- a/security/selinux/hooks.c > > +++ b/security/selinux/hooks.c > > @@ -699,7 +699,7 @@ static int selinux_set_mnt_opts(struct super_block *sb, > > > > if (!strcmp(sb->s_type->name, "debugfs") || > > !strcmp(sb->s_type->name, "tracefs") || > > - !strcmp(sb->s_type->name, "binderfs") || > > + !strcmp(sb->s_type->name, "binder") || > > !strcmp(sb->s_type->name, "pstore")) > > sbsec->flags |= SE_SBGENFS; > > > > -- > > 2.25.0.341.g760bfbb309-goog > > -- > paul moore > www.paul-moore.com