Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb1ec435 authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "init: Remove the obsolete restorecon for /sbin files." am: 60fc9997 am: 34a080bf

am: 7fc71186

Change-Id: I9d332a8d7e975a3452678c198df96c544853caad
parents 02a1186d 7fc71186
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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, ...) {