Thread (3 messages) 3 messages, 2 authors, 2018-04-02

Re: [PATCH] connector: add parent pid and tgid to coredump and exit events

From: David Miller <davem@davemloft.net>
Date: 2018-03-30 16:59:24
Also in: lkml

From: Stefan Strogin <redacted>
Date: Thu, 29 Mar 2018 17:12:47 +0300
quoted hunk ↗ jump to hunk
diff --git a/include/uapi/linux/cn_proc.h b/include/uapi/linux/cn_proc.h
index 68ff25414700..db210625cee8 100644
--- a/include/uapi/linux/cn_proc.h
+++ b/include/uapi/linux/cn_proc.h
@@ -116,12 +116,16 @@ struct proc_event {
 		struct coredump_proc_event {
 			__kernel_pid_t process_pid;
 			__kernel_pid_t process_tgid;
+			__kernel_pid_t parent_pid;
+			__kernel_pid_t parent_tgid;
 		} coredump;
 
 		struct exit_proc_event {
 			__kernel_pid_t process_pid;
 			__kernel_pid_t process_tgid;
 			__u32 exit_code, exit_signal;
+			__kernel_pid_t parent_pid;
+			__kernel_pid_t parent_tgid;
 		} exit;
 
 	} event_data;
I don't think you can add these members without breaking UAPI.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help