ports/devel/electron26/files/patch-electron_spec_node-spec.ts
Hiroki Tagato 143ab735ff devel/electron26: update to 26.6.3
Changelog: https://github.com/electron/electron/releases/tag/v26.6.3

Reported by:	GitHub (watch releases)
Security:	7015ab21-9230-490f-a2fe-f7557e3de25d
2023-12-23 08:31:58 +09:00

11 lines
743 B
TypeScript

--- electron/spec/node-spec.ts.orig 2023-12-21 17:26:32 UTC
+++ electron/spec/node-spec.ts
@@ -139,7 +139,7 @@ describe('node feature', () => {
});
describe('child_process.exec', () => {
- ifit(process.platform === 'linux')('allows executing a setuid binary from non-sandboxed renderer', async () => {
+ ifit(process.platform === 'linux' || process.platform === 'freebsd')('allows executing a setuid binary from non-sandboxed renderer', async () => {
// Chrome uses prctl(2) to set the NO_NEW_PRIVILEGES flag on Linux (see
// https://github.com/torvalds/linux/blob/40fde647cc/Documentation/userspace-api/no_new_privs.rst).
// We disable this for unsandboxed processes, which the renderer tests