diff --git a/init/selinux.cpp b/init/selinux.cpp index e4da52c31..c0fc3ce49 100644 --- a/init/selinux.cpp +++ b/init/selinux.cpp @@ -434,12 +434,6 @@ void SelinuxRestoreContext() { selinux_android_restorecon("/dev/block", SELINUX_ANDROID_RESTORECON_RECURSE); selinux_android_restorecon("/dev/device-mapper", 0); - - selinux_android_restorecon("/sbin/mke2fs_static", 0); - selinux_android_restorecon("/sbin/e2fsdroid_static", 0); - - selinux_android_restorecon("/sbin/mkfs.f2fs", 0); - selinux_android_restorecon("/sbin/sload.f2fs", 0); } int SelinuxKlogCallback(int type, const char* fmt, ...) {