Re: is fd = journal_fd() common across all daemons

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On So, 28.07.19 21:25, Vaibhav Dahiya (vdahiya@xxxxxxxx) wrote:

> Hello ,
>
> My question is related to changing some flags on fd = journal_fd(),
> basically
> I want to make this socket descriptor to get a flag for non-blocking.
> As I am preparing a patch for this. I have generic query , is this common
> across all the daemons ?
> Meaning setting a flag to fd will likely cause each daemon to take
> necessary
> provisions like message drops etc ?
> Looking at the code i could not get a clarity so I just wanted to ask.

No, each client linking to libsystemd gets its own socket fd.

Lennart

--
Lennart Poettering, Berlin
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux