Skip to contentSkip to conversation

fix warning introduced by execve patches

PATCH New Amy Griffis 1 participant 1 message Apr 25, 2006 Audit

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix warning introduced by execve patches

Fix warning introduced by execve patch #1 in lspp.b7 branch. Please fold this in with lspp.b7 3ccec7a3b847f0ea5b04775dab0990a7d03052f7 on next rebase.

---

 kernel/auditsc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

8948d72d140eea1c4df513a19db597f3f2d002f2

kernel/auditsc.c +1 -1
index 9286fea..43512c1 100644
@@ -702,7 +702,7 @@ static void audit_log_exit(struct audit_
 		case AUDIT_EXECVE: {
 			struct audit_aux_data_execve *axi = (void *)aux;
 			int i;
-			char *p;
+			const char *p;
 			for (i = 0, p = axi->mem; i < axi->argc; i++) {
 				audit_log_format(ab, "a%d=", i);
 				p = audit_log_untrustedstring(ab, p);
Signature · 1 line
1.3.0