diff options
author | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-07-30 19:09:28 +0300 |
---|---|---|
committer | Cristian Toader <cristian.matei.toader@gmail.com> | 2013-07-30 19:25:56 +0300 |
commit | 871e5b35a89ae02f92b64af0afb058fae9c41f43 (patch) | |
tree | 82be007fdb2d21a6548b82ed40aa4254f4511069 /src/or/main.c | |
parent | 8022def6f05bf40e1c6e0fd15d77ed0ecf5c3406 (diff) | |
download | tor-871e5b35a89ae02f92b64af0afb058fae9c41f43.tar.gz tor-871e5b35a89ae02f92b64af0afb058fae9c41f43.zip |
small filter changes; openat as separate function
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c index d50f239e67..ab7b6ec1c7 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2644,8 +2644,9 @@ sandbox_init_filter() { sandbox_cfg_t *cfg = sandbox_cfg_new(); - sandbox_cfg_allow_open_filename(&cfg, + sandbox_cfg_allow_openat_filename(&cfg, get_datadir_fname("cached-status")); + sandbox_cfg_allow_open_filename(&cfg, get_datadir_fname("cached-certs")); sandbox_cfg_allow_open_filename(&cfg, |