summaryrefslogtreecommitdiff
path: root/tests/specs/run/ld_preload/set_with_allow_env.out
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-08-27 22:03:09 -0400
committerGitHub <noreply@github.com>2024-08-27 22:03:09 -0400
commit1a6fd38f2f7b016714ec313ce234fd5356aa956a (patch)
treef6452c1f7f5939ff12dc4a8b99890507a4079a63 /tests/specs/run/ld_preload/set_with_allow_env.out
parentb1b72a8a4943f9c40e253f243f9b77abf67b3faf (diff)
fix(permissions): disallow launching subprocess with LD_PRELOAD env var without full run permissions (#25221)
Ref https://github.com/denoland/deno/pull/25215 Closes https://github.com/denoland/deno/issues/11964
Diffstat (limited to 'tests/specs/run/ld_preload/set_with_allow_env.out')
-rw-r--r--tests/specs/run/ld_preload/set_with_allow_env.out4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/specs/run/ld_preload/set_with_allow_env.out b/tests/specs/run/ld_preload/set_with_allow_env.out
new file mode 100644
index 000000000..2e92763dd
--- /dev/null
+++ b/tests/specs/run/ld_preload/set_with_allow_env.out
@@ -0,0 +1,4 @@
+error: Uncaught (in promise) PermissionDenied: Requires --allow-all permissions to spawn subprocess with LD_PRELOAD environment variable.
+const output = new Deno.Command("echo").spawn();
+ ^
+ at [WILDCARD]