summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Remove unused config.h variablesAndreas Schneider2019-02-201-5/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* swrap: Also log the process nameAndreas Schneider2018-11-131-0/+6
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
* cmake: Require at least cmake 3.2.0Andreas Schneider2018-08-171-2/+2
| | | | | | | This allows us to modernize the CMakeLists.txt Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* swrap: Suppress intentional fall through warningAnoop C S2017-07-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Wimplicit-fallthrough compiler flag introduced with gcc v7 results in the following warning during compilation: [ 7%] Building C object src/CMakeFiles/socket_wrapper.dir/socket_wrapper.c.o src/socket_wrapper.c: In function ‘sockaddr_convert_to_un’: src/socket_wrapper.c:1846:18: warning: this statement may fall through [-Wimplicit-fallthrough=] case AF_UNSPEC: { ^ /src/socket_wrapper.c:1866:2: note: here case AF_INET: ^~~~ Default level for -Wimplicit-fallthrough(which is 3) allows us to get rid of the above warning using specific comments made within switch cases matching the regular expressions outlined in gcc docs[1]. But for us the presence of preprocessor directives in the vicinity of such comments nullifies its effect[2]. So our best bet would be to make use of the reliable fallthrough attribute and supress such warnings in future. [1] https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-fallthrough [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77817 Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* cmake: Check for fopen64() functionAndreas Schneider2017-04-061-0/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* cmake: Check for open64() functionAndreas Schneider2017-04-061-0/+1
| | | | | | | BUG: https://bugzilla.samba.org/show_bug.cgi?id=12694 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* cmake: Check for constructor attributeAndreas Schneider2016-10-201-0/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* swrap: Add support for accept4()Andreas Schneider2016-05-031-0/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
* swrap: Add support for running on OpenBSDAndreas Schneider2016-05-031-0/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
* src: Add support for running with address sanitizer.Andreas Schneider2014-10-201-0/+1
| | | | | | | | It address sanitzer will complain about our hack with variable function attributes. This disables the checking of it. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* swrap: Add support for eventfd with unsigned count variable.Andreas Schneider2014-10-011-0/+1
| | | | | | | The prototype in glibc 2.20.90 changed. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* swrap: add check for rpc/rpc.h - needed on freebsd for bindresvportMichael Adam2014-06-011-0/+1
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* swrap: Add support for bindresvport().Andreas Schneider2014-05-311-0/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* swrap: Check if the in_pktinfo structure is available.Andreas Schneider2014-05-261-0/+1
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* cmake: Add check for HAVE_STRUCT_IN6_PKTINFO.Andreas Schneider2014-05-211-0/+4
| | | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* swrap: use LIBC_SO from GNU libc, if availablePino Toscano2014-05-081-0/+1
| | | | | | | | | Look for gnu/lib-names.h and use the LIBC_SO define to dlopen libc, so the right library is loaded without manually searching for libc.so.N. Signed-off-by: Pino Toscano <toscano.pino@tiscali.it> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* src: Add timerfd_create() to handle stale fds.Andreas Schneider2014-01-281-0/+2
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* src: Add eventfd() to handle stale fds.Andreas Schneider2014-01-281-0/+2
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* src: Add signalfd() to handle stale fds.Andreas Schneider2014-01-281-0/+3
| | | | Reviewed-by: Stefan Metzmacher <metze@samba.org>
* cmake: Check for HAVE_STRUCT_MSGHDR_MSG_CONTROL.Andreas Schneider2014-01-211-0/+1
|
* cmake: Fix HAVE_STRUCT_SOCKADDR_SA_LEN detection.Andreas Schneider2014-01-211-0/+4
|
* Fix formatting of variables of type pid_tJakub Hrozek2013-12-111-0/+2
|
* cmake: Detect attribute formatJakub Hrozek2013-12-111-0/+1
|
* swrap: Add swrap_libc_init() function.Andreas Schneider2013-12-051-0/+1
|
* src: Fix build on OpenIndiana.Andreas Schneider2013-07-081-0/+3
|
* src: Correctly load symbols on APPLE.Andreas Schneider2013-07-051-0/+2
|
* cmake: Check for getimeofday on MacOSX correctly.Andreas Schneider2013-07-031-0/+1
|
* cmake: Check for Thread Local Storage.Andreas Schneider2013-07-031-0/+1
|
* src: Add a destructor to cleanup unix socket files.Andreas Schneider2013-06-301-0/+1
|
* cmake: Check correctly for IPv6.Andreas Schneider2013-02-071-21/+1
|
* Initial commit.Andreas Schneider2013-02-071-0/+58