]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'cb/path-owner-check-with-sudo-plus'
authorJunio C Hamano <gitster@pobox.com>
Sat, 18 Jun 2022 00:12:31 +0000 (17:12 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 18 Jun 2022 00:12:31 +0000 (17:12 -0700)
"sudo git foo" used to consider a repository owned by the original
user a safe one to access; it now also considers a repository owned
by root a safe one, too (after all, if an attacker can craft a
malicious repository owned by root, the box is 0wned already).

* cb/path-owner-check-with-sudo-plus:
  git-compat-util: allow root to access both SUDO_UID and root owned

1  2 
Documentation/config/safe.txt
git-compat-util.h

Simple merge
Simple merge