[openwrt/openwrt] build: autoconf: set ac_cv_func_setresuid=true

LEDE Commits lede-commits at lists.infradead.org
Sat Sep 14 17:04:24 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/b1858ffbf30859346317096f2b130d983ca6fae9

commit b1858ffbf30859346317096f2b130d983ca6fae9
Author: Philip Prindeville <philipp at redfish-solutions.com>
AuthorDate: Mon Jul 15 08:54:22 2024 -0600

    build: autoconf: set ac_cv_func_setresuid=true
    
    MUSL and eglibc provide these symbols.
    
    Bind needs setresuid() to build properly in recent versions.
    
    Signed-off-by: Philip Prindeville <philipp at redfish-solutions.com>
    Link: https://github.com/openwrt/openwrt/pull/15952
    (cherry picked from commit 0bd129a5d3b298340e1f6351942a8ccc2ba6eaea)
    Link: https://github.com/openwrt/openwrt/pull/16390
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 include/site/linux | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/site/linux b/include/site/linux
index b193d25c45..63fc3aa6b1 100644
--- a/include/site/linux
+++ b/include/site/linux
@@ -37,7 +37,7 @@ ac_cv_func_rindex=yes
 ac_cv_func_setlocale=yes
 ac_cv_func_setgrent_void=yes
 ac_cv_func_setpgrp_void=yes
-ac_cv_func_setresuid=no
+ac_cv_func_setresuid=yes
 ac_cv_func_setvbuf_reversed=no
 ac_cv_func_stat_empty_string_bug=no
 ac_cv_func_stat_ignores_trailing_slash=no




More information about the lede-commits mailing list