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

Commit 4c4b3088 authored by Pawit Pornkitprasan's avatar Pawit Pornkitprasan
Browse files

ueventd: restorecon sysfs files

Allow cpufreq governor tuning files to be labelled correctly after
switching governor.

Change-Id: I3e0fd310aaacbb4e647e42597d38040774257955
parent 40cde7bc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -148,6 +148,7 @@ void fixup_sys_perms(const char *upath)
        INFO("fixup %s %d %d 0%o\n", buf, dp->uid, dp->gid, dp->perm);
        chown(buf, dp->uid, dp->gid);
        chmod(buf, dp->perm);
        restorecon(buf);
    }
}