mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 08:41:51 -04:00
Changelog: https://github.com/electron/electron/releases/tag/v28.2.1 Reported by: GitHub (watch releases) Security: 13a8c4bf-cb2b-48ec-b49c-a3875c72b3e8
11 lines
743 B
TypeScript
11 lines
743 B
TypeScript
--- electron/spec/node-spec.ts.orig 2024-01-31 15:12:32 UTC
|
|
+++ electron/spec/node-spec.ts
|
|
@@ -144,7 +144,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
|