Files
tor/src/test
Micah Elizabeth Scott c40c5adec2 test_sandbox: equix crypto test case for issue 40794
This is an additional test case for test_sandbox that runs a small
subset of test_crypto_equix() inside the syscall sandbox, where
mprotect() is filtered.

It's reasonable for the sandbox to disallow JIT. We could revise this
policy if we want, but it seems a good default for now. The problem
in issue 40794 is that both equix and hashx need improvements in their
API to handle failures after allocation time, and this failure occurs
while the hash function is being compiled.

With this commit only, the segfault from issue 40794 is reproduced.
Subsequent commits will fix the segfault and revise the API.

Signed-off-by: Micah Elizabeth Scott <beth@torproject.org>
2023-05-28 19:54:50 -07:00
..
2022-12-16 08:09:04 +02:00
2022-12-16 08:09:04 +02:00
2023-05-11 18:05:28 +00:00
2022-12-16 08:09:04 +02:00
2022-11-09 15:30:43 -05:00
2022-12-16 08:09:04 +02:00
2023-01-10 09:11:58 -05:00
2020-11-17 11:23:08 -05:00
2020-11-17 11:23:08 -05:00
2022-12-16 08:09:04 +02:00
2023-03-12 11:40:52 +00:00
2023-01-10 09:11:58 -05:00
2021-10-29 16:52:18 +00:00
2019-05-29 21:20:02 +03:00