On 06/27/2014 12:46 PM, Kay Sievers wrote: > On Fri, Jun 27, 2014 at 12:32 PM, Djalal Harouni <tix...@opendz.org> wrote: >> For connections with the KDBUS_HELLO_CACHE_META flag dup the >> metadata/credentials from handle or from the HELLO cmd, and use it to >> construct kdbus kmsg object, this improves benchmark by ~50% >> >> The KDBUS_HELLO_CACHE_META flag is only for privileged bus users, others >> will fail with -EPERM. Privileged bus users can do what ever they want. > > Metadata contains timestamps, global message sequence numbers, PIDs, > none of that should be cached or faked, I think.
By no means, even for 'trusted' connections. The entire concept of metadata breaks if we cache things here. Daniel _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel