[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
disabling suidperl in Configure
What's the best way to disable suidperl in Configure for 5.11 and later, whilst
still allowing it for 5.10.Inf and earlier? Something like the appended?
Nicholas Clark
diff --git a/Configure b/Configure
index ed9f4df..08441cd 100755
--- a/Configure
+++ b/Configure
@@ -6366,6 +6366,7 @@ eval $setvar
$rm -f reflect flect
: now see if they want to do setuid emulation
+if $test $patchlevel -lt 11; then
echo " "
val="$undef"
case "$d_suidsafe" in
@@ -6397,6 +6398,20 @@ EOM
esac
set d_dosuid
eval $setvar
+else
+ case "$d_dosuid" in
+ "$define")
+ cat >&4 <<EOH
+
+SUID emulation has been removed for 5.12
+Please re-run Configure without -Dd_dosuid
+
+EOH
+ exit 1;
+ ;;
+ esac
+ d_dosuid=undef
+fi
: Find perl5.005 or later.
echo "Looking for a previously installed perl5.005 or later... "
- Follow-Ups from:
-
Andy Dougherty <doughera@lafayette.edu>
"H.Merijn Brand" <h.m.brand@xs4all.nl>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]