<p dir="ltr">Look at netlink sockets.</p>
<div class="gmail_quote">On 9 Jul 2015 5:08 pm, &quot;Nikolay Borisov&quot; &lt;<a href="mailto:n.borisov.lkml@gmail.com">n.borisov.lkml@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On 07/09/2015 09:39 AM, Ramon Fried wrote:<br>
&gt; at the specific PID procfs directory.<br>
&gt; Is there a better way to achieve that ? Something like netlink notifications for subscribed processes will be great...<br>
&gt; Thanks.<br>
<br>
If your process is abruptly killed then there is no way for the process<br>
to tell you that (it&#39;s dead after all). Just implement a simple time-out<br>
mechanism in the spirit of ping.<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div>