diff options
author | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-06-17 13:07:14 +0300 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-07-11 09:13:13 -0400 |
commit | f9c1ba6493478d227c202e4d3444283b2c840a6a (patch) | |
tree | c79191a86be32416dd1de5ead221b15e776e6114 /src/common/torlog.h | |
parent | bcdc0022693c75ea1523468e783bf03832e0a358 (diff) | |
download | tor-f9c1ba6493478d227c202e4d3444283b2c840a6a.tar.gz tor-f9c1ba6493478d227c202e4d3444283b2c840a6a.zip |
Add a basic seccomp2 syscall filter on Linux
It's controlled by the new Sandbox argument. Right now, it's rather
coarse-grained, it's Linux-only, and it may break some features.
Diffstat (limited to 'src/common/torlog.h')
-rw-r--r-- | src/common/torlog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/torlog.h b/src/common/torlog.h index 8675d7b6e7..9b2ff2c9ff 100644 --- a/src/common/torlog.h +++ b/src/common/torlog.h @@ -142,6 +142,7 @@ int get_min_log_level(void); void switch_logs_debug(void); void logs_free_all(void); void add_temp_log(int min_severity); +int get_err_logging_fd(void); void close_temp_logs(void); void rollback_log_changes(void); void mark_logs_temp(void); |