blob: 1a2f3643db4e32959726f8f647adc06dcb468603 [file] [log] [blame]
Brad Bishop95dbbac2019-12-02 13:55:25 -05001From f3073b8e06a607677d47ad9a19533b2e33408a4f Mon Sep 17 00:00:00 2001
2From: Christopher Larson <chris_larson@mentor.com>
3Date: Wed, 5 Sep 2018 23:21:43 +0500
4Subject: [PATCH] check-setuid: use more portable find args
5
6Signed-off-by: Christopher Larson <chris_larson@mentor.com>
7---
8 plugins/check-setuid | 6 +++---
9 1 file changed, 3 insertions(+), 3 deletions(-)
10
Patrick Williams8e7b46e2023-05-01 14:19:06 -050011Index: checksecurity-2.0.16+nmu1/plugins/check-setuid
Brad Bishop95dbbac2019-12-02 13:55:25 -050012===================================================================
Patrick Williams8e7b46e2023-05-01 14:19:06 -050013--- checksecurity-2.0.16+nmu1.orig/plugins/check-setuid
14+++ checksecurity-2.0.16+nmu1/plugins/check-setuid
15@@ -100,7 +100,7 @@ ionice -t -c3 \
Brad Bishop95dbbac2019-12-02 13:55:25 -050016 find `mount | grep -vE "$CHECKSECURITY_FILTER" | cut -d ' ' -f 3` \
Brad Bishop95dbbac2019-12-02 13:55:25 -050017 -ignore_readdir_race \
Patrick Williams8e7b46e2023-05-01 14:19:06 -050018 -xdev $PATHCHK \
19- \( -type f -perm /06000 -o \( \( -type b -o -type c \) \
20+ \( -type f \( -perm -4000 -o -perm -2000 \) -o \( \( -type b -o -type c \) \
21 $DEVCHK \) \) \
Brad Bishop95dbbac2019-12-02 13:55:25 -050022 -printf "%8i %5m %3n %-10u %-10g %9s %t %h/%f\n" |
Patrick Williams8e7b46e2023-05-01 14:19:06 -050023 sort -k 12 >$TMPSETUID