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

Commit 8f3d2669 authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge changes from topic "libprocessgroup_rc"

am: 25d42eea

Change-Id: I73dab7acb0ae8359572c25e2138e11609d5878ef
parents 4e52c76d 25d42eea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -359,7 +359,7 @@ static Result<Success> SetupCgroupsAction(const BuiltinArguments&) {
    // Have to create <CGROUPS_RC_DIR> using make_dir function
    // for appropriate sepolicy to be set for it
    make_dir(android::base::Dirname(CGROUPS_RC_PATH), 0711);
    if (!CgroupSetupCgroups()) {
    if (!CgroupSetup()) {
        return ErrnoError() << "Failed to setup cgroups";
    }

+1 −1
Original line number Diff line number Diff line
@@ -277,7 +277,7 @@ CgroupDescriptor::CgroupDescriptor(uint32_t version, const std::string& name,
}  // namespace cgrouprc
}  // namespace android

bool CgroupSetupCgroups() {
bool CgroupSetup() {
    using namespace android::cgrouprc;

    std::map<std::string, CgroupDescriptor> descriptors;
+1 −1
Original line number Diff line number Diff line
@@ -16,4 +16,4 @@

#pragma once

bool CgroupSetupCgroups();
bool CgroupSetup();