From 93edb36cbb653f8415d5c813e40ef21fed123417 Mon Sep 17 00:00:00 2001 From: Nicolas Lacasse Date: Fri, 29 May 2020 16:33:50 -0700 Subject: Refactor the ResolveExecutablePath logic. PiperOrigin-RevId: 313871804 --- pkg/sentry/fs/user/BUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pkg/sentry/fs/user/BUILD') diff --git a/pkg/sentry/fs/user/BUILD b/pkg/sentry/fs/user/BUILD index f37f979f1..bd5dac373 100644 --- a/pkg/sentry/fs/user/BUILD +++ b/pkg/sentry/fs/user/BUILD @@ -4,15 +4,20 @@ package(licenses = ["notice"]) go_library( name = "user", - srcs = ["user.go"], + srcs = [ + "path.go", + "user.go", + ], visibility = ["//pkg/sentry:internal"], deps = [ "//pkg/abi/linux", "//pkg/context", "//pkg/fspath", + "//pkg/log", "//pkg/sentry/fs", "//pkg/sentry/kernel/auth", "//pkg/sentry/vfs", + "//pkg/syserror", "//pkg/usermem", ], ) -- cgit v1.2.3