feat: add strict seatbelt profiles and remove unusable closed profiles (#18876)

This commit is contained in:
Sandy Tao
2026-02-12 10:33:54 -08:00
committed by GitHub
parent 2d38623472
commit 2e91c03e08
8 changed files with 193 additions and 48 deletions
+2 -1
View File
@@ -1343,7 +1343,8 @@ export class Config {
!!sandboxConfig &&
sandboxConfig.command === 'sandbox-exec' &&
!!seatbeltProfile &&
seatbeltProfile.startsWith('restrictive-')
(seatbeltProfile.startsWith('restrictive-') ||
seatbeltProfile.startsWith('strict-'))
);
}