You need to sign in or sign up before continuing.
提交 a20456ae 编写于 作者: H Hridya Valsaraju 提交者: 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: NHridya Valsaraju <hridya@google.com>
Acked-by: NStephen Smalley <sds@tycho.nsa.gov>
[PM: slight style changes to the subj/description]
Signed-off-by: NPaul Moore <paul@paul-moore.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册