Files
helium/patches/extra/inox-patchset/0016-chromium-sandbox-pie.patch
2025-12-02 14:14:43 -06:00

18 lines
270 B
Diff

--- a/sandbox/linux/BUILD.gn
+++ b/sandbox/linux/BUILD.gn
@@ -298,6 +298,14 @@ if (is_linux || is_chromeos) {
"suid/process_util_linux.c",
"suid/sandbox.c",
]
+
+ cflags = [
+ "-fPIE",
+ ]
+
+ ldflags = [
+ "-pie",
+ ]
}
}