Commit | Line | Data |
---|---|---|
61ec970d | 1 | /* Exim: OS-specific C header file for GNU/Hurd */ |
1e1ddfac | 2 | /* Copyright (c) The Exim Maintainers 2020 */ |
61ec970d PH |
3 | |
4 | #define CRYPT_H | |
17ffcae7 | 5 | #define GLIBC_IP_OPTIONS |
17ffcae7 | 6 | #define HAVE_BSD_GETLOADAVG |
6f5a440a | 7 | #define HAVE_MMAP |
61ec970d PH |
8 | #define HAVE_SYS_VFS_H |
9 | #define NO_IP_VAR_H | |
17ffcae7 | 10 | #define SIG_IGN_WORKS |
6f5a440a | 11 | #define SIOCGIFCONF_GIVES_ADDR |
61ec970d PH |
12 | |
13 | #define F_FREESP O_TRUNC | |
14 | typedef struct flock flock_t; | |
15 | ||
16 | #define os_strsignal strsignal | |
17 | #define OS_STRSIGNAL | |
18 | ||
17ffcae7 PH |
19 | /* Hurd-specific bits below */ |
20 | ||
9c19b270 JH |
21 | /* default is non-const */ |
22 | #define ICONV_ARG2_TYPE const char ** | |
23 | ||
25ef0f44 | 24 | /* setgroups(0, NULL) succeeds, and drops the gid group |
847a015a | 25 | as well as any supplementary groups*/ |
25ef0f44 JH |
26 | #define OS_SETGROUPS_ZERO_DROPS_ALL |
27 | ||
61ec970d | 28 | /* End */ |