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.cpp314 unique_fd fd(TEMP_FAILURE_RETRY(open(CGROUPS_RC_PATH, O_CREAT | O_WRONLY | O_TRUNC | O_CLOEXEC, in WriteRcFile()
317 PLOG(ERROR) << "open() failed for " << CGROUPS_RC_PATH; in WriteRcFile()
326 PLOG(ERROR) << "write() failed for " << CGROUPS_RC_PATH; in WriteRcFile()
334 PLOG(ERROR) << "write() failed for " << CGROUPS_RC_PATH; in WriteRcFile()
372 if (access(CGROUPS_RC_PATH, F_OK) == 0) { in CgroupSetup()
394 if (!Mkdir(android::base::Dirname(CGROUPS_RC_PATH), 0711, "system", "system")) { in CgroupSetup()
395 LOG(ERROR) << "Failed to create directory for " << CGROUPS_RC_PATH << " file"; in CgroupSetup()
404 LOG(ERROR) << "Failed to write " << CGROUPS_RC_PATH << " file"; in CgroupSetup()
409 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.cpp507 make_dir(android::base::Dirname(CGROUPS_RC_PATH), 0711); in SetupCgroupsAction()