On Sun, 29.05.16 20:41, Christian Lockley (clockl...@gmail.com) wrote: > Hi all, > I developing an app that returns an id after and init function, this id is > to be passed the subsequent calls so the program can prevent clients from > modifying the internal state of other clients. Right now I store the value > returned by sd_bus_message_get_sender() in the init function then > call sd_bus_message_get_sender() again in all the other functions, > verifying the value matches what I expect. Is this the correct or best way > to do this?
Yes, and yes. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel