Disable noexec for HP-UX 10.x which probably doesn't support LD_PRELOAD
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 14 Nov 2016 23:42:16 +0000 (16:42 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 14 Nov 2016 23:42:16 +0000 (16:42 -0700)
configure
configure.ac

index d7e74c5515de05f62641d9a28e8436dcb328ab4a..6bce2516c6d1c1430f0dfa17dc919fb9206a1529 100755 (executable)
--- a/configure
+++ b/configure
@@ -15069,6 +15069,8 @@ $as_echo "$sudo_cv_var_daportable" >&6; }
                            shadow_libs="-lsec"
                            # HP-UX 10.20 libc has an incompatible getline
                            ac_cv_func_getline="no"
+                           # HP-UX 10.x doesn't support LD_PRELOAD
+                           with_noexec=no
                        ;;
                        *)
                            shadow_funcs="getspnam iscomsec"
index fef8d5b5e1bd0b2728eab4f5efdacc7be7a96531..f34b73318ba0600bc5ea6a72deb639fdea9d1c44 100644 (file)
@@ -1840,6 +1840,8 @@ case "$host" in
                            shadow_libs="-lsec"
                            # HP-UX 10.20 libc has an incompatible getline
                            ac_cv_func_getline="no"
+                           # HP-UX 10.x doesn't support LD_PRELOAD
+                           with_noexec=no
                        ;;
                        *)
                            shadow_funcs="getspnam iscomsec"