chiark
/
gitweb
/
~mdw
/
userv-utils
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-daemon: tweak comments
[userv-utils]
/
git-daemon
/
git-daemon.pl
diff --git
a/git-daemon/git-daemon.pl
b/git-daemon/git-daemon.pl
index 1cd36a41187da077d18de7128524ee5745cc740b..9404ccaf88c888df7a051c2887b015a87f878ebb 100755
(executable)
--- a/
git-daemon/git-daemon.pl
+++ b/
git-daemon/git-daemon.pl
@@
-2,10
+2,6
@@
#
# A git daemon with an added userv security boundary.
#
#
# A git daemon with an added userv security boundary.
#
-# This reads the first packet-line of the protocol, checks the syntax
-# of the pathname and hostname, then uses userv to invoke the
-# git-upload-pack as the target user with safe arguments.
-#
# This was written by Tony Finch <dot@dotat.at>
# You may do anything with it, at your own risk.
# http://creativecommons.org/publicdomain/zero/1.0/
# This was written by Tony Finch <dot@dotat.at>
# You may do anything with it, at your own risk.
# http://creativecommons.org/publicdomain/zero/1.0/
@@
-17,7
+13,7
@@
use POSIX;
use Socket;
use Sys::Syslog;
use Socket;
use Sys::Syslog;
-use lib '/etc/userv';
+use lib '/etc/userv';
# for git-daemon-urlmap.pl
sub ntoa {
my $sockaddr = shift;
sub ntoa {
my $sockaddr = shift;