ALT Linux Bugzilla
– Attachment 8940 Details for
Bug 38771
Account all types of changes
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Патч для отслеживания всех типов изменений
osec-1.3.0-allchanges.patch (text/plain), 1.39 KB, created by
manowar@altlinux.org
on 2020-09-08 19:16:32 MSK
(
hide
)
Description:
Патч для отслеживания всех типов изменений
Filename:
MIME Type:
Creator:
manowar@altlinux.org
Created:
2020-09-08 19:16:32 MSK
Size:
1.39 KB
patch
obsolete
> data/osec.cron | 7 +++++++ > data/osec_reporter | 2 +- > 2 files changed, 8 insertions(+), 1 deletion(-) > >diff --git a/data/osec.cron b/data/osec.cron >index 8daed49..5e93407 100755 >--- a/data/osec.cron >+++ b/data/osec.cron >@@ -133,8 +133,15 @@ while read l; do > exit 0 > ;; > 'New files added to control:') t='ADDED' ;; >+ 'New dangerous files:') t='ADDED' ;; > 'Changed controlled files:') t='CHANGED' ;; >+ 'Changed dangerous files:') t='CHANGED' ;; >+ 'These regular files turned into symlinks:') t='CHANGED' ;; >+ 'These symlinks changed their target:') t='CHANGED' ;; >+ 'Changed extended attributes:') t='CHANGED' ;; >+ 'Changes in SELINUX policy:') t='CHANGED' ;; > 'Removed from control:') t='REMOVED' ;; >+ 'Removed from dangerous files list:') t='REMOVED' ;; > '- /'*) [ -z "${t-}" ] || eval "$t=\$((\$t+1))" ;; > esac > done < "$TEMPFILE" >diff --git a/data/osec_reporter b/data/osec_reporter >index 31d2dba..7e137b3 100755 >--- a/data/osec_reporter >+++ b/data/osec_reporter >@@ -184,7 +184,7 @@ print "\nThis is a report generated by osec at '$date'\n\n"; > if (%new_bad_files or %del_bad_files or %change_bad_files) { > print "-- PLEASE PAY ATTENTION TO --\n"; > if (%new_bad_files) { >- print "New dangerous files :\n"; >+ print "New dangerous files:\n"; > print "\t- $_ is $new_bad_files{$_}\n" > foreach (sort keys %new_bad_files); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 38771
: 8940