diff options
author | davidovski <david@davidovski.xyz> | 2022-05-18 09:56:56 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-05-18 09:56:56 +0100 |
commit | 4cfc98e1be889f359613a54010b67e13c673e4ab (patch) | |
tree | 085c6f015955435d1138078984a897491b1b1e37 /repo/util/tor/0003-disable-sandbox_chown_filename-test_patch | |
parent | da500224f138f6d4800d248c24228987a0a149de (diff) | |
parent | dccab9b94dcfc5e040647210ba22b9cc4bddc742 (diff) |
Merge branch 'master' of git.cheetah.remote:xilinux/buildfiles
Diffstat (limited to 'repo/util/tor/0003-disable-sandbox_chown_filename-test_patch')
-rw-r--r-- | repo/util/tor/0003-disable-sandbox_chown_filename-test_patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/repo/util/tor/0003-disable-sandbox_chown_filename-test_patch b/repo/util/tor/0003-disable-sandbox_chown_filename-test_patch deleted file mode 100644 index 3140139..0000000 --- a/repo/util/tor/0003-disable-sandbox_chown_filename-test_patch +++ /dev/null @@ -1,36 +0,0 @@ -This test fail on armhf, armv7 and aarch64 ---- a/src/test/test_sandbox.c -+++ b/src/test/test_sandbox.c -@@ -193,24 +193,6 @@ test_sandbox_chmod_filename(void *arg) - } - - static void --test_sandbox_chown_filename(void *arg) --{ -- sandbox_data_t *data = arg; -- int rc, errsv; -- -- if (chown(sandbox_intern_string(data->file_ops_allowed), -1, -1) != 0) -- tt_abort_perror("chown"); -- -- rc = chown(data->file_ops_blocked, -1, -1); -- errsv = errno; -- tt_int_op(rc, OP_EQ, -1); -- tt_int_op(errsv, OP_EQ, EPERM); -- -- done: -- (void)0; --} -- --static void - test_sandbox_rename_filename(void *arg) - { - sandbox_data_t *data = arg; -@@ -327,7 +309,6 @@ struct testcase_t sandbox_tests[] = { - - SANDBOX_TEST_IN_SANDBOX(openat_filename), - SANDBOX_TEST_IN_SANDBOX(chmod_filename), -- SANDBOX_TEST_IN_SANDBOX(chown_filename), - SANDBOX_TEST_IN_SANDBOX(rename_filename), - - /* Currently the sandbox is unable to filter stat() calls on systems where |