comparison config.h.in @ 1861:2b3a8026a6ce

Add re-exec for server This allows ASLR to re-randomize the address space for every connection, preventing some vulnerabilities from being exploitable by repeated probing. Overhead (memory and time) is yet to be confirmed. At present this is only enabled on Linux. Other BSD platforms with fexecve() would probably also work though have not been tested.
author Matt Johnston <matt@ucc.asn.au>
date Sun, 30 Jan 2022 10:14:56 +0800
parents df7bfd2f7d45
children
comparison
equal deleted inserted replaced
1860:5001e9c5641f 1861:2b3a8026a6ce
91 #undef HAVE_ENDUTXENT 91 #undef HAVE_ENDUTXENT
92 92
93 /* Define to 1 if you have the `explicit_bzero' function. */ 93 /* Define to 1 if you have the `explicit_bzero' function. */
94 #undef HAVE_EXPLICIT_BZERO 94 #undef HAVE_EXPLICIT_BZERO
95 95
96 /* Define to 1 if you have the `fexecve' function. */
97 #undef HAVE_FEXECVE
98
96 /* Define to 1 if you have the `fork' function. */ 99 /* Define to 1 if you have the `fork' function. */
97 #undef HAVE_FORK 100 #undef HAVE_FORK
98 101
99 /* Define to 1 if you have the `freeaddrinfo' function. */ 102 /* Define to 1 if you have the `freeaddrinfo' function. */
100 #undef HAVE_FREEADDRINFO 103 #undef HAVE_FREEADDRINFO
315 /* Define to 1 if `ut_tv' is a member of `struct utmp'. */ 318 /* Define to 1 if `ut_tv' is a member of `struct utmp'. */
316 #undef HAVE_STRUCT_UTMP_UT_TV 319 #undef HAVE_STRUCT_UTMP_UT_TV
317 320
318 /* Define to 1 if `ut_type' is a member of `struct utmp'. */ 321 /* Define to 1 if `ut_type' is a member of `struct utmp'. */
319 #undef HAVE_STRUCT_UTMP_UT_TYPE 322 #undef HAVE_STRUCT_UTMP_UT_TYPE
323
324 /* Define to 1 if you have the <sys/prctl.h> header file. */
325 #undef HAVE_SYS_PRCTL_H
320 326
321 /* Define to 1 if you have the <sys/random.h> header file. */ 327 /* Define to 1 if you have the <sys/random.h> header file. */
322 #undef HAVE_SYS_RANDOM_H 328 #undef HAVE_SYS_RANDOM_H
323 329
324 /* Define to 1 if you have the <sys/select.h> header file. */ 330 /* Define to 1 if you have the <sys/select.h> header file. */