Skip to content

Commit

Permalink
Merge pull request #531 from giuseppe/label-cgrouptmpfs
Browse files Browse the repository at this point in the history
linux: label the cgroup v1 tmpfs
  • Loading branch information
giuseppe authored Oct 31, 2020
2 parents 219e41f + b3ac19b commit 55e2a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcrun/linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ do_mount_cgroup_v1 (libcrun_container_t *container, const char *source, int targ
if (UNLIKELY (subsystems == NULL))
return -1;

ret = do_mount (container, source, targetfd, target, "tmpfs", mountflags & ~MS_RDONLY, "size=1024k", LABEL_NONE, err);
ret = do_mount (container, source, targetfd, target, "tmpfs", mountflags & ~MS_RDONLY, "size=1024k", LABEL_MOUNT, err);
if (UNLIKELY (ret < 0))
return ret;

Expand Down

0 comments on commit 55e2a36

Please sign in to comment.