Don't enable noexec for AIX 5.0-5.2, we need 5.3 and above.
This commit is contained in:
10
configure
vendored
10
configure
vendored
@@ -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
|
||||
|
10
configure.ac
10
configure.ac
@@ -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
|
||||
|
Reference in New Issue
Block a user