Blame SOURCES/audit-2.7.1-rhel7-fixup.patch

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