conf.DEFINE('WITH_PAM', 1)
conf.DEFINE('WITH_PAM_MODULES', 1)
+ seteuid = False
+
#
# Ensure we select the correct set of system calls on Linux.
#
'USE_LINUX_32BIT_SYSCALLS',
msg="Checking whether Linux should use 32-bit credential calls");
- seteuid = False
-
- if not seteuid:
- if (conf.CONFIG_SET('USE_LINUX_32BIT_SYSCALLS')):
+ if (conf.CONFIG_SET('USE_LINUX_32BIT_SYSCALLS')):
seteuid = conf.CHECK_CODE('''
#define AUTOCONF_TEST 1
#define USE_LINUX_THREAD_CREDENTIALS 1
addmain=False,
execute=True,
msg="Checking whether we can use Linux thread-specific credentials with 32-bit system calls")
- else:
+ else:
seteuid = conf.CHECK_CODE('''
#define AUTOCONF_TEST 1
#define USE_LINUX_THREAD_CREDENTIALS 1