- 12 Mar, 2021 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 23 Feb, 2021 2 commits
-
-
David Goulet authored
Now deprecated in libc >= 2.33 Closes #40309 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
David Goulet authored
Now deprecated in libc >= 2.33 Closes #40309 Signed-off-by:
David Goulet <dgoulet@torproject.org>
-
- 08 Feb, 2021 1 commit
-
-
Nick Mathewson authored
-
- 02 Feb, 2021 1 commit
-
-
Helge Deller authored
On the parisc/hppa architecture, the O_NONBLOCK constant can be either 000200000 or 000200004, depending on the Linux kernel and glibc version on which the binary is running. Background of this can be read in this upstream Linux kernel patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=75ae04206a4d0e4f541c1d692b7febd1c0fdb814 The tor testcases fail because of this, because function fd_is_nonblocking() checks hard against the O_NONBLOCK value, while it's sufficient if it would only check if one of the bits is set. Fix this trivial issue by just comparing if the returned file descriptor flag and'ed with O_NONBLOCK is non-zero. As reference, a failing build on parisc/hppa can be seen here: https://buildd.debian.org/status/fetch.php?pkg=tor&arch=hppa&ver=0.4.4.6-1%2Bb1&stamp=1612225628&raw=0
-
- 22 Jan, 2021 1 commit
-
-
- 12 Nov, 2020 1 commit
-
-
Typos found with codespell. Please keep in mind that this should have impact on actual code and must be carefully evaluated: src/core/or/lttng_circuit.inc - ctf_enum_value("CONTROLER", CIRCUIT_PURPOSE_CONTROLLER) + ctf_enum_value("CONTROLLER", CIRCUIT_PURPOSE_CONTROLLER)
-
- 17 Sep, 2020 1 commit
-
-
Coverity's first complaint was that we didn't check the return values from chmod. That's easily fixed. Coverity's second complaint was that there were code paths where we pass NULL to chmod. For example, if this line failed, we'd "goto done", and then pass NULL to chmod. tt_ptr_op(dirname, OP_NE, NULL); Closes #40103. Bug not in any released Tor.
-
- 10 Sep, 2020 1 commit
-
-
This patch disables the glob() support in the path library if glob() is unavailable at build-time. This currently happens with the Android NDK used for Tor Browser. See: https://bugs.torproject.org/tpo/core/tor/40114
-
- 13 Aug, 2020 1 commit
-
-
Nick Mathewson authored
Previously the test relied on not being able to look inside 000 directories, which is a thing root _can_ do. Bug not in any released Tor version.
-
- 30 Jul, 2020 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
We need this to manipulate mtimes, but only in this file.
-
- 15 Jul, 2020 1 commit
-
-
Jigsaw52 authored
Also adds generic tor_glob function to expand globs.
-
- 14 Jul, 2020 1 commit
-
-
Alexander Færøy authored
This patch ensures that we strip "\r" characters on both Windows as well as Unix when we read text files. This should prevent the issue where some Tor state files have been moved from a Windows machine, and thus contains CRLF line ending, to a Unix machine where only \n is needed. We add a test-case to ensure that we handle this properly on all our platforms. See: https://bugs.torproject.org/tpo/core/tor/33781
-
- 13 Jul, 2020 1 commit
-
-
- 17 Mar, 2020 1 commit
-
-
teor authored
-
- 05 Mar, 2020 1 commit
-
-
Nick Mathewson authored
This function works a little bit like strsep(), to get a chunk of configuration lines with a given header. We can use this to make hidden service config easier to parse.
-
- 12 Feb, 2020 1 commit
-
-
Nick Mathewson authored
-
- 06 Feb, 2020 1 commit
-
-
Nick Mathewson authored
clang-format sometimes thinks that "#name" should be written as "# name" if it appears at the start of a line. Using () appears to suppress this, while confusing Coccinelle.
-
- 21 Jan, 2020 1 commit
-
-
Nick Mathewson authored
-
- 14 Jan, 2020 1 commit
-
-
Nick Mathewson authored
Now that these tests are skipped on windows _and_ android, we should name the macro that skips them after the functionality that the tests depend on. Closes last part of 32825.
-
- 08 Jan, 2020 1 commit
-
-
Nick Mathewson authored
-
- 07 Jan, 2020 2 commits
-
-
Roger Dingledine authored
-
teor authored
These test cases are validated differently by some programming languages, because those languages have incorrect UTF-8 implementations. We want to make sure that tor validates them correctly. Closes ticket 32845.
-
- 20 Dec, 2019 2 commits
-
-
Nick Mathewson authored
It was only used in one place.
-
* there is no ~ or HOME in Android * UIDs and GIDs in Android represent apps, not users, and Android apps cannot ever change UIDs This should be replaced by whatever @nmathewson wants to name this stuff: https://github.com/torproject/tor/pull/1436
-
- 19 Dec, 2019 1 commit
-
-
teor authored
Some ".c" files define *_PRIVATE macros, but those macros are not used in any header file. Delete them. These changes were created using the "make autostyle" from 32522, and then split into commits.
-
- 27 Oct, 2019 1 commit
-
-
José M. Guisado authored
Follows #30920 Signed-off-by:
José M. Guisado <guigom@riseup.net>
-
- 22 Oct, 2019 2 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
(These ones cause parsing failures.)
-
- 04 Oct, 2019 1 commit
-
-
This fixes coverity CID 1454593, and bug 31948. Bug not in any released version of Tor.
-
- 03 Oct, 2019 1 commit
-
-
Nick Mathewson authored
This fixes coverity CID 1454593, and bug 31948. Bug not in any released version of Tor.
-
- 30 Sep, 2019 2 commits
-
-
Nick Mathewson authored
-
teor authored
This test failure happened due to a signed/unsigned integer comparison. This bug occurred on SunOS, it may also occur on other systems that use signed char as the default. (And cast 1-byte integer constants to an unsigned integer.) Fixes bug 31897; bugfix on 0.4.1.1-alpha.
-
- 16 Sep, 2019 1 commit
-
-
Nick Mathewson authored
-
- 05 Sep, 2019 1 commit
-
-
- 06 Aug, 2019 1 commit
-
-
Nick Mathewson authored
Fixes bug 31352; bug not in any released Tor.
-
- 07 Jun, 2019 1 commit
-
-
Nick Mathewson authored
This can happen when we have no network stack configured. Fixes bug 30804; bugfix on 0.2.5.1-alpha.
-
- 05 Jun, 2019 1 commit
-
-
Nick Mathewson authored
-