mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-30 05:21:57 +00:00
cg: path buffer should be PATH_MAX long
Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
parent
95e689db42
commit
37cf27d33e
1 changed files with 1 additions and 1 deletions
2
cgroup.c
2
cgroup.c
|
|
@ -859,7 +859,7 @@ static int move_in_cgroup(CgSetEntry *se)
|
|||
pr_info("Move into %d\n", se->id);
|
||||
cg = get_service_fd(CGROUP_YARD);
|
||||
for (i = 0; i < se->n_ctls; i++) {
|
||||
char aux[1024];
|
||||
char aux[PATH_MAX];
|
||||
int fd, err, j, aux_off;
|
||||
CgMemberEntry *ce = se->ctls[i];
|
||||
CgControllerEntry *ctrl = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue