Thread (4 messages) 4 messages, 3 authors, 2026-08-26

Re: [PATCH] tracing/user_events: Clear copied tracing state before fork duplication

flat view

From: Jérémy Jean <hidden>
Date: 2026-08-26 21:48:36
Also in: lkml

On 2026-08-26 21:23, Steven Rostedt wrote:
quoted
diff --git a/include/linux/user_events.h b/include/linux/user_events.h
index 57d1ff0..2c9ac7b 100644
--- a/include/linux/user_events.h
+++ b/include/linux/user_events.h
@@ -48,6 +48,7 @@ static inline void user_events_fork(struct task_struct *t,
 		return;
 	}

+	t->user_event_mm = NULL;
Honestly, that line should be in user_event_mm_dup() and not here.
Thanks for the feedback. I have just sent a v2 implementing this.

Regards,
Jérémy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help