mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Casey Schaufler <casey@schaufler-ca.com>
To: Xiu Jianfeng <xiujianfeng@huawei.com>,
	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
Subject: Re: [PATCH -next] smack: cleanup obsolete mount option flags
Date: Mon, 12 Sep 2022 10:00:43 -0700	[thread overview]
Message-ID: <17db01f1-0e53-fd25-d5ca-622003ddd42c@schaufler-ca.com> (raw)
In-Reply-To: <20220908103543.194119-1-xiujianfeng@huawei.com>

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 <xiujianfeng@huawei.com>

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,

      reply	other threads:[~2022-09-12 17:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-08 10:35 Xiu Jianfeng
2022-09-12 17:00 ` Casey Schaufler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17db01f1-0e53-fd25-d5ca-622003ddd42c@schaufler-ca.com \
    --to=casey@schaufler-ca.com \
    --cc=jmorris@namei.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=paul@paul-moore.com \
    --cc=serge@hallyn.com \
    --cc=xiujianfeng@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®