Home
last modified time | relevance | path

Searched refs:CGROUPS_RC_PATH (Results 1 – 4 of 4) sorted by relevance

/system/core/libprocessgroup/cgrouprc/
Dcgroup_file.cpp39 unique_fd fd(TEMP_FAILURE_RETRY(open(CGROUPS_RC_PATH, O_RDONLY | O_CLOEXEC))); in LoadRcFile()
41 PLOG(ERROR) << "open() failed for " << CGROUPS_RC_PATH; in LoadRcFile()
46 PLOG(ERROR) << "fstat() failed for " << CGROUPS_RC_PATH; in LoadRcFile()
52 LOG(ERROR) << "Invalid file format " << CGROUPS_RC_PATH; in LoadRcFile()
58 PLOG(ERROR) << "Failed to mmap " << CGROUPS_RC_PATH; in LoadRcFile()
63 LOG(ERROR) << CGROUPS_RC_PATH << " file version mismatch"; in LoadRcFile()
70 LOG(ERROR) << CGROUPS_RC_PATH << " file has invalid size, expected " << expected in LoadRcFile()
/system/core/libprocessgroup/setup/
Dcgroup_map_write.cpp339 unique_fd fd(TEMP_FAILURE_RETRY(open(CGROUPS_RC_PATH, O_CREAT | O_WRONLY | O_TRUNC | O_CLOEXEC, in WriteRcFile()
342 PLOG(ERROR) << "open() failed for " << CGROUPS_RC_PATH; in WriteRcFile()
351 PLOG(ERROR) << "write() failed for " << CGROUPS_RC_PATH; in WriteRcFile()
359 PLOG(ERROR) << "write() failed for " << CGROUPS_RC_PATH; in WriteRcFile()
397 if (access(CGROUPS_RC_PATH, F_OK) == 0) { in CgroupSetup()
419 if (!Mkdir(android::base::Dirname(CGROUPS_RC_PATH), 0711, "system", "system")) { in CgroupSetup()
420 LOG(ERROR) << "Failed to create directory for " << CGROUPS_RC_PATH << " file"; in CgroupSetup()
429 LOG(ERROR) << "Failed to write " << CGROUPS_RC_PATH << " file"; in CgroupSetup()
434 if (fchmodat(AT_FDCWD, CGROUPS_RC_PATH, 0644, AT_SYMLINK_NOFOLLOW) < 0) { in CgroupSetup()
/system/core/libprocessgroup/include/processgroup/
Dprocessgroup.h37 static constexpr const char* CGROUPS_RC_PATH = "/dev/cgroup_info/cgroup.rc"; variable
/system/core/init/
Dinit.cpp509 make_dir(android::base::Dirname(CGROUPS_RC_PATH), 0711); in SetupCgroupsAction()