1From 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 6Upstream-Status: Pending 7Signed-off-by: Christopher Larson <chris_larson@mentor.com> 8--- 9 plugins/check-setuid | 6 +++--- 10 1 file changed, 3 insertions(+), 3 deletions(-) 11 12Index: checksecurity-2.0.16+nmu1/plugins/check-setuid 13=================================================================== 14--- checksecurity-2.0.16+nmu1.orig/plugins/check-setuid 15+++ checksecurity-2.0.16+nmu1/plugins/check-setuid 16@@ -100,7 +100,7 @@ ionice -t -c3 \ 17 find `mount | grep -vE "$CHECKSECURITY_FILTER" | cut -d ' ' -f 3` \ 18 -ignore_readdir_race \ 19 -xdev $PATHCHK \ 20- \( -type f -perm /06000 -o \( \( -type b -o -type c \) \ 21+ \( -type f \( -perm -4000 -o -perm -2000 \) -o \( \( -type b -o -type c \) \ 22 $DEVCHK \) \) \ 23 -printf "%8i %5m %3n %-10u %-10g %9s %t %h/%f\n" | 24 sort -k 12 >$TMPSETUID 25