Commit a20456ae authored by Hridya Valsaraju's avatar Hridya Valsaraju Committed by Paul Moore

selinux: fix typo in filesystem name

Correct the filesystem name to "binder" to enable genfscon per-file
labelling for binderfs.

Fixes: 7a4b5194 ("selinux: allow per-file labelling for binderfs")
Signed-off-by: default avatarHridya Valsaraju <hridya@google.com>
Acked-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
[PM: slight style changes to the subj/description]
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 98aa0034
......@@ -698,7 +698,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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment