aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_test.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2022-07-20 10:26:22 +0200
committerDmitry Vyukov <dvyukov@google.com>2022-07-21 17:19:21 +0200
commit5e6028b9306a9f5357a0210d931efbb9365fb2d0 (patch)
tree5f41e78f483df5a9507af1440bc4af037ad1a15f /executor/executor_test.h
parent88250aee0f2ad81f49ea13da4410ceae261e3cfa (diff)
executor: fix mounting of cgroups on read-only fs
If root fs is read-only, mkdir(/syzcgroup) will fail and a later rmdir(/syzcgroup/unified) will fail with ENOENT which we don't expect and fail. Return early if mkdir(/syzcgroup) fails.
Diffstat (limited to 'executor/executor_test.h')
0 files changed, 0 insertions, 0 deletions