diff options
Diffstat (limited to 'dynamic-layers/meta-perl/recipes-scanners/checksecurity/files/check-setuid-use-more-portable-find-args.patch')
| -rw-r--r-- | dynamic-layers/meta-perl/recipes-scanners/checksecurity/files/check-setuid-use-more-portable-find-args.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dynamic-layers/meta-perl/recipes-scanners/checksecurity/files/check-setuid-use-more-portable-find-args.patch b/dynamic-layers/meta-perl/recipes-scanners/checksecurity/files/check-setuid-use-more-portable-find-args.patch index f1fe8ed..1a2f364 100644 --- a/dynamic-layers/meta-perl/recipes-scanners/checksecurity/files/check-setuid-use-more-portable-find-args.patch +++ b/dynamic-layers/meta-perl/recipes-scanners/checksecurity/files/check-setuid-use-more-portable-find-args.patch | |||
| @@ -8,16 +8,16 @@ Signed-off-by: Christopher Larson <chris_larson@mentor.com> | |||
| 8 | plugins/check-setuid | 6 +++--- | 8 | plugins/check-setuid | 6 +++--- |
| 9 | 1 file changed, 3 insertions(+), 3 deletions(-) | 9 | 1 file changed, 3 insertions(+), 3 deletions(-) |
| 10 | 10 | ||
| 11 | Index: checksecurity-2.0.15/plugins/check-setuid | 11 | Index: checksecurity-2.0.16+nmu1/plugins/check-setuid |
| 12 | =================================================================== | 12 | =================================================================== |
| 13 | --- checksecurity-2.0.15.orig/plugins/check-setuid 2018-09-06 00:49:23.930934294 +0500 | 13 | --- checksecurity-2.0.16+nmu1.orig/plugins/check-setuid |
| 14 | +++ checksecurity-2.0.15/plugins/check-setuid 2018-09-06 00:49:49.694934757 +0500 | 14 | +++ checksecurity-2.0.16+nmu1/plugins/check-setuid |
| 15 | @@ -99,7 +99,7 @@ | 15 | @@ -100,7 +100,7 @@ ionice -t -c3 \ |
| 16 | ionice -t -c3 \ | ||
| 17 | find `mount | grep -vE "$CHECKSECURITY_FILTER" | cut -d ' ' -f 3` \ | 16 | find `mount | grep -vE "$CHECKSECURITY_FILTER" | cut -d ' ' -f 3` \ |
| 17 | -ignore_readdir_race \ | ||
| 18 | -xdev $PATHCHK \ | 18 | -xdev $PATHCHK \ |
| 19 | - \( -type f -perm +06000 -o \( \( -type b -o -type c \) \ | 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 \) \ | 20 | + \( -type f \( -perm -4000 -o -perm -2000 \) -o \( \( -type b -o -type c \) \ |
| 21 | $DEVCHK \) \) \ | 21 | $DEVCHK \) \) \ |
| 22 | -ignore_readdir_race \ | ||
| 23 | -printf "%8i %5m %3n %-10u %-10g %9s %t %h/%f\n" | | 22 | -printf "%8i %5m %3n %-10u %-10g %9s %t %h/%f\n" | |
| 23 | sort -k 12 >$TMPSETUID | ||
