Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp5550030rwn; Mon, 12 Sep 2022 10:37:28 -0700 (PDT) X-Google-Smtp-Source: AA6agR6XvRx2wle4Rq9UXLSLrSxdrwigtKOOgrx3jd16iSLRHiKi4n3gp1W0C4DmIlECWX28sN7X X-Received: by 2002:a17:90b:17cf:b0:202:95a2:e310 with SMTP id me15-20020a17090b17cf00b0020295a2e310mr17222285pjb.76.1663004248183; Mon, 12 Sep 2022 10:37:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663004248; cv=none; d=google.com; s=arc-20160816; b=pWRXd/Z2Ne2ZwZQ0fzAbMwzSGXGYDEBlBPPlVXr5qn2gw1MRZklF7H94fuNOUKjwDc cqE87rOext2jWTmpHP6fzzX0taquOt6dKDmqDp7JtgDY30s2NDSDvgrgPWLUdgXwjd+a 2JEJ/leANjcF8EGaHE+qBNWZHK6LgkpZnAXy5NJVpN6/6gN/aEzvsDDfZvNjXkUOU+cr e38RE2qcTU5lPrsFmMfOp0vDYrf36JtzE89PwTUZoPZEXY8Xq8hJtwG1oFjgJ0x/EOnv x6LjSCvzzCA3yw4uZ5GtYJUxbL2z05CwFbRJcC6eWCD8EA790pncO+GqRDlOpG7nqqg7 KptA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ckBjboIVh0Q6F+6MBN6ivt6Hs6U64FQ9jBkEGYilDW8=; b=JgZQ3L6/Am0UFe1KQOwcrJoJPtRRIoCHK2GVe79ie592fJYdtJ6KPu+bN3sw6NvPrV qGHf18G2hGiV4+8TK7fgfu+uvSo0cutjGgJWaT7RRpWhKRnI4OYCFKrZitbG3xnaD0i+ JQO1uaTKq31RxFZaEMwdei8CGTT9/UqHuhk4I6dQM6+uJy92c6l+VO6PWioGjr4TrEcs xo0pGpKl9g7kVUbLh3t5jMfUUv0x4NoYRDKRM5DQn3ziS34oetv/F2wUNrybt/xQHtMK WSKFTK99LguI5N9Ynaoee2R74xOjxX0pifzTeBvUgDQLoDy75RpxBHCgRbzWQABM3XZH 9Gcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yahoo.com header.s=s2048 header.b=odx5qo06; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q17-20020a63f951000000b0042b9ca6a71dsi10166112pgk.211.2022.09.12.10.37.10; Mon, 12 Sep 2022 10:37:28 -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=@yahoo.com header.s=s2048 header.b=odx5qo06; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229897AbiILRAx (ORCPT + 99 others); Mon, 12 Sep 2022 13:00:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbiILRAu (ORCPT ); Mon, 12 Sep 2022 13:00:50 -0400 Received: from sonic304-27.consmr.mail.ne1.yahoo.com (sonic304-27.consmr.mail.ne1.yahoo.com [66.163.191.153]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C88E2CE0B for ; Mon, 12 Sep 2022 10:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1663002045; bh=ckBjboIVh0Q6F+6MBN6ivt6Hs6U64FQ9jBkEGYilDW8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From:Subject:Reply-To; b=odx5qo06fvrtHyzydca/AWkJ1R6UV2wFH4jl2IJjgegXwW/fU1UmerXcs8h2ccF9Gj4lCVLVo8YnKOzHPkco/v56hnThyEGeIHA1ja6qDz6eUSzU3lgjvjOHzA/oNnmt7+HykElPXmIaY3S4kdkcnZ1GcFvlGLFw3/CMJI5+on0HQyT1PEP2ybCwYU9+rVoVXYbCKyx/ZCSMtkKg6hr32/l1M7FRaGFHZ8hsoBuq5YQ5LqVvAI0Hknt7+4gc12O2jfz8J4o+qw6IhxnAFNqzj2wFYUMZ+65s638aGwBFFk210+PrTM3WF09io6GL+L0LeHUWW2bqAqOSHVqyToFPMA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1663002045; bh=aG6rhbGYPe0YFvAkpDSh3kf6mgyLWoypelj6mWT1T1n=; h=X-Sonic-MF:Date:Subject:To:From:From:Subject; b=fTTjVCU36IRBN/O+qJkkqS/pKYk0lIDxa9vJ8g3WrIlDt9Q3g3zvKa9LXFHCkQ0c4WKxN6MlVNlM4eMIgV4DTKprHAHrfZ+LOpHHNRBkz0NwacNdZj4XntxpAxJFcEJHa0oWsD/W7IJ3TXWUUdnQM4EZuCxwRqgIkE/6M018ieh/MhYjcqEHMp6NTS8yNgO/dUo7agtEWOpSCQVm36vgZLkyI7U1YcDaqaRbaVF8rz2cLN2uHgoHkJcerENdORs/fykL4LqqgsmjKugLs2RqakZ23JZuw1s+rDhQ2Fkx/pSZ8BkANgs6HOVo1Q6GKFvpVxBja7SUnbf/fGqbdAtAvQ== X-YMail-OSG: PCsNdiYVM1lrIDVLvZPkzaT2.9_QyUlvFzSVAd_z6nfN0yG_95FtyZAQAYlbtGb XYZGBKSvMe68DntkPDlbADUDYwyhT6nnhu3u8ETBO6T2i2ALctWXRdt.rKTH2hb1n4ajPc2ND6Zd 3TW8mMW3M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g-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Mon, 12 Sep 2022 17:00:45 +0000 Received: by hermes--production-gq1-5499fdd576-49dgt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 76ca5a0e9518c55aee3f067fe815d5c1; Mon, 12 Sep 2022 17:00:42 +0000 (UTC) Message-ID: <17db01f1-0e53-fd25-d5ca-622003ddd42c@schaufler-ca.com> Date: Mon, 12 Sep 2022 10:00:43 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH -next] smack: cleanup obsolete mount option flags Content-Language: en-US To: Xiu Jianfeng , paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com Cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, casey@schaufler-ca.com References: <20220908103543.194119-1-xiujianfeng@huawei.com> From: Casey Schaufler In-Reply-To: <20220908103543.194119-1-xiujianfeng@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: WebService/1.1.20612 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 9/8/2022 3:35 AM, Xiu Jianfeng wrote: > These mount option flags are obsolete since commit 12085b14a444 ("smack: > switch to private smack_mnt_opts"), remove them. > > Signed-off-by: Xiu Jianfeng Added to https://github.com/cschaufler/smack-next#next. Thank you. > --- > security/smack/smack.h | 9 --------- > 1 file changed, 9 deletions(-) > > diff --git a/security/smack/smack.h b/security/smack/smack.h > index fc837dcebf96..e2239be7bd60 100644 > --- a/security/smack/smack.h > +++ b/security/smack/smack.h > @@ -180,15 +180,6 @@ struct smack_known_list_elem { > struct smack_known *smk_label; > }; > > -/* Super block security struct flags for mount options */ > -#define FSDEFAULT_MNT 0x01 > -#define FSFLOOR_MNT 0x02 > -#define FSHAT_MNT 0x04 > -#define FSROOT_MNT 0x08 > -#define FSTRANS_MNT 0x10 > - > -#define NUM_SMK_MNT_OPTS 5 > - > enum { > Opt_error = -1, > Opt_fsdefault = 0,