diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2015-01-11 15:27:18 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-01-11 15:27:18 +0100 |
commit | b49c7806a395fd655edd19785f56874b28f5a24c (patch) | |
tree | 18d1555df0303ebf2542930fc8c2e434580ac045 /src/bus-proxyd/bus-xml-policy.h | |
parent | b5cfc2b953fca74bf4c42a4e9e38abe72cc26493 (diff) |
bus-proxy: print message direction in policy logs
Make sure to print "dbus-1 to kernel" or "kernel to dbus-1" in policy logs
to better diagnose the situation.
Diffstat (limited to 'src/bus-proxyd/bus-xml-policy.h')
-rw-r--r-- | src/bus-proxyd/bus-xml-policy.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bus-proxyd/bus-xml-policy.h b/src/bus-proxyd/bus-xml-policy.h index 933a53ceb5..639520fea6 100644 --- a/src/bus-proxyd/bus-xml-policy.h +++ b/src/bus-proxyd/bus-xml-policy.h @@ -85,7 +85,8 @@ bool policy_check_recv(Policy *p, const char *name, const char *path, const char *interface, - const char *member); + const char *member, + bool dbus_to_kernel); bool policy_check_send(Policy *p, uid_t uid, gid_t gid, @@ -93,7 +94,8 @@ bool policy_check_send(Policy *p, const char *name, const char *path, const char *interface, - const char *member); + const char *member, + bool dbus_to_kernel); void policy_dump(Policy *p); |