From 780fdfdfa911894ad93220577948888ba8061ff5 Mon Sep 17 00:00:00 2001 From: RafaelGSS Date: Wed, 24 Apr 2024 13:32:45 -0300 Subject: [PATCH 1/2] doc: mention pm is not enforced when using fd --- doc/api/permissions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/permissions.md b/doc/api/permissions.md index 296d0263feef81..dcbf06584ca006 100644 --- a/doc/api/permissions.md +++ b/doc/api/permissions.md @@ -580,6 +580,8 @@ There are constraints you need to know before using this system: not subject to the rules of the Permission Model. * OpenSSL engines cannot be requested at runtime when the Permission Model is enabled, affecting the built-in crypto, https, and tls modules. +* The Permission Model is not upheld when utilizing existing file descriptors + via the `node:fs` module. #### Limitations and Known Issues From c8391d1e915673817f317ddaab37ca7bf5487e1f Mon Sep 17 00:00:00 2001 From: Rafael Gonzaga Date: Sat, 25 May 2024 10:53:48 -0300 Subject: [PATCH 2/2] Update doc/api/permissions.md Co-authored-by: Rich Trott --- doc/api/permissions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/permissions.md b/doc/api/permissions.md index dcbf06584ca006..2b5c08cf545571 100644 --- a/doc/api/permissions.md +++ b/doc/api/permissions.md @@ -580,8 +580,8 @@ There are constraints you need to know before using this system: not subject to the rules of the Permission Model. * OpenSSL engines cannot be requested at runtime when the Permission Model is enabled, affecting the built-in crypto, https, and tls modules. -* The Permission Model is not upheld when utilizing existing file descriptors - via the `node:fs` module. +* Using existing file descriptors via the `node:fs` module bypasses the + Permission Model. #### Limitations and Known Issues