1d583833aSAndrew GeisslerFrom f3073b8e06a607677d47ad9a19533b2e33408a4f Mon Sep 17 00:00:00 2001 2d583833aSAndrew GeisslerFrom: Christopher Larson <chris_larson@mentor.com> 3d583833aSAndrew GeisslerDate: Wed, 5 Sep 2018 23:21:43 +0500 4d583833aSAndrew GeisslerSubject: [PATCH] check-setuid: use more portable find args 5d583833aSAndrew Geissler 6*520786ccSPatrick WilliamsUpstream-Status: Pending 7d583833aSAndrew GeisslerSigned-off-by: Christopher Larson <chris_larson@mentor.com> 8d583833aSAndrew Geissler--- 9d583833aSAndrew Geissler plugins/check-setuid | 6 +++--- 10d583833aSAndrew Geissler 1 file changed, 3 insertions(+), 3 deletions(-) 11d583833aSAndrew Geissler 128e7b46e2SPatrick WilliamsIndex: checksecurity-2.0.16+nmu1/plugins/check-setuid 13d583833aSAndrew Geissler=================================================================== 148e7b46e2SPatrick Williams--- checksecurity-2.0.16+nmu1.orig/plugins/check-setuid 158e7b46e2SPatrick Williams+++ checksecurity-2.0.16+nmu1/plugins/check-setuid 168e7b46e2SPatrick Williams@@ -100,7 +100,7 @@ ionice -t -c3 \ 17d583833aSAndrew Geissler find `mount | grep -vE "$CHECKSECURITY_FILTER" | cut -d ' ' -f 3` \ 188e7b46e2SPatrick Williams -ignore_readdir_race \ 19d583833aSAndrew Geissler -xdev $PATHCHK \ 208e7b46e2SPatrick Williams- \( -type f -perm /06000 -o \( \( -type b -o -type c \) \ 21d583833aSAndrew Geissler+ \( -type f \( -perm -4000 -o -perm -2000 \) -o \( \( -type b -o -type c \) \ 22d583833aSAndrew Geissler $DEVCHK \) \) \ 23d583833aSAndrew Geissler -printf "%8i %5m %3n %-10u %-10g %9s %t %h/%f\n" | 248e7b46e2SPatrick Williams sort -k 12 >$TMPSETUID 25