public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/audit] rawhide: Remove unused patch
@ 2026-07-23 16:31 Steve Grubb
0 siblings, 0 replies; only message in thread
From: Steve Grubb @ 2026-07-23 16:31 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/audit
Branch : rawhide
Commit : ab041e23043894c9d46ef5b425a9e522282c2a3c
Author : Steve Grubb <sgrubb@redhat.com>
Date : 2026-07-23T12:30:43-04:00
Stats : +0/-43 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/audit/c/ab041e23043894c9d46ef5b425a9e522282c2a3c?branch=rawhide
Log:
Remove unused patch
---
diff --git a/audit-4.0.5-af_unix.patch b/audit-4.0.5-af_unix.patch
deleted file mode 100644
index b790b33..0000000
--- a/audit-4.0.5-af_unix.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-From 3ea61d367cf4456be3513adcdbb84714eb89d1ed Mon Sep 17 00:00:00 2001
-From: Steve Grubb <ausearch.1@gmail.com>
-Date: Thu, 5 Jun 2025 22:07:31 -0400
-Subject: [PATCH] af_unix plugin: Restore terminating newlines
-
----
- audisp/plugins/af_unix/audisp-af_unix.c | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/audisp/plugins/af_unix/audisp-af_unix.c b/audisp/plugins/af_unix/audisp-af_unix.c
-index 3df6b61c9..ecaf30650 100644
---- a/audisp/plugins/af_unix/audisp-af_unix.c
-+++ b/audisp/plugins/af_unix/audisp-af_unix.c
-@@ -207,17 +207,17 @@ static int event_to_string(struct audit_dispatcher_header *hdr,
- "UNKNOWN[%u]", hdr->type);
- type = unknown;
- }
-- len = asprintf(&v, "type=%s msg=%.*s",
-+ len = asprintf(&v, "type=%s msg=%.*s\n",
- type, hdr->size, data);
- } else if (inbound_protocol == F_BINARY &&
- hdr->ver == AUDISP_PROTOCOL_VER2) {
- // Protocol 2 events are already formatted
-- len = asprintf(&v, "%.*s", hdr->size, data);
-+ len = asprintf(&v, "%.*s\n", hdr->size, data);
- } else
- len = 0;
- } else if (inbound_protocol == F_STRING) {
- // Inbound strings start at the hdr
-- len = asprintf(&v, "%s", (char *)hdr);
-+ len = asprintf(&v, "%s\n", (char *)hdr);
- } else
- len = 0;
- if (len <= 0) {
-@@ -226,7 +226,7 @@ static int event_to_string(struct audit_dispatcher_header *hdr,
- return -1;
- }
-
-- /* Strip newlines from event record */
-+ /* Strip newlines from event record except the last one */
- ptr = v;
- while ((ptr = strchr(ptr, 0x0A)) != NULL) {
- if (ptr != &v[len-1])
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-23 16:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-23 16:31 [rpms/audit] rawhide: Remove unused patch Steve Grubb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox