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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;