summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/devtmpfs/BUILD
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2020-08-21 12:08:25 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-21 12:10:14 -0700
commit2c422b7f21b3503e9b1ab52bdf8f0de7fcf4b8ce (patch)
treed544118fed7f4d10406c0b329696278311681761 /pkg/sentry/fsimpl/devtmpfs/BUILD
parentc24db90be5cb4d81e71e7923fe85740721ec9d1e (diff)
Fix parent directory creation in CreateDeviceFile.
It was not properly creating recursive directories. Added tests for this case. Updates #1196 PiperOrigin-RevId: 327850811
Diffstat (limited to 'pkg/sentry/fsimpl/devtmpfs/BUILD')
-rw-r--r--pkg/sentry/fsimpl/devtmpfs/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/devtmpfs/BUILD b/pkg/sentry/fsimpl/devtmpfs/BUILD
index aa0c2ad8c..01bbee5ad 100644
--- a/pkg/sentry/fsimpl/devtmpfs/BUILD
+++ b/pkg/sentry/fsimpl/devtmpfs/BUILD
@@ -24,6 +24,7 @@ go_test(
library = ":devtmpfs",
deps = [
"//pkg/abi/linux",
+ "//pkg/context",
"//pkg/fspath",
"//pkg/sentry/contexttest",
"//pkg/sentry/fsimpl/tmpfs",