* Added autotool check for getresuid (and related functions) necessary for lowering of priviliges for backend and restconf

* If getresuid is not available, CLICON_RESTCONF_PRIVILEGES must be set to 'none'
This commit is contained in:
Olof hagsand 2021-06-11 11:02:22 +02:00
parent e24e2eb78b
commit 5ead099d0b
6 changed files with 26 additions and 3 deletions

View file

@ -30,6 +30,9 @@
/* Define to 1 if you have the `getpeereid' function. */
#undef HAVE_GETPEEREID
/* Define to 1 if you have the `getresuid' function. */
#undef HAVE_GETRESUID
/* Define to 1 if you have the `inet_aton' function. */
#undef HAVE_INET_ATON