Blame SOURCES/audit-2.7.1-rhel7-fixup.patch
|
|
ad8605 |
diff -urp audit-2.7.1.orig/auparse/classify.c audit-2.7.1/auparse/classify.c
|
|
|
ad8605 |
--- audit-2.7.1.orig/auparse/normalize.c 2016-12-21 19:00:51.000000000 -0500
|
|
|
ad8605 |
+++ audit-2.7.1/auparse/normalize.c 2016-12-22 12:22:21.259800153 -0500
|
|
|
ad8605 |
@@ -241,7 +241,7 @@ static void simple_file_attr(auparse_sta
|
|
|
ad8605 |
switch (type)
|
|
|
ad8605 |
{
|
|
|
ad8605 |
case AUDIT_PATH:
|
|
|
ad8605 |
- f = auparse_find_field(au, "nametype");
|
|
|
ad8605 |
+ f = auparse_find_field(au, "objtype");
|
|
|
ad8605 |
if (f && strcmp(f, "PARENT") == 0) {
|
|
|
ad8605 |
if (parent == 0)
|
|
|
ad8605 |
parent = auparse_get_record_num(au);
|
|
|
ad8605 |
@@ -280,7 +280,7 @@ static void set_file_object(auparse_stat
|
|
|
ad8605 |
|
|
|
ad8605 |
// Now double check that we picked the right one.
|
|
|
ad8605 |
do {
|
|
|
ad8605 |
- f = auparse_find_field(au, "nametype");
|
|
|
ad8605 |
+ f = auparse_find_field(au, "objtype");
|
|
|
ad8605 |
if (f) {
|
|
|
ad8605 |
if (strcmp(f, "PARENT"))
|
|
|
ad8605 |
break;
|