diff options
author | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2022-05-01 09:54:49 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> | 2022-05-19 17:53:44 +0100 |
commit | 28003a95818e4d096e18c687a8bddd8584656154 (patch) | |
tree | 9b73a01423cbc44ba1e3650c1b02be0a805fc112 | |
parent | 25a3e84cd74241d6a980e0b614d5620de58fc535 (diff) | |
download | perl-28003a95818e4d096e18c687a8bddd8584656154.tar.gz |
Revert "Add Configure question for taint support"
This reverts commit 39f8eb4a21670e6b973dcfc86d0b1339064f5642.
This is because of a variety of issues discussed #19657 and at the PSC
meeting 064 2022-04-22
https://www.nntp.perl.org/group/perl.perl5.porters/2022/04/msg263670.html
-rwxr-xr-x | Configure | 44 | ||||
-rw-r--r-- | Cross/config.sh-arm-linux | 1 | ||||
-rw-r--r-- | Cross/config.sh-arm-linux-n770 | 1 | ||||
-rw-r--r-- | Porting/config.sh | 1 | ||||
-rw-r--r-- | configure.com | 1 | ||||
-rw-r--r-- | metaconfig.h | 1 | ||||
-rw-r--r-- | plan9/config_sh.sample | 1 | ||||
-rw-r--r-- | uconfig.h | 2 | ||||
-rw-r--r-- | uconfig.sh | 1 | ||||
-rw-r--r-- | uconfig64.sh | 1 | ||||
-rw-r--r-- | win32/config.gc | 1 | ||||
-rw-r--r-- | win32/config.vc | 1 |
12 files changed, 2 insertions, 54 deletions
@@ -1333,7 +1333,6 @@ stdchar='' d_stdio_stream_array='' stdio_stream_array='' sysman='' -taint_support='' sGMTIME_max='' sGMTIME_min='' sLOCALTIME_max='' @@ -7306,40 +7305,6 @@ esac : confusing anyway. installstyle=$dflt -: U/perl/taint_support.U - do we want taint support? -case "$taint_support" in - $undef|false|[Nn]*) - dflt="n" - ;; - *) - dflt="y" - ;; -esac -cat >&4 <<EOM - - -Perl can provide a set of special security checks, which are known -as taint mode. The most well-known of these is that data derived -from outside your program should not be trusted ("is tainted") -until you have checked it. - -These days there are many more security considerations, and as a result -taint mode isn't widely used. But support for it adds a runtime overhead, -whether or not you use it. As a result, you can choose to build Perl -without taint support. - -EOM -rp='Do you want to build Perl with taint support?' -. ./myread -case "$ans" in -$undef|false|n|N) val="$undef" - ccflags="$ccflags -DSILENT_NO_TAINT_SUPPORT" - ;; -*) val="$define" ;; -esac -set taint_support -eval $setvar - : determine where public executables go echo " " set dflt bin bin @@ -7365,13 +7330,7 @@ cat <<EOM Would you like to build Perl so that the installation is relocatable, so that library paths in @INC are determined relative to the path of the perl binary? This is not advised for system Perl installs, or if you need to run setid -EOM -if test "X$taint_support" = "X$define"; then - echo "scripts or scripts under taint mode." >&4 -else - echo "scripts." >&4 -fi -cat <<EOM +scripts or scripts under taint mode. If this doesn't make any sense to you, just accept the default '$dflt'. EOM @@ -25612,7 +25571,6 @@ subversion='$subversion' sysman='$sysman' sysroot='$sysroot' tail='$tail' -taint_support='$taint_support' tar='$tar' targetarch='$targetarch' targetdir='$targetdir' diff --git a/Cross/config.sh-arm-linux b/Cross/config.sh-arm-linux index d57f2fb915..7f898cc78f 100644 --- a/Cross/config.sh-arm-linux +++ b/Cross/config.sh-arm-linux @@ -1100,7 +1100,6 @@ submit='' subversion='12' sysman='/usr/share/man/man1' tail='' -taint_support='define' tar='' targetarch='' targetsh='/bin/sh' diff --git a/Cross/config.sh-arm-linux-n770 b/Cross/config.sh-arm-linux-n770 index 39dc40bc94..13454eb986 100644 --- a/Cross/config.sh-arm-linux-n770 +++ b/Cross/config.sh-arm-linux-n770 @@ -1098,7 +1098,6 @@ submit='' subversion='12' sysman='/usr/share/man/man1' tail='' -taint_support='define' tar='' targetarch='' targetsh='/bin/sh' diff --git a/Porting/config.sh b/Porting/config.sh index 527d65bba5..318de875dd 100644 --- a/Porting/config.sh +++ b/Porting/config.sh @@ -1129,7 +1129,6 @@ subversion='12' sysman='/usr/share/man/man1' sysroot='' tail='' -taint_support='define' tar='' targetarch='' targetdir='' diff --git a/configure.com b/configure.com index 783c28f2c5..1ea419785b 100644 --- a/configure.com +++ b/configure.com @@ -7181,7 +7181,6 @@ $ WC "srandom_r_proto='0'" $ WC "strerror_r_proto='0'" $ WC "tmpnam_r_proto='0'" $ WC "ttyname_r_proto='" + ttyname_r_proto + "'" -$ WC "taint_support='define'" $! $! ##END WRITE NEW CONSTANTS HERE## $! diff --git a/metaconfig.h b/metaconfig.h index 0743175c33..46d4ab1a8b 100644 --- a/metaconfig.h +++ b/metaconfig.h @@ -18,6 +18,5 @@ * HAS_NL_LANGINFO_L * HAS_FFS * HAS_FFSL - * HAS_TAINT_SUPPORT * */ diff --git a/plan9/config_sh.sample b/plan9/config_sh.sample index 83511d144d..bc3adbfeec 100644 --- a/plan9/config_sh.sample +++ b/plan9/config_sh.sample @@ -1071,7 +1071,6 @@ submit='' subversion='12' sysman='/sys/man/1pub' tail='' -taint_support='define' tar='' targetarch='' targetsh='/bin/sh' @@ -5341,5 +5341,5 @@ /* Generated from: * 87e5998978daf803d19866c43bca24d7c01dc74119650db16f8d18d83f355da9 config_h.SH - * d2b99db76a1e672884635a578054d9dde08fa174910b94d55fa0698706334ee3 uconfig.sh + * 192cfd7d6b90e7961582dadbf7e6ae6de3e4fa6ffde19a0f7148a8572ec635f9 uconfig.sh * ex: set ro: */ diff --git a/uconfig.sh b/uconfig.sh index c2ed9d1ba0..08ff3dae1d 100644 --- a/uconfig.sh +++ b/uconfig.sh @@ -865,7 +865,6 @@ stdio_filbuf='' stdio_ptr='((fp)->_IO_read_ptr)' stdio_stream_array='' strerror_r_proto='0' -taint_support='define' targetarch='' targetsh='/bin/sh' timetype=time_t diff --git a/uconfig64.sh b/uconfig64.sh index 238dcc94e9..c64ef0f015 100644 --- a/uconfig64.sh +++ b/uconfig64.sh @@ -865,7 +865,6 @@ stdio_filbuf='' stdio_ptr='((fp)->_IO_read_ptr)' stdio_stream_array='' strerror_r_proto='0' -taint_support='define' targetarch='' targetsh='/bin/sh' timetype=time_t diff --git a/win32/config.gc b/win32/config.gc index 9d44768f64..271627a2d2 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -1095,7 +1095,6 @@ submit='' subversion='~PERL_SUBVERSION~' sysman='/usr/man/man1' tail='' -taint_support='define' tar='' targetarch='' targetsh='cmd /x /c' diff --git a/win32/config.vc b/win32/config.vc index 50ba5c16cf..ced877942a 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -1094,7 +1094,6 @@ submit='' subversion='~PERL_SUBVERSION~' sysman='/usr/man/man1' tail='' -taint_support='define' tar='' targetarch='' targetsh='cmd /x /c' |