summaryrefslogtreecommitdiff
path: root/pod/perltodo.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-01-13 17:08:18 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-01-13 17:08:18 +0000
commitc8d2171d9a4e444fcbc15a9762adc552285c7cab (patch)
tree4b020a6369172bd2aab76b61c2211cdfb694d7da /pod/perltodo.pod
parent501c85f0951266e925a792b39f6b3d8f74be73a4 (diff)
downloadperl-c8d2171d9a4e444fcbc15a9762adc552285c7cab.tar.gz
Anton Berezin did more reading and the uid setting story
gets more complex. p4raw-id: //depot/perl@14236
Diffstat (limited to 'pod/perltodo.pod')
-rw-r--r--pod/perltodo.pod16
1 files changed, 16 insertions, 0 deletions
diff --git a/pod/perltodo.pod b/pod/perltodo.pod
index 1df5fdafca..b09ad22918 100644
--- a/pod/perltodo.pod
+++ b/pod/perltodo.pod
@@ -186,6 +186,22 @@ C<f(?:oo|ar)> and C<[fg]oo> by hand; this could be done automatically.
All the code we ship with Perl needs to be sensible about temporary file
handling, locking, input validation, and so on.
+=head2 Sort out the uid-setting mess
+
+Currently there are several problems with the setting of uids ($<, $>
+for the real and effective uids). Firstly, what exactly setuid() call
+gets invoked in which platform is simply a big mess that needs to be
+untangled. Secondly, the effects are apparently not standard across
+platforms, (if you first set $< and then $>, or vice versa, being
+uid==euid== zero, or just euid==zero, or as a normal user, what are
+the results?). The test suite not (usually) being run as root means
+that these things do not get much testing. Thirdly, there's quite
+often a third uid called saved uid, and Perl has no knowledge of that
+feature in any way. (If one has the saved uid of zero, one can get
+back any real and effective uids.) As an example, to change also the
+saved uid, one needs to set the real and effective uids B<twice>-- in
+most systems, that is: in HP-UX that doesn't seem to work.
+
=head2 Custom opcodes
Have a way to introduce user-defined opcodes without the subroutine call