[systemd-devel] [PATCH] journald: collect process data from socket data

Piotr Wilczek p.wilczek at samsung.com
Mon Jun 2 03:56:54 PDT 2014


On 06/01/2014 07:52 AM, Lennart Poettering wrote:
> On Fri, 30.05.14 12:45, Piotr Wilczek (p.wilczek at samsung.com) wrote:
>
>> This patch adds posibility for journal to get process data from
>> socket data (if available) instead of from procfs.
>>
>> Additionally a new procinfo structure is added to store all process
>> data in single place. This data include creditentials and status.
>>
>> To enable this functionality, SO_PASSPROC socket option must be set.
>> This option is introduced in:
>> http://lwn.net/Articles/600564/
>
> I really *love* this work! It would be fantastic if we could get this done.
>
> Hmm, I am not seeting that SO_PASSPROC is actually turned on in this
> patch? Am I missing something? This really needs to be an option that
> can be turned on from the sending side, otherwise it would be only half
> as useful...
>
I turn this option in a separate patch, that I will post when the kernel 
patch is accepted. For now I wanted to know opinions about this patch.

> Lennart
>

Piotr



More information about the systemd-devel mailing list