summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorSteven Murdoch <Steven.Murdoch@cl.cam.ac.uk>2008-11-07 02:06:12 +0000
committerSteven Murdoch <Steven.Murdoch@cl.cam.ac.uk>2008-11-07 02:06:12 +0000
commit9d68ed08e9689cde194475657fb09f9693c38e5c (patch)
treea96d96d1676ca438b9c99e628cffedb6d5f0481b /src/common/compat.h
parent6e3de8530e49b926d25ba071720b7c8054b6d8ac (diff)
downloadtor-9d68ed08e9689cde194475657fb09f9693c38e5c.tar.gz
tor-9d68ed08e9689cde194475657fb09f9693c38e5c.zip
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
svn:r17200
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index f0036d7764..748b4e6538 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -447,7 +447,7 @@ void set_uint32(char *cp, uint32_t v) ATTR_NONNULL((1));
typedef unsigned long rlim_t;
#endif
int set_max_file_descriptors(rlim_t limit, int *max);
-int switch_id(const char *user, const char *group);
+int switch_id(const char *user);
#ifdef HAVE_PWD_H
char *get_user_homedir(const char *username);
#endif