Nick Mathewson
|
119896cd43
Fix some leaks/missed checks in the unit tests
|
10 anni fa |
Nick Mathewson
|
25f0eb4512
Add a sandbox rule to allow IP_TRANSPARENT
|
10 anni fa |
Nick Mathewson
|
9be105f94b
whitespace fixes
|
10 anni fa |
Nick Mathewson
|
682c2252a5
Fix some seccomp2 issues
|
11 anni fa |
Nick Mathewson
|
fbc20294aa
Merge branch 'backtrace_squashed'
|
11 anni fa |
Nick Mathewson
|
bd8ad674b9
Add a sighandler-safe logging mechanism
|
11 anni fa |
Nick Mathewson
|
1825674bd3
Fix a memory leak on getaddrinfo in sandbox. Found by coverity
|
11 anni fa |
Nick Mathewson
|
4ea9fbcdb1
Clean up malloc issues in sandbox.c
|
11 anni fa |
Nick Mathewson
|
e0b2cd061b
Merge remote-tracking branch 'ctoader/gsoc-cap-stage2'
|
11 anni fa |
Cristian Toader
|
7cf1b9cc33
fixed compilation bug on i386 due to previous fix
|
11 anni fa |
Cristian Toader
|
d2836c8780
bug fix: syscalls send and recv not supported for x86_64 with libseccomp 1.0.1
|
11 anni fa |
Cristian Toader
|
0a3d1685ae
remove debugging code
|
11 anni fa |
Cristian Toader
|
4702cdc99d
added extra buffer and limit to mprotect not to exceed the length of that buffer
|
11 anni fa |
Cristian Toader
|
79f94e236b
added filter protection for string parameter memory
|
11 anni fa |
Cristian Toader
|
8e003b1c69
fixed socket syscall bug
|
11 anni fa |
Nick Mathewson
|
d91c776f61
Fix check-spaces
|
11 anni fa |
Nick Mathewson
|
49f9c4924e
Fix compilation on OSX
|
11 anni fa |
Nick Mathewson
|
e9ec0cb550
Do not try to add non-existent syscalls.
|
11 anni fa |
Nick Mathewson
|
a6ada1a50c
Fix a warning related to SCMP_CMP definition in header.
|
11 anni fa |
Nick Mathewson
|
cc35d8be84
Fix most of the --enable-gcc-warnings warnings in the sandbox code
|
11 anni fa |
Nick Mathewson
|
42e6ab0e14
Remove a usage of free()
|
11 anni fa |
Nick Mathewson
|
00fd0cc5f9
Basic compilation fixes.
|
11 anni fa |
Cristian Toader
|
340cca524f
added missing documentation for sandbox functions
|
11 anni fa |
Cristian Toader
|
6a22b29641
passing hints as a const pointer to sandbox_getaddrinfo(), also one tor_free macro fails to compile..
|
11 anni fa |
Cristian Toader
|
839ff0063d
replaced strdup with tor_strdup
|
11 anni fa |
Cristian Toader
|
2a6c34750d
replaced malloc/free with tor_malloc/tor_free
|
11 anni fa |
Cristian Toader
|
42f5737c81
switched string lengths from int to size_t in prot_strings()
|
11 anni fa |
Cristian Toader
|
55d8b8e578
fixed bug where sandbox_getaddrinfo() would fail when -Sandbox is 0
|
11 anni fa |
Cristian Toader
|
b4b0eddd29
switched to a more generic way of handling the sandbox configuration
|
11 anni fa |
Cristian Toader
|
fe6e2733ab
added contingency message to test for sandbox_getaddrinfo
|
11 anni fa |