2013-07-30 15:46:54 +02:00
|
|
|
From e6c176c7d03f377e55d405ebe5d0368f688426c7 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Orion Poplawski <orion@nwra.com>
|
|
|
|
Date: Thu, 11 Jul 2013 12:29:34 -0600
|
|
|
|
Subject: [PATCH] Fix setgroups error name
|
|
|
|
|
|
|
|
---
|
|
|
|
BinariesCheck.py | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2014-02-21 15:54:14 +01:00
|
|
|
Index: rpmlint-1.5/BinariesCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- rpmlint-1.5.orig/BinariesCheck.py
|
|
|
|
+++ rpmlint-1.5/BinariesCheck.py
|
2014-05-08 10:55:44 +02:00
|
|
|
@@ -518,7 +518,7 @@ class BinariesCheck(AbstractCheck.Abstra
|
2013-07-30 15:46:54 +02:00
|
|
|
printError(pkg, 'missing-PT_GNU_STACK-section', fname)
|
|
|
|
|
|
|
|
if bin_info.setgid and bin_info.setuid and not bin_info.setgroups:
|
|
|
|
- printError(pkg, 'missing-call-to-setgroups', fname)
|
|
|
|
+ printError(pkg, 'missing-call-to-setgroups-before-setuid', fname)
|
|
|
|
|
|
|
|
if bin_info.chroot:
|
|
|
|
if not bin_info.chdir or not bin_info.chroot_near_chdir:
|