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

View File

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