summaryrefslogtreecommitdiff
path: root/configure.in
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 /configure.in
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 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index d383a627a1..878a8da97f 100644
--- a/configure.in
+++ b/configure.in
@@ -630,6 +630,9 @@ syslog_facility="$withval", syslog_facility="LOG_DAEMON")
AC_DEFINE_UNQUOTED(LOGFACILITY,$syslog_facility,[name of the syslog facility])
AC_SUBST(LOGFACILITY)
+# Check if we have getresuid and getresgid
+AC_CHECK_FUNCS(getresuid getresgid)
+
# Check for gethostbyname_r in all its glorious incompatible versions.
# (This logic is based on that in Python's configure.in)
AH_TEMPLATE(HAVE_GETHOSTBYNAME_R,