Don't enable noexec for AIX 5.0-5.2, we need 5.3 and above.

This commit is contained in:
Todd C. Miller
2016-11-14 11:00:43 -07:00
parent 07cc9d8153
commit 60bf139451
2 changed files with 10 additions and 10 deletions

10
configure vendored
View File

@@ -14882,11 +14882,11 @@ fi
fi fi
# LDR_PRELOAD is only supported in AIX 5.3 and later # LDR_PRELOAD is only supported in AIX 5.3 and later
if test $OSMAJOR -lt 5; then case "$OSREV" in
with_noexec=no [1-4].*) with_noexec=no;;
else 5.[1-2]*) with_noexec=no;;
RTLD_PRELOAD_VAR="LDR_PRELOAD" *) RTLD_PRELOAD_VAR="LDR_PRELOAD";;
fi esac
# Remove timedir on boot, AIX does not have /var/run # Remove timedir on boot, AIX does not have /var/run
INIT_SCRIPT=aix.sh INIT_SCRIPT=aix.sh

View File

@@ -1737,11 +1737,11 @@ case "$host" in
fi fi
# LDR_PRELOAD is only supported in AIX 5.3 and later # LDR_PRELOAD is only supported in AIX 5.3 and later
if test $OSMAJOR -lt 5; then case "$OSREV" in
with_noexec=no [[1-4]].*) with_noexec=no;;
else 5.[[1-2]]*) with_noexec=no;;
RTLD_PRELOAD_VAR="LDR_PRELOAD" *) RTLD_PRELOAD_VAR="LDR_PRELOAD";;
fi esac
# Remove timedir on boot, AIX does not have /var/run # Remove timedir on boot, AIX does not have /var/run
INIT_SCRIPT=aix.sh INIT_SCRIPT=aix.sh