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

Commit a621953f authored by Tom Cherry's avatar Tom Cherry Committed by android-build-merger
Browse files

Merge "init: actually remount /sys when changing network namespaces" am: a8df2b95

am: f4657d4b

Change-Id: I7e35385c595e230b294df0e5c190ea2f03e09f28
parents 8f5a89f6 f4657d4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ Result<Success> Service::SetUpMountNamespace() const {
        if (umount2("/sys", MNT_DETACH) == -1) {
            return ErrnoError() << "Could not umount(/sys)";
        }
        if (mount("", "/sys", "sys", kSafeFlags, "") == -1) {
        if (mount("", "/sys", "sysfs", kSafeFlags, "") == -1) {
            return ErrnoError() << "Could not mount(/sys)";
        }
    }