summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2019-12-06 17:45:01 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2020-02-07 20:48:36 +0100
commit96cafb9ccb153f6a82ff2c9bde68916d9d65501e (patch)
tree80cd952c6140a5b61bdf69531849db2413f26c4a /security
parentadd prefix to fs_context->log (diff)
downloadlinux-96cafb9ccb153f6a82ff2c9bde68916d9d65501e.tar.xz
linux-96cafb9ccb153f6a82ff2c9bde68916d9d65501e.zip
fs_parser: remove fs_parameter_description name field
Unused now. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security')
-rw-r--r--security/selinux/hooks.c3
-rw-r--r--security/smack/smack_lsm.c1
2 files changed, 1 insertions, 3 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 116b4d644f68..54f34631bc16 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -2818,7 +2818,6 @@ static const struct fs_parameter_spec selinux_param_specs[] = {
};
static const struct fs_parameter_description selinux_fs_parameters = {
- .name = "SELinux",
.specs = selinux_param_specs,
};
@@ -7145,7 +7144,7 @@ static __init int selinux_init(void)
else
pr_debug("SELinux: Starting in permissive mode\n");
- fs_validate_description(&selinux_fs_parameters);
+ fs_validate_description("selinux", &selinux_fs_parameters);
return 0;
}
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c
index ecea41ce919b..646c0b4aa8c4 100644
--- a/security/smack/smack_lsm.c
+++ b/security/smack/smack_lsm.c
@@ -689,7 +689,6 @@ static const struct fs_parameter_spec smack_param_specs[] = {
};
static const struct fs_parameter_description smack_fs_parameters = {
- .name = "smack",
.specs = smack_param_specs,
};