Nick Mathewson
|
b68379b13b
Add DOCDOC entries for undocumented static and global variables.
|
16 vuotta sitten |
Nick Mathewson
|
1e5f457461
Fix most DOCDOCs remaining and/or added by redox.
|
16 vuotta sitten |
Nick Mathewson
|
1725c0c8a5
Add DOCDOC comments for all undocumented functions. Add missing *s to other comments so that they will get recognized as doxygen.
|
16 vuotta sitten |
Nick Mathewson
|
98066d62bc
Lower sprintf buffer max to ~SSIZE_T_MAX from SIZE_T_CEILING, since we need to compare it to a signed int.
|
16 vuotta sitten |
Nick Mathewson
|
d60d8976b9
Better error message when told to setuid to ourself.
|
16 vuotta sitten |
Nick Mathewson
|
07c8b2be21
Compile without warnings on mingw.
|
16 vuotta sitten |
Nick Mathewson
|
6fb06f334a
Try to fix windows mmap code.
|
16 vuotta sitten |
Nick Mathewson
|
7f793fa733
Simplify mmap object layout to avoid confusing static analysis tools, and us too.
|
16 vuotta sitten |
Nick Mathewson
|
2be5215181
Fix a hard-to-trigger memory leak in log_credential status. Found by Coverity scan. CID 349.
|
16 vuotta sitten |
Roger Dingledine
|
96a185d9b7
style cleanup
|
16 vuotta sitten |
Nick Mathewson
|
6221bdd294
Add two lseek wrappers to compat.[ch]: one to return current fd position, and one to move the fd to the end of the file.
|
16 vuotta sitten |
Nick Mathewson
|
4cddcf8873
Cast uid_t and gid_t to unsigned before passing to printf %u.
|
16 vuotta sitten |
Nick Mathewson
|
bc597758dc
Use fcntl for file locking when flock() is not available.
|
16 vuotta sitten |
Nick Mathewson
|
a95e0e7355
apply sebastian's fix for bug 859. Apparently on win32 one must lock at least one byte when locking, but locking a nonexistant byte is okay. )
|
16 vuotta sitten |
Nick Mathewson
|
6c50ab6e61
Document a couple of functions.
|
16 vuotta sitten |
Roger Dingledine
|
c62d5f6a5c
beg nick for some documentation on the locking functions
|
16 vuotta sitten |
Roger Dingledine
|
0554e87f58
better error message when you set User but start tor as non-root.
|
16 vuotta sitten |
Nick Mathewson
|
13e079f9ec
Log a little more when credential-switching fails.
|
16 vuotta sitten |
Roger Dingledine
|
b32e600d50
while we're cleaning code, get rid of some unreachable code at
|
16 vuotta sitten |
Roger Dingledine
|
14773f42a7
now that we drop privs more thoroughly, switch_id() is no longer
|
16 vuotta sitten |
Roger Dingledine
|
7c65792500
remove more redundant code from r17200
|
16 vuotta sitten |
Nick Mathewson
|
1b98f45b3d
Developers should usually configure with --enable-gcc-warnings, and should regularly make check-spaces. Also, int fn() does not mean the same in C as it does in C++ or Java.
|
16 vuotta sitten |
Steven Murdoch
|
9d68ed08e9
Patch from Jacob Appelbaum and me to make User option more robust, properly set supplementary groups, deprecated the Group option, and log more information on credential switching
|
16 vuotta sitten |
Nick Mathewson
|
c33dde4ac1
Fix mingw build with --enable-gcc-warnings set.
|
16 vuotta sitten |
Roger Dingledine
|
9f823f54d5
remove some redundant includes. i expect the first one to be a problem
|
16 vuotta sitten |
Nick Mathewson
|
f80ac31d74
Add a lockfile to the Tor data directory to avoid situations where two Tors start with the same datadir, or where a --list-fingerprints races with a server to create keys, or such.
|
16 vuotta sitten |
Nick Mathewson
|
88e6162649
r17848@tombo: nickm | 2008-08-22 12:10:11 -0400
|
16 vuotta sitten |
Nick Mathewson
|
9da0482007
r17358@pc-10-8-1-079: nickm | 2008-07-25 16:41:03 +0200
|
16 vuotta sitten |
Nick Mathewson
|
3ce6e2fba2
r17346@aud-055: nickm | 2008-07-24 15:37:19 +0200
|
16 vuotta sitten |
Nick Mathewson
|
09cd8fa371
r19795@catbus: nickm | 2008-05-16 14:54:24 -0400
|
16 vuotta sitten |