summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@sudo.ws>2022-09-21 19:08:12 -0600
committerTodd C. Miller <Todd.Miller@sudo.ws>2022-09-21 19:08:12 -0600
commit9e65960aec813da320391b09aa67879f1e666317 (patch)
tree5ef04ee48ca0185519c91e73fdc495707d8aa047 /configure.ac
parent912338f569bea4881e1b7850db154df4f4a01427 (diff)
downloadsudo-9e65960aec813da320391b09aa67879f1e666317.tar.gz
Add fchownat() systems without it.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 427bfa794..54f2c5e5a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2873,6 +2873,10 @@ AC_CHECK_FUNCS(nanosleep, [], [
SUDO_APPEND_COMPAT_EXP(sudo_nanosleep)
])
])
+AC_CHECK_FUNCS([fchownat], [], [
+ AC_LIBOBJ(fchownat)
+ SUDO_APPEND_COMPAT_EXP(sudo_fchownat)
+])
AC_CHECK_FUNCS([mkdirat], [], [
AC_LIBOBJ(mkdirat)
SUDO_APPEND_COMPAT_EXP(sudo_mkdirat)