summaryrefslogtreecommitdiffstats
path: root/lib/replace
Commit message (Collapse)AuthorAgeFilesLines
* libreplace: Fix symbol names for snprintf/asprintf/vasprintf.Jelmer Vernooij2012-05-131-6/+6
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun May 13 05:16:28 CEST 2012 on sn-devel-104
* replace: Fix use of mktempSimo Sorce2012-04-261-2/+2
| | | | | | | | mktemp always returns the template, so checking for NULL doesn't cactch any error. Errors are reported by turning the template into an empty string. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Apr 26 16:14:24 CEST 2012 on sn-devel-104
* lib/replace: split out GSSAPI from lib/replace/system/kerberos.h into ↵Alexander Bokovoy2012-04-252-16/+55
| | | | | | | | | | | | | | lib/replace/system/gssapi.h With waf build include directories are defined by dependencies specified to subsystems. Without proper dependency <gssapi/gssapi.h> cannot be found for embedded Heimdal builds when there are no system-wide gssapi/gssapi.h available. Split out GSSAPI header includes in a separate replacement header and use that explicitly where needed. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Wed Apr 25 00:18:33 CEST 2012 on sn-devel-104
* replace: added ENOATTR define if undefinedAndrew Tridgell2012-04-181-0/+8
| | | | | | | this fixes the build of the tdb xattr wrapper code on systems without xattr headers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Remove overly complex attemt to define blkcnt_t and blksize_t. AC_CHECK_TYPE ↵Jeremy Allison2012-04-121-12/+2
| | | | | | | | | should just do it. Still trying to fix the buildfarm. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 12 04:28:29 CEST 2012 on sn-devel-104
* On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵Jeremy Allison2012-04-103-8/+14
| | | | | | | libreplace to make it standalone. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 10 04:07:11 CEST 2012 on sn-devel-104
* Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with ↵Jeremy Allison2012-04-092-0/+10
| | | | | | | platforms that don't have these. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 9 21:40:42 CEST 2012 on sn-devel-104
* libreplace: We have a poll replacement based on selectVolker Lendecke2012-04-091-0/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Apr 9 19:39:51 CEST 2012 on sn-devel-104
* lib/replace: Add getconf LFS_CFLAGS support to autoconf buildAndrew Bartlett2012-04-051-0/+8
|
* replace: Avoid DEBUG(), which is not available in libreplace.Jelmer Vernooij2012-03-251-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 25 00:13:59 CET 2012 on sn-devel-104
* libreplace: Add usleep implementation.Jelmer Vernooij2012-03-242-0/+20
|
* replace: Work around socket wrapper.Jelmer Vernooij2012-03-241-0/+1
| | | | It's fine to ignore socket wrapper here, as it doesn't deal with unix domain sockets.
* replace: Add system/network.h for ucred struct.Jelmer Vernooij2012-03-241-0/+1
|
* libreplace: Add getpeereid implementation.Jelmer Vernooij2012-03-244-0/+71
|
* replace: Move memalign() from lib/util/system.c to libreplace.Jelmer Vernooij2012-03-244-3/+45
|
* lib/replace: test for incoherent mmap.Rusty Russell2012-03-223-0/+97
| | | | | | | We test for other mmap features here, and both tdb1 and tdb2 want this check. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* build: Add libbsd as a dep for LIBREPLACE_HOSTCCAndrew Bartlett2012-02-201-4/+5
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Feb 20 02:58:20 CET 2012 on sn-devel-104
* replace: Only add bsd dependency when bsd library was found.Jelmer Vernooij2012-02-021-1/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Feb 2 05:18:45 CET 2012 on sn-devel-104
* replace: Add include for bsd/string.h.Jelmer Vernooij2012-02-011-0/+4
|
* Fix bug #8729 - getpass regressions on Solaris/Illumos - 3.6 and master.Ira Cooper2012-01-312-0/+13
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jan 31 23:28:09 CET 2012 on sn-devel-104
* replace: Only include C files from which there are actually functions used.Jelmer Vernooij2012-01-311-2/+21
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Jan 31 15:21:04 CET 2012 on sn-devel-104
* replace: use libbsd for strlcat/strlcpy when available.Jelmer Vernooij2012-01-311-15/+21
|
* libreplace: Don't check for standards.h on darwin (Lion)Volker Lendecke2011-12-251-2/+10
| | | | | standards.h on Lion holds a #warning that standards.h will be removed. This is annoying during the build.
* replace: Add don't include unistd.h directly and add uid_wrapper.Andreas Schneider2011-10-272-0/+24
|
* Include uid_wrapper correctly.Andreas Schneider2011-10-271-0/+11
|
* replace: Add checks for setreuid and setregid.Andreas Schneider2011-10-272-3/+4
|
* replace: Make sure we compile without uid_wrapper.Andreas Schneider2011-10-271-1/+1
|
* libreplace: add a missing "eval" to the AC_VERIFY_C_PROTOTYPE macroMichael Adam2011-10-141-1/+1
| | | | | | | Without this eval, upon test success the corresponding actions (like defining corresponding variables) are not taken. Found by Timur I. Bakeyev, and based on his patch for 3.5.
* config.h: define HAVE_LIBREPLACERusty Russell2011-10-132-0/+3
| | | | | | | | | tdb2 wants to know if it should use replace.h. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Oct 13 08:58:35 CEST 2011 on sn-devel-104
* lib/replace: include <sys/uio.h> in "system/filesys.h" in order to have ↵Stefan Metzmacher2011-09-081-0/+4
| | | | | | | | struct iovec This is needed on some platforms, e.g. NetBSD5. metze
* replace: Check if we have mremap() availableSimo Sorce2011-08-142-0/+55
|
* Fix bug 7462 - Non-standard SA_RESETHAND is used in ↵Jeremy Allison2011-08-011-4/+0
| | | | | | | | | ...lib/tevent/tevent_signal.c Make SA_RESETHAND conditional on its existance. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Aug 1 22:03:45 CEST 2011 on sn-devel-104
* replace: remove waring if IOV_MAX is not definedBjörn Jacke2011-05-311-2/+0
| | | | | | | | as discussed on samba-techincal we currelty don't rely on it and we don't want to flood this warning message during compile. Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue May 31 18:36:53 CEST 2011 on sn-devel-104
* replace: fix build issues on GNU Hurd (#7998)Björn Jacke2011-05-301-1/+1
| | | | | | | | Patch from Samuel Thibault <sthibault@debian.org> to fix Debian Bug 610678 resp. BSO #7998. IOV_MAX and UIO_MAXIOV are not defined on GNU Hurd. Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Mon May 30 00:53:59 CEST 2011 on sn-devel-104
* Fix bug found when building on an IPv6-only system by Kai Blin.Jeremy Allison2011-05-191-3/+16
| | | | | | | | | | | | | | | | | | When building on IPv6-only, doing: hints.ai_family = AF_INET; getaddrinfo("0.0.0.0", NULL, &hints, &ppres) fails as AF_INET is unavailable on an IPv6-only system. This causes us to fallback to our replacement getaddrinfo code which is IPv4-only. As we're only trying to detect a specific AIX bug here, broaden the tests to find that bug, and also test for working getaddrinfo in an IPv6-only safe way. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 19 02:21:54 CEST 2011 on sn-devel-104
* lib/replace: fix an #if HAVE_GSSAPI_GSSAPI_EXT_H to be an #ifdefMichael Adam2011-05-101-1/+1
|
* Fix Samba3 on OpenIndiana.Gordon Ross2011-05-071-1/+3
| | | | | | | | | | | I'd like Samba to use the native OpenLDAP and MIT Kerberos libs. Attached are some patches to do that. (relative to git master) It does not build for me without these. (OpenIndiana is an off-shoot of OpenSolaris See http://www.openindiana.org) Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat May 7 02:20:14 CEST 2011 on sn-devel-104
* kerberos: Only include gssapi/gssapi_krb5.h when availableAndrew Bartlett2011-04-301-0/+2
|
* libcli/auth Move Samba4's gssapi_error_string from GENSEC to libcli/authAndrew Bartlett2011-04-271-0/+10
| | | | | | This will allow the GSSAPI PAC fetch code to use it. Andrew Bartlett
* libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett2011-04-141-105/+5
| | | | | | | | | This requires a small rework of the build system to ensure that the correct #define statements are made in both the s3 and top level builds. We now define the various HAVE_ macros in config.h at all times, using heimdal_build/wscript_configure when that is in use. Andrew Bartlett
* lib/replace/test: Add missing include for prototype.Jelmer Vernooij2011-03-191-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 19 16:45:56 CET 2011 on sn-devel-104
* libreplace: Fix prototypes for all functions.Jelmer Vernooij2011-03-194-1/+8
|
* libreplace: move "struct timespec" checks into libreplace (where timespec is ↵Günther Deschner2011-03-043-0/+31
| | | | | | | | already used). Bjoern, Metze, please check. Guenther
* libreplace: poll based on selectVolker Lendecke2011-02-285-0/+182
|
* s3-waf: move the KRB5_DEPRECATED configure check out of lib/replaceAndrew Tridgell2011-02-171-8/+0
| | | | | | | this needs to be in souce3/, as otherwise it can't handle an in-tree kerberos library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* replace: Add missing eval to m4 scriptSumit Bose2011-02-101-2/+2
| | | | | Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 10 16:14:21 CET 2011 on sn-devel-104
* waf: add clock_gettime clock ID checks to libreplace wscript.Günther Deschner2011-02-071-1/+17
| | | | Guenther
* build: removed the old autogen.sh and autogen-waf.sh scriptsAndrew Tridgell2011-02-072-12/+0
| | | | | | | for the builds that use waf only, these are no longer needed and just cause confusion Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* replace: Try to fix broken sys/capabilites.h on Linux.Stefan Metzmacher2011-02-033-1/+10
| | | | | | | | | | | | As this is more or less a broken header we need to include linux/types.h before sys/capabilities.h to avoid redefinitions. Systems like ClearOS 5.2 need linux/types.h very early. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 3 05:26:12 CET 2011 on sn-devel-104
* Revert "replace: Try to fix broken sys/capabilites.h on Linux."Stefan Metzmacher2011-02-033-6/+1
| | | | | | | | This reverts commit c2207e9b2cdec9cd4c32184c668a2c469edb7148. This still doesn't build for me on ClearOS 5.2. metze