Commit graph

7 commits

Author SHA1 Message Date
Lennart Poettering 49b832c5b8 bus: include unique and well known names in credentials object 2013-11-30 14:46:14 +01:00
Kay Sievers 4efbd13a99 bus: revert attempts to make the integration-testing work
fa6ccbf423
  197941a8d5
  547708f59e
2013-11-29 23:55:09 +01:00
Kay Sievers fa6ccbf423 bus: do not fail if "comm" information cannot be retrieved from /proc 2013-11-29 21:34:14 +01:00
Kay Sievers 197941a8d5 bus: do not fail if task information cannot be retrieved from /proc 2013-11-29 19:46:59 +01:00
Kay Sievers 547708f59e bus: do not fail if cgroup information cannot be retrieved from /proc 2013-11-29 18:57:06 +01:00
Kay Sievers 76037baee0 bus: creds - ignore EINVAL when acessing the (inactive) LSM /proc interface 2013-11-29 11:52:22 +01:00
Lennart Poettering 5b12334d35 bus: add new sd_bus_creds object to encapsulate process credentials
This way we can unify handling of credentials that are attached to
messages, or can be queried for bus name owners or connection peers.

This also adds the ability to extend incomplete credential information
with data from /proc,

Also, provide a convenience call that will automatically determine the
most appropriate credential object for an incoming message, by using the
the attached information if possible, the sending name information if
available and otherwise the peer's credentials.
2013-11-28 18:42:18 +01:00