diff options
author | David Goulet <dgoulet@torproject.org> | 2023-09-18 13:14:51 +0000 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2023-09-18 13:14:51 +0000 |
commit | ca9ca6da04bed64d76f93aee51170f049b7e7b5a (patch) | |
tree | b68c3ad4cf09e3e0ce4adb06464b9eb00f8adc64 /src/test/test_sandbox.c | |
parent | 7278c1554da9fb31dbb81b5f22f49a9a475db3ce (diff) | |
parent | a187fde7f4852049c7d639267f5a8316e0c6e7d0 (diff) | |
download | tor-ca9ca6da04bed64d76f93aee51170f049b7e7b5a.tar.gz tor-ca9ca6da04bed64d76f93aee51170f049b7e7b5a.zip |
Merge branch 'sandbox-aarch64-riscv-fixes' into 'main'
Fix sandbox on AArch64, RISC-V
Closes #24454
See merge request tpo/core/tor!446
Diffstat (limited to 'src/test/test_sandbox.c')
-rw-r--r-- | src/test/test_sandbox.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/test_sandbox.c b/src/test/test_sandbox.c index 64182ecc91..3104790723 100644 --- a/src/test/test_sandbox.c +++ b/src/test/test_sandbox.c @@ -364,22 +364,22 @@ test_sandbox_crypto_equix(void *arg) struct testcase_t sandbox_tests[] = { SANDBOX_TEST(is_active, TT_FORK), -/* When Tor is built with fragile compiler-hardening the sandbox is unable to - * filter requests to open files or directories (on systems where glibc uses - * the "open" system call to provide this functionality), as doing so would +/* When Tor is built with fragile compiler-hardening the sandbox is usually + * unable to filter requests to open files or directories, as doing so would * interfere with the address sanitizer as it retrieves information about the * running process via the filesystem. Skip these tests in that case as the * corresponding functions are likely to have no effect and this will cause the * tests to fail. */ #ifdef ENABLE_FRAGILE_HARDENING SANDBOX_TEST_SKIPPED(open_filename), + SANDBOX_TEST_SKIPPED(openat_filename), SANDBOX_TEST_SKIPPED(opendir_dirname), #else SANDBOX_TEST_IN_SANDBOX(open_filename), + SANDBOX_TEST_IN_SANDBOX(openat_filename), SANDBOX_TEST_IN_SANDBOX(opendir_dirname), #endif /* defined(ENABLE_FRAGILE_HARDENING) */ - SANDBOX_TEST_IN_SANDBOX(openat_filename), SANDBOX_TEST_IN_SANDBOX(chmod_filename), SANDBOX_TEST_IN_SANDBOX(chown_filename), SANDBOX_TEST_IN_SANDBOX(rename_filename), |