[systemd-commits] src/bus-proxyd

David Herrmann dvdhrm at kemper.freedesktop.org
Sun Jan 11 05:55:52 PST 2015


 src/bus-proxyd/bus-xml-policy.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit fa188b9b242326731554dbf80f8e118285cc7676
Author: David Herrmann <dh.herrmann at gmail.com>
Date:   Sun Jan 11 14:54:33 2015 +0100

    bus-proxy: fix swapped path/interface debug messages
    
    The policy debug messages swapped "path=" and "interface=", fix this.

diff --git a/src/bus-proxyd/bus-xml-policy.c b/src/bus-proxyd/bus-xml-policy.c
index 8d14828..366adbd 100644
--- a/src/bus-proxyd/bus-xml-policy.c
+++ b/src/bus-proxyd/bus-xml-policy.c
@@ -857,7 +857,7 @@ bool policy_check_recv(Policy *p,
         verdict = policy_check(p, &filter);
 
         log_full(LOG_AUTH | (verdict != ALLOW ? LOG_WARNING : LOG_DEBUG),
-                 "Receive permission check for uid=" UID_FMT " gid=" GID_FMT" message=%s name=%s interface=%s path=%s member=%s: %s",
+                 "Receive permission check for uid=" UID_FMT " gid=" GID_FMT" message=%s name=%s path=%s interface=%s member=%s: %s",
                  uid, gid, bus_message_type_to_string(message_type), strna(name), strna(path), strna(interface), strna(member), strna(verdict_to_string(verdict)));
 
         return verdict == ALLOW;
@@ -890,7 +890,7 @@ bool policy_check_send(Policy *p,
         verdict = policy_check(p, &filter);
 
         log_full(LOG_AUTH | (verdict != ALLOW ? LOG_WARNING : LOG_DEBUG),
-                 "Send permission check for uid=" UID_FMT " gid=" GID_FMT" message=%s name=%s interface=%s path=%s member=%s: %s",
+                 "Send permission check for uid=" UID_FMT " gid=" GID_FMT" message=%s name=%s path=%s interface=%s member=%s: %s",
                  uid, gid, bus_message_type_to_string(message_type), strna(name), strna(path), strna(interface), strna(member), strna(verdict_to_string(verdict)));
 
         return verdict == ALLOW;



More information about the systemd-commits mailing list