Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--criu/cgroup.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/criu/cgroup.c b/criu/cgroup.c
index d886ce9f2..6f6117c21 100644
--- a/criu/cgroup.c
+++ b/criu/cgroup.c
@@ -1303,6 +1303,10 @@ static int restore_perms(int fd, const char *path, CgroupPerms *perms)
return 0;
}
+/*
+ * Note: The path string can be modified in this function,
+ * the length of path string should be at least PATH_MAX.
+ */
static int restore_cgroup_prop(const CgroupPropEntry *cg_prop_entry_p, char *path, int off, bool split_lines,
bool skip_fails)
{