From: Todd C. Miller Date: Sat, 13 Aug 2011 17:36:37 +0000 (-0400) Subject: Disable noexec for AIX < 5. LDR_PRELOAD is only available in AIX X-Git-Tag: SUDO_1_7_7~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=30e4523db96ca2041860722b182744372309040d;p=sudo Disable noexec for AIX < 5. LDR_PRELOAD is only available in AIX 5.3 and above. --HG-- branch : 1.7 --- diff --git a/configure b/configure index 4b52b4ec1..b8f7e2317 100755 --- a/configure +++ b/configure @@ -13744,6 +13744,11 @@ fi with_netsvc="/etc/netsvc.conf" fi + # LDR_PRELOAD is supported in AIX 5.3 and later + case "$OSREV" in + 1-4.*) with_noexec=no ;; + esac + # AIX-specific functions for ac_func in getuserattr setauthdb do : diff --git a/configure.in b/configure.in index aa9d8aa2b..ae0c47b51 100644 --- a/configure.in +++ b/configure.in @@ -1486,6 +1486,11 @@ case "$host" in with_netsvc="/etc/netsvc.conf" fi + # LDR_PRELOAD is supported in AIX 5.3 and later + case "$OSREV" in + [1-4].*) with_noexec=no ;; + esac + # AIX-specific functions AC_CHECK_FUNCS(getuserattr setauthdb) COMMON_OBJS="$COMMON_OBJS aix.o"