summaryrefslogtreecommitdiff
path: root/security/smack
diff options
context:
space:
mode:
authorXiu Jianfeng <xiujianfeng@huawei.com>2022-09-08 13:35:43 +0300
committerCasey Schaufler <casey@schaufler-ca.com>2022-09-27 20:33:03 +0300
commitcc71271f5b793d619f8a7d2ef905374102533c75 (patch)
tree4601490296eb200cb0bcd53012e93cec68866840 /security/smack
parentd3f84f5c9627576b555976c7584514a2ca3ed02e (diff)
downloadlinux-cc71271f5b793d619f8a7d2ef905374102533c75.tar.xz
smack: cleanup obsolete mount option flags
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> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security/smack')
-rw-r--r--security/smack/smack.h9
1 files changed, 0 insertions, 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,