aboutsummaryrefslogtreecommitdiff
path: root/src/common
AgeCommit message (Collapse)Author
2015-04-15Fix spaces in crypto.h and test-memwipe.cteor
2015-04-02Fix the windows test failure caused by the #15435 changes.Yawning Angel
2015-04-01Merge branch 'remove_digests'Nick Mathewson
2015-04-01Merge branch 'bug13736'Nick Mathewson
2015-04-01Unindent a block in crypto_set_tls_dh_primeNick Mathewson
2015-04-01Merge remote-tracking branch 'yawning/feature15435'Nick Mathewson
2015-04-01Merge remote-tracking branch 'yawning/feature15471'Nick Mathewson
2015-04-01Drop support for --digestsNick Mathewson
This is a fair amount of maintainance burden, and doesn't help much more than the git microversion. Closes ticket 14742.
2015-03-31Merge branch 'ticket14710_squashed'Nick Mathewson
2015-03-31Whitebox test for get_interface_address6_via_udp_socket_hack().rl1987
Also, fix some whitespace mishaps.
2015-03-31Bugfix: we don't want loopback/multicastaddress from _hack().rl1987
2015-03-31Black box test for get_interface_address6_via_udp_socket_hack().rl1987
2015-03-31Moving the hacky part of get_interface_address6() into separate function.rl1987
2015-03-26Use prctl() to have the kernel SIGTERM background processes on exit.Yawning Angel
This uses a Linux-ism to attempt to always clean up background processes if possible. Note that it is not a catch-all, in that executables with suid/sgid or elevated capabilities will have the prctl() attribute stripped as part of the execve(). Resolves ticket 15471.
2015-03-26Implement "TOR_PT_EXIT_ON_STDIN_CLOSE".Yawning Angel
Background processes spawned by Tor now will have a valid stdin. Pluggable transports can detect this behavior with the aformentioned enviornment variable, and exit if stdin ever gets closed.
2015-03-24Merge remote-tracking branch 'sebastian/coverage_builds'Nick Mathewson
2015-03-24Merge remote-tracking branch 'public/bug15269'Nick Mathewson
2015-03-21Disable assertions during coverage buildsSebastian Hahn
This removes roughly 5000 branches in my testing. We never want to trigger assertions even during tests, so this is sane. Implements #15400.
2015-03-21Initialize two variablesSebastian Hahn
This is a trivial change to get around two compiler warnings when assertions are removed during coverage builds.
2015-03-18Merge remote-tracking branch 'public/feature15053'Nick Mathewson
2015-03-15Make log.o depend on micro-revision.iNick Mathewson
Otherwise micro-revision.i might not get built on time.
2015-03-14Avoid double-parens in log_fn() messages on clang.Nick Mathewson
On clang (and elsewhere?) __PRETTY_FUNCTION__ includes parenthesized argument lists. This is clever, but it makes our old "%s(): " format look funny. This is a fix on 0957ffeb, aka svn:r288. Fixes bug 15269.
2015-03-14Log version when LD_BUG is logged.Nick Mathewson
Closes ticket 15026.
2015-03-14Do not distribute common_sha1.i and or_sha1.i.cypherpunks
These files get generated automatically so there is need to include them in the distribution.
2015-03-14Remove relative paths to header files.cypherpunks
The paths are already in the directory search path of the compiler therefore no need to include them in the source code.
2015-03-14Clean up generated files.cypherpunks
Remove src/or/or_sha1.i and src/common/common_sha1.i on `make clean` and remove the temporary micro-revision file when its no longer needed. Additional changes; - show a message when generating the micro-revision file. - add the temporary micro revision file to the list of files to be removed on `make clean` just in case. - fix indentation of the make rule to improve readability.
2015-03-14Remove DynamicDHGroups as obsoleted by PluggableTransports or P256.Nick Mathewson
Closes ticket 13736.
2015-03-13const-ify the new failure vars, and one old oneNick Mathewson
2015-03-12don't init threads as side effect of assertionSebastian Hahn
Fixes part of bug 15211.
2015-03-12Merge remote-tracking branch 'origin/maint-0.2.6'Nick Mathewson
2015-03-12Use PTHREAD_CREATE_DETACHED macro instead of 1: fix Solaris crashNick Mathewson
When calling pthread_attr_setdetachstate, we were using 1 as the argument. But the pthreads documentation says that you have to say PTHREAD_CREATE_DETACH, which on Solaris is apparently 0x40. Calling pthread_attr_setdetachstate with 1 crashes on Solaris with FLTBOUNDS. (Because we're so late in the release cycle, I made the code define PTHREAD_CREATE_DETACHED if it doesn't exist, so we aren't likely to break any other platforms.) This bug was introduced when we made threading mandatory in 0.2.6.1-alpha; previously, we had force-disabled threading on Solaris. See #9495 discussion.
2015-03-10Fix check-spacesNick Mathewson
2015-03-10Merge commit 'origin/maint-0.2.6^'Nick Mathewson
2015-03-09Merge remote-tracking branch 'public/bug15205_025' into maint-0.2.6Nick Mathewson
2015-03-09Don't use checked strl{cat,cpy} on OSX.Nick Mathewson
There is a bug in the overlap-checking in strlcat that can crash Tor servers. Fixes bug 15205; this is an OSX bug, not a Tor bug.
2015-03-04Merge remote-tracking branch 'origin/maint-0.2.6'Nick Mathewson
2015-03-04Revert "Missing dependencies; fixes 15127."Nick Mathewson
This reverts commit 930ab95e1fb0dfd5af35e7d84ca58ff21b65a605.
2015-03-04Merge remote-tracking branch 'origin/maint-0.2.6'Nick Mathewson
2015-03-04Merge remote-tracking branch 'public/bug15088_025' into maint-0.2.6Nick Mathewson
2015-03-04Add wait4 to the seccomp2 sandbox allowable syscall listNick Mathewson
fixes bug 15088. patch from sanic.
2015-03-04Merge remote-tracking branch 'origin/maint-0.2.6'Nick Mathewson
2015-03-04Merge remote-tracking branch 'public/bug15127_025' into maint-0.2.6Nick Mathewson
2015-03-04Missing dependencies; fixes 15127.Nick Mathewson
2015-03-02Fix formattingAndrea Shepard
2015-02-25Merge remote-tracking branch 'yawning/bug14922'Nick Mathewson
2015-02-23Merge branch 'bug14950_logs_squashed'Nick Mathewson
2015-02-23Let AF_UNIX connections through the sandboxNick Mathewson
Fixes bug 15003; bugfix on 0.2.6.3-alpha.
2015-02-23Merge remote-tracking branch 'public/bug14988_025'Nick Mathewson
2015-02-23add another unused-var marker in backtrace.c for 14988Nick Mathewson
2015-02-20Merge remote-tracking branch 'public/bug11454_11457'Nick Mathewson