summaryrefslogtreecommitdiffstats
path: root/CVSROOT/cvs_acls.pl
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-10-22 23:13:09 +0000
committerjoe <joe@FreeBSD.org>2001-10-22 23:13:09 +0000
commitcc6e0e6a3aa5b63861d3ca2de73d68c3a7474023 (patch)
tree9adc3ac3f9760fe3e42be4e3cbd783220434bb14 /CVSROOT/cvs_acls.pl
parent4ac6052ef71daa31693c6306a7ce898e7fdb830e (diff)
downloadFreeBSD-ports-cc6e0e6a3aa5b63861d3ca2de73d68c3a7474023.zip
FreeBSD-ports-cc6e0e6a3aa5b63861d3ca2de73d68c3a7474023.tar.gz
Back out the last commit. Looking through the cvs source code it's
not safe to rely on CVS_USER just yet. It doesn't get cleared in normal mode, so it would be possible for a local user to pretend that someone else made a commit in the email (even though the repository itself was correct.)
Diffstat (limited to 'CVSROOT/cvs_acls.pl')
-rwxr-xr-xCVSROOT/cvs_acls.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/CVSROOT/cvs_acls.pl b/CVSROOT/cvs_acls.pl
index 3cf9b7a..27b8e09 100755
--- a/CVSROOT/cvs_acls.pl
+++ b/CVSROOT/cvs_acls.pl
@@ -83,8 +83,7 @@ use CVSROOT::cfg;
my $debug = $cfg::DEBUG;
my $cvsroot = $ENV{'CVSROOT'};
my $availfile = $cvsroot . "/CVSROOT/avail";
-my $myname = $ENV{"CVS_USER"} || $ENV{"LOGNAME"} || $ENV{"USER"} || "unknown";
-
+my $myname = $ENV{"LOGNAME"} || $ENV{"USER"};
my $die = '';
eval "print STDERR \$die='Unknown parameter $1\n' if !defined \$$1; \$$1=\$';"
OpenPOWER on IntegriCloud