selinux: Fix typo in filesystem name
PATCH 1/1 selinux: Fix typo in filesystem name
Correct the filesystem name to "binder" to enable
genfscon per-file labelling for binderfs.
---
Hello,
I seem to have made the typo/mistake during a rebase. Sorry about that :(
Thanks,
Hridya
security/selinux/hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
security/selinux/hooks.c +1 -1
@@ -699,7 +699,7 @@ static int selinux_set_mnt_opts(struct super_block *sb,if (!strcmp (sb->s_type->name,"debugfs" ) || !strcmp (sb->s_type->name,"tracefs" ) || - !strcmp (sb->s_type->name,"binderfs" ) || + !strcmp (sb->s_type->name,"binder" ) || !strcmp (sb->s_type->name,"pstore" )) sbsec->flags |=SE_SBGENFS ;
Signature · 1 line
2.25.0.341.g760bfbb309-goog
Quoted 5 lines · Hridya Valsaraju
Correct the filesystem name to "binder" to enable
genfscon per-file labelling for binderfs.Fixes 7a4b5194747 ("selinux: allow per-file labelling for binderfs")Signed-off-by Hridya Valsaraju <[email protected]>
Quoted 27 lines
---
Hello,
I seem to have made the typo/mistake during a rebase. Sorry about that :(
Thanks,
Hridyasecurity/selinux/hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)security/selinux/hooks.c +1
-1@@ -699,7 +699,7 @@ static int selinux_set_mnt_opts(struct super_block *sb,if (!strcmp (sb->s_type->name,"debugfs" ) || !strcmp (sb->s_type->name,"tracefs" ) || - !strcmp (sb->s_type->name,"binderfs" ) || + !strcmp (sb->s_type->name,"binder" ) || !strcmp (sb->s_type->name,"pstore" )) sbsec->flags |=SE_SBGENFS ;
Paul Moore
maintainerQuoted 10 lines · Hridya Valsaraju
Correct the filesystem name to "binder" to enable
genfscon per-file labelling for binderfs.Fixes 7a4b5194747 ("selinux: allow per-file labelling for binderfs")Signed-off-by Hridya Valsaraju <[email protected]>---
Hello,
Quoted 8 lines
I seem to have made the typo/mistake during a rebase. Sorry about that :(
Thanks,
Hridyasecurity/selinux/hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Ooops :/
Thanks for the fix. I've merged this into selinux/stable-5.6, but due to some personal scheduling issues on my end I'm going to refrain from sending this to Linus until next week.
Quoted 15 lines
security/selinux/hooks.c +1
-2@@ -699,7 +699,7 @@ static int selinux_set_mnt_opts(struct super_block *sb,if (!strcmp (sb->s_type->name,"debugfs" ) || !strcmp (sb->s_type->name,"tracefs" ) || - !strcmp (sb->s_type->name,"binderfs" ) || + !strcmp (sb->s_type->name,"binder" ) || !strcmp (sb->s_type->name,"pstore" )) sbsec->flags |=SE_SBGENFS ; --2.25.0.341.g760bfbb309-goog
Signature · 2 lines
paul moore www.paul-moore.com
Quoted 18 lines · Paul Moore
Quoted 16 lines · Hridya Valsaraju
Correct the filesystem name to "binder" to enable
genfscon per-file labelling for binderfs.Fixes 7a4b5194747 ("selinux: allow per-file labelling for binderfs")Signed-off-by Hridya Valsaraju <[email protected]>---
Hello,
I seem to have made the typo/mistake during a rebase. Sorry about that :(
Thanks,
Hridya
Quoted 8 lines
Quoted 2 lines
security/selinux/hooks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Ooops :/
Thanks for the fix. I've merged this into selinux/stable-5.6, but due to some personal scheduling issues on my end I'm going to refrain from sending this to Linus until next week.
Thank you Paul and Stephen!
Regards,
Hridya
Quoted 20 lines
Quoted 15 lines
security/selinux/hooks.c +1
-2@@ -699,7 +699,7 @@ static int selinux_set_mnt_opts(struct super_block *sb,if (!strcmp (sb->s_type->name,"debugfs" ) || !strcmp (sb->s_type->name,"tracefs" ) || - !strcmp (sb->s_type->name,"binderfs" ) || + !strcmp (sb->s_type->name,"binder" ) || !strcmp (sb->s_type->name,"pstore" )) sbsec->flags |=SE_SBGENFS ; --Quoted 1 line
2.25.0.341.g760bfbb309-goog
--
paul moore
www.paul-moore.com