All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] smack: cleanup obsolete mount option flags
@ 2022-09-08 10:35 Xiu Jianfeng
  2022-09-12 17:00 ` Casey Schaufler
  0 siblings, 1 reply; 2+ messages in thread
From: Xiu Jianfeng @ 2022-09-08 10:35 UTC (permalink / raw)
  To: casey, paul, jmorris, serge; +Cc: linux-security-module, linux-kernel

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>
---
 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,
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] smack: cleanup obsolete mount option flags
  2022-09-08 10:35 [PATCH -next] smack: cleanup obsolete mount option flags Xiu Jianfeng
@ 2022-09-12 17:00 ` Casey Schaufler
  0 siblings, 0 replies; 2+ messages in thread
From: Casey Schaufler @ 2022-09-12 17:00 UTC (permalink / raw)
  To: Xiu Jianfeng, paul, jmorris, serge
  Cc: linux-security-module, linux-kernel, casey

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,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-12 17:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08 10:35 [PATCH -next] smack: cleanup obsolete mount option flags Xiu Jianfeng
2022-09-12 17:00 ` Casey Schaufler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.