summaryrefslogtreecommitdiff
path: root/pod/perlrun.pod
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2016-12-08 09:38:55 +1100
committerTony Cook <tony@develop-help.com>2017-09-11 10:59:43 +1000
commitd62950713a9b1969a52015f065537f4a2cc224f3 (patch)
treee9808532fdccef3815b692898882118256d20738 /pod/perlrun.pod
parent929344c06d753c7727ddb290d2b5b2dd62462cc5 (diff)
downloadperl-d62950713a9b1969a52015f065537f4a2cc224f3.tar.gz
(perl #127663) provide limited control for the internal drand48()
perl can be built without PERL_INTERNAL_RAND_SEED support to reduce it's attack surface.
Diffstat (limited to 'pod/perlrun.pod')
-rw-r--r--pod/perlrun.pod12
1 files changed, 12 insertions, 0 deletions
diff --git a/pod/perlrun.pod b/pod/perlrun.pod
index f32c8edc98..b5e4c06517 100644
--- a/pod/perlrun.pod
+++ b/pod/perlrun.pod
@@ -1392,6 +1392,18 @@ X<SYS$LOGIN>
Used if chdir has no argument and HOME and LOGDIR are not set.
+=item PERL_INTERNAL_RAND_SEED
+X<PERL_INTERNAL_RAND_SEED>
+
+Set to a non-negative integer to seed the random number generator used
+internally by perl for a variety of purposes.
+
+Ignored if perl is run setuid or setgid. Used only for some limited
+startup randomization (hash keys) if C<-T> or C<-t> perl is started
+with tainting enabled.
+
+Perl may be built to ignore this variable.
+
=back
Perl also has environment variables that control how Perl handles data