diff options
-rw-r--r-- | criu/cgroup.c | 4 |
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) { |