]> granicus.if.org Git - sudo/commitdiff
Disable PIE on FreeBSD/ia64, otherwise sudo will segfault.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Jan 2013 21:21:58 +0000 (16:21 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 1 Jan 2013 21:21:58 +0000 (16:21 -0500)
--HG--
branch : 1.7

configure
configure.in

index fda967189b5cee0e5818c7389c2ad896305e978f..65bdee52c520fb8426efa22d23d1836ea9c766fb 100755 (executable)
--- a/configure
+++ b/configure
@@ -14374,6 +14374,11 @@ done
                CHECKSHADOW="false"
                test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
                : ${with_logincap='maybe'}
+               # PIE is broken on FreeBSD/ia64
+               case "$host_cpu" in
+               ia64*)
+                       enable_pie=no;;
+               esac
                ;;
     *-*-*openbsd*)
                # OpenBSD has a real setreuid(2) starting with 3.3 but
index 753c888a254f110c7aa039142c3f0e63f5cfb618..782b0049b5e51fdb2819ec45ca197bd13c49641c 100644 (file)
@@ -1818,6 +1818,11 @@ case "$host" in
                CHECKSHADOW="false"
                test -z "$with_pam" && AUTH_EXCL_DEF="PAM"
                : ${with_logincap='maybe'}
+               # PIE is broken on FreeBSD/ia64
+               case "$host_cpu" in
+               ia64*)
+                       enable_pie=no;;
+               esac
                ;;
     *-*-*openbsd*)
                # OpenBSD has a real setreuid(2) starting with 3.3 but