From eb43401bfb6d69db66d256582a99e63de7d222d8 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 9 Aug 2017 10:42:37 -0400 Subject: Add a 'NoExec' option that causes tor_spawn_background() to fail Core of an implementation for 22976. --- src/or/or.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/or/or.h') diff --git a/src/or/or.h b/src/or/or.h index ff11c72790..e24bfd7cd1 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -4596,6 +4596,10 @@ typedef struct { * consensuses around so that we can generate diffs from them. If 0, * use the default. */ int MaxConsensusAgeForDiffs; + + /** Bool (default: 0). Tells Tor to never try to exec another program. + */ + int NoExec; } or_options_t; /** Persistent state for an onion router, as saved to disk. */ -- cgit v1.2.3-54-g00ecf