aboutsummaryrefslogtreecommitdiff
path: root/host/commands/process_sandboxer/policies.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/commands/process_sandboxer/policies.cpp')
-rw-r--r--host/commands/process_sandboxer/policies.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/host/commands/process_sandboxer/policies.cpp b/host/commands/process_sandboxer/policies.cpp
index f9777e8c3..e2339967f 100644
--- a/host/commands/process_sandboxer/policies.cpp
+++ b/host/commands/process_sandboxer/policies.cpp
@@ -37,6 +37,11 @@ std::unique_ptr<sandbox2::Policy> PolicyForExecutable(
builders[JoinPath(host.artifacts_path, "bin", "logcat_receiver")] =
LogcatReceiverPolicy;
+ // TODO(schuffelen): Don't include test policies in the production impl
+ builders[JoinPath(host.artifacts_path, "testcases", "process_sandboxer_test",
+ "x86_64", "process_sandboxer_test_hello_world")] =
+ HelloWorldPolicy;
+
if (auto it = builders.find(executable); it != builders.end()) {
return (it->second)(host).BuildOrDie();
} else {