[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180330.125921.653839794312978457.davem@davemloft.net>
Date: Fri, 30 Mar 2018 12:59:21 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sstrogin@...co.com
Cc: zbr@...emap.net, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, xe-linux-external@...co.com,
jderehag@...mail.com, matt.helsley@...il.com,
minipli@...glemail.com
Subject: Re: [PATCH] connector: add parent pid and tgid to coredump and
exit events
From: Stefan Strogin <sstrogin@...co.com>
Date: Thu, 29 Mar 2018 17:12:47 +0300
> 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.
Powered by blists - more mailing lists