summaryrefslogtreecommitdiff
path: root/source3/configure.in
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-05-16 14:29:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:04 -0500
commitae0939ee66602f8667aab2b069768ef17102d851 (patch)
treea4405efc8a6009df00b20ba94f0da301f54e3b5b /source3/configure.in
parent22bed618b6aacd2986592c388ae3360f3df02d02 (diff)
downloadsamba-ae0939ee66602f8667aab2b069768ef17102d851.tar.gz
samba-ae0939ee66602f8667aab2b069768ef17102d851.tar.bz2
samba-ae0939ee66602f8667aab2b069768ef17102d851.zip
r15634: Prevent passwords of winbindd's list of credential caches from beeing
swapped to disc using mlock(). (patch was reviewed by Jeremy). Guenther (This used to be commit 206cdbb8e9a4a0900060d56510e58b85a2b8aec5)
Diffstat (limited to 'source3/configure.in')
-rw-r--r--source3/configure.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/configure.in b/source3/configure.in
index d26e13a6bb..954aa99722 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -1243,6 +1243,8 @@ AC_CHECK_FUNCS(srandom random srand rand setenv usleep strcasecmp fcvt fcvtl sym
AC_CHECK_FUNCS(syslog vsyslog timegm)
AC_CHECK_FUNCS(setlocale nl_langinfo)
AC_CHECK_FUNCS(nanosleep)
+AC_CHECK_FUNCS(mlock munlock mlockall munlockall)
+AC_CHECK_HEADERS(sys/mman.h)
# setbuffer, shmget, shm_open are needed for smbtorture
AC_CHECK_FUNCS(setbuffer shmget shm_open)