diff options
author | RafaelGSS <rafael.nunu@hotmail.com> | 2023-03-06 13:45:07 -0300 |
---|---|---|
committer | RafaelGSS <rafael.nunu@hotmail.com> | 2023-03-07 13:07:20 -0300 |
commit | b164038c863dd226a4c943148d94c3b14df8c550 (patch) | |
tree | c50cc0a871a7b4e7fc2e45770a4b1a421333632d /benchmark | |
parent | 0c4f8f255aa4a39b0aa66a9f1004c8ee6d29dfa4 (diff) | |
download | node-new-b164038c863dd226a4c943148d94c3b14df8c550.tar.gz |
permission: fix spawnSync permission check
Fixes: https://github.com/nodejs-private/node-private/issues/394
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com>
PR-URL: https://github.com/nodejs/node/pull/46975
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <rlau@redhat.com>
Diffstat (limited to 'benchmark')
-rw-r--r-- | benchmark/fs/readfile-permission-enabled.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/benchmark/fs/readfile-permission-enabled.js b/benchmark/fs/readfile-permission-enabled.js index 3053d5aa08..08ac831cd7 100644 --- a/benchmark/fs/readfile-permission-enabled.js +++ b/benchmark/fs/readfile-permission-enabled.js @@ -19,7 +19,12 @@ const bench = common.createBenchmark(main, { len: [1024, 16 * 1024 * 1024], concurrent: [1, 10], }, { - flags: ['--experimental-permission', '--allow-fs-read=*', '--allow-fs-write=*'], + flags: [ + '--experimental-permission', + '--allow-fs-read=*', + '--allow-fs-write=*', + '--allow-child-process', + ], }); function main({ len, duration, concurrent, encoding }) { |