summaryrefslogtreecommitdiff
path: root/test/fixtures/policy/dep.js
diff options
context:
space:
mode:
authorBradley Farias <bradley.meck@gmail.com>2019-06-05 13:33:07 -0500
committerMichaƫl Zasso <targos@protonmail.com>2019-07-22 21:20:42 +0200
commit2eeb44f3facb58dacbcb2f270d4f169a2c81ee08 (patch)
treecb3ecdb07852362d181312eb6ffd204d86199b09 /test/fixtures/policy/dep.js
parentcf811ecd47cf2c4f5bec2b27577c6d414842b703 (diff)
downloadandroid-node-v8-2eeb44f3facb58dacbcb2f270d4f169a2c81ee08.tar.gz
android-node-v8-2eeb44f3facb58dacbcb2f270d4f169a2c81ee08.tar.bz2
android-node-v8-2eeb44f3facb58dacbcb2f270d4f169a2c81ee08.zip
policy: add policy-integrity to mitigate policy tampering
PR-URL: https://github.com/nodejs/node/pull/28734 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'test/fixtures/policy/dep.js')
-rw-r--r--test/fixtures/policy/dep.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/fixtures/policy/dep.js b/test/fixtures/policy/dep.js
new file mode 100644
index 0000000000..1c61a090d2
--- /dev/null
+++ b/test/fixtures/policy/dep.js
@@ -0,0 +1,2 @@
+'use strict';
+module.exports = 'The Secret Ingredient';