Revert "security: selinux: allow per-file labelling for binderfs"
Current androidQ build still does not support binderfs selinux policy, this will cause binderfs mount failed. Revert it for this release. Change-Id: Ice22179cade43a8929d8bfdbea710bb0e176a1a7 Signed-off-by: Lei wang <leiwan@codeaurora.org>
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
d11a014105
commit
0b168c7f2d
@@ -870,7 +870,6 @@ static int selinux_set_mnt_opts(struct super_block *sb,
|
||||
!strcmp(sb->s_type->name, "tracefs") ||
|
||||
!strcmp(sb->s_type->name, "sysfs") ||
|
||||
!strcmp(sb->s_type->name, "pstore") ||
|
||||
!strcmp(sb->s_type->name, "binder") ||
|
||||
!strcmp(sb->s_type->name, "cgroup") ||
|
||||
!strcmp(sb->s_type->name, "cgroup2"))
|
||||
sbsec->flags |= SE_SBGENFS;
|
||||
|
||||
Reference in New Issue
Block a user