aboutsummaryrefslogtreecommitdiff
path: root/src/lib/process
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-09-10 08:43:13 +1000
committerteor <teor@torproject.org>2019-09-10 08:43:13 +1000
commit7e22d9934658c27ba0d45455959f46207a190649 (patch)
tree09c77a57b6413205faba03854b2fec03ec612671 /src/lib/process
parent4596ead2fc88e4b1482b0f3bc8ff356daea2337b (diff)
parent2e2a35b6943810257b6917648db90ed5d46505e1 (diff)
downloadtor-7e22d9934658c27ba0d45455959f46207a190649.tar.gz
tor-7e22d9934658c27ba0d45455959f46207a190649.zip
Merge branch 'bug31615_040' into bug31615_041
Merged modified lines from bug31615_040, and unmodified lines from maint-0.4.1.
Diffstat (limited to 'src/lib/process')
-rw-r--r--src/lib/process/winprocess_sys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/process/winprocess_sys.c b/src/lib/process/winprocess_sys.c
index 48c0888658..ff9bc1ba04 100644
--- a/src/lib/process/winprocess_sys.c
+++ b/src/lib/process/winprocess_sys.c
@@ -58,6 +58,8 @@ subsys_winprocess_initialize(void)
const subsys_fns_t sys_winprocess = {
.name = "winprocess",
+ /* HeapEnableTerminationOnCorruption and setdeppolicy() are security
+ * features, we want them to run first. */
.level = -100,
.supported = WINPROCESS_SYS_ENABLED,
.initialize = subsys_winprocess_initialize,