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
|
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
|
||||||
|
10
configure.ac
10
configure.ac
@@ -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
|
||||||
|
Reference in New Issue
Block a user