From d0dc4df791e8500e89c955a09436f5f2a0385d7e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 10 Jun 2007 22:58:51 +0000 Subject: For bug #81097, detect and report suspicious hardlinks to suid/sgid files. False positives are prevented by doing reference counts for each inode having suid/sgid bits and multiple hardlinks. The security check is done prior to each merge or unmerge phase and it will cause the phase to abort if a problem is found (so that the user can investigate before any files are removed). (trunk r6791:6794) svn path=/main/branches/2.1.2/; revision=6795 --- pym/output.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pym/output.py') diff --git a/pym/output.py b/pym/output.py index bd9c474e6..ca265124a 100644 --- a/pym/output.py +++ b/pym/output.py @@ -127,6 +127,7 @@ codes["BRACKET"] = codes["blue"] # Portage functions codes["INFORM"] = codes["darkgreen"] codes["UNMERGE_WARN"] = codes["red"] +codes["SECURITY_WARN"] = codes["red"] codes["MERGE_LIST_PROGRESS"] = codes["yellow"] def parse_color_map(): -- cgit v1.2.3-1-g7c22