mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Minimize includes from sandbox.c
This commit is contained in:
parent
55b7939367
commit
ad24ccd472
@ -4,7 +4,11 @@ lib/cc/*.h
|
||||
lib/container/*.h
|
||||
lib/err/*.h
|
||||
lib/log/*.h
|
||||
lib/malloc/*.h
|
||||
lib/net/*.h
|
||||
lib/sandbox/*.h
|
||||
lib/sandbox/*.inc
|
||||
lib/string/*.h
|
||||
|
||||
ht.h
|
||||
siphash.h
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "lib/sandbox/sandbox.h"
|
||||
#include "lib/container/map.h"
|
||||
@ -38,11 +39,11 @@
|
||||
#include "lib/log/torlog.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "lib/net/resolve.h"
|
||||
#include "common/util.h"
|
||||
#include "lib/malloc/util_malloc.h"
|
||||
#include "lib/string/scanf.h"
|
||||
|
||||
#include "tor_queue.h"
|
||||
|
||||
#include "ht.h"
|
||||
|
||||
#include "siphash.h"
|
||||
|
||||
#define DEBUGGING_CLOSE
|
||||
@ -1558,7 +1559,8 @@ install_syscall_filter(sandbox_cfg_t* cfg)
|
||||
return (rc < 0 ? -rc : rc);
|
||||
}
|
||||
|
||||
#include "linux_syscalls.inc"
|
||||
#include "lib/sandbox/linux_syscalls.inc"
|
||||
|
||||
static const char *
|
||||
get_syscall_name(int syscall_num)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user