aboutsummaryrefslogtreecommitdiff
path: root/config.h.cmake
AgeCommit message (Collapse)AuthorFilesLines
2019-02-20cmake: Remove unused config.h variablesAndreas Schneider1-5/+0
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2018-11-13swrap: Also log the process nameAndreas Schneider1-0/+6
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2018-08-17cmake: Require at least cmake 3.2.0Andreas Schneider1-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>
2017-07-27swrap: Suppress intentional fall through warningAnoop C S1-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>
2017-04-06cmake: Check for fopen64() functionAndreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2017-04-06cmake: Check for open64() functionAndreas Schneider1-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>
2016-10-20cmake: Check for constructor attributeAndreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2016-05-03swrap: Add support for accept4()Andreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
2016-05-03swrap: Add support for running on OpenBSDAndreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Böhme <slow@samba.org>
2014-10-20src: Add support for running with address sanitizer.Andreas Schneider1-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>
2014-10-01swrap: Add support for eventfd with unsigned count variable.Andreas Schneider1-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>
2014-06-01swrap: add check for rpc/rpc.h - needed on freebsd for bindresvportMichael Adam1-0/+1
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2014-05-31swrap: Add support for bindresvport().Andreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2014-05-26swrap: Check if the in_pktinfo structure is available.Andreas Schneider1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2014-05-21cmake: Add check for HAVE_STRUCT_IN6_PKTINFO.Andreas Schneider1-0/+4
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-05-08swrap: use LIBC_SO from GNU libc, if availablePino Toscano1-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>
2014-01-28src: Add timerfd_create() to handle stale fds.Andreas Schneider1-0/+2
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-01-28src: Add eventfd() to handle stale fds.Andreas Schneider1-0/+2
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-01-28src: Add signalfd() to handle stale fds.Andreas Schneider1-0/+3
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2014-01-21cmake: Check for HAVE_STRUCT_MSGHDR_MSG_CONTROL.Andreas Schneider1-0/+1
2014-01-21cmake: Fix HAVE_STRUCT_SOCKADDR_SA_LEN detection.Andreas Schneider1-0/+4
2013-12-11Fix formatting of variables of type pid_tJakub Hrozek1-0/+2
2013-12-11cmake: Detect attribute formatJakub Hrozek1-0/+1
2013-12-05swrap: Add swrap_libc_init() function.Andreas Schneider1-0/+1
2013-07-08src: Fix build on OpenIndiana.Andreas Schneider1-0/+3
2013-07-05src: Correctly load symbols on APPLE.Andreas Schneider1-0/+2
2013-07-03cmake: Check for getimeofday on MacOSX correctly.Andreas Schneider1-0/+1
2013-07-03cmake: Check for Thread Local Storage.Andreas Schneider1-0/+1
2013-06-30src: Add a destructor to cleanup unix socket files.Andreas Schneider1-0/+1
2013-02-07cmake: Check correctly for IPv6.Andreas Schneider1-21/+1
2013-02-07Initial commit.Andreas Schneider1-0/+58