From 234d98abaa78b49d5524d5eb04801a3ac788cef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 21 Jun 2013 18:39:42 +0200 Subject: [PATCH] Further improve debugging, mention servicename, socket and euid. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Günther Deschner --- proxy/src/gp_rpc_process.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/proxy/src/gp_rpc_process.c b/proxy/src/gp_rpc_process.c index 460c546..18f8dc6 100644 --- a/proxy/src/gp_rpc_process.c +++ b/proxy/src/gp_rpc_process.c @@ -23,6 +23,7 @@ DEALINGS IN THE SOFTWARE. */ +#include "gp_proxy.h" #include "gp_rpc_process.h" typedef int (*gp_exec_fn)(gp_exec_std_args); @@ -336,7 +337,9 @@ static int gp_rpc_execute(struct gssproxy_ctx *gpctx, struct gp_service *gpsvc, uint32_t proc, union gp_rpc_arg *arg, union gp_rpc_res *res) { - GPDEBUG("gp_rpc_execute: executing %d (%s)\n", proc, gp_rpc_procname(proc)); + GPDEBUG("gp_rpc_execute: executing %d (%s) for service \"%s\", euid: %d, socket: %s\n", + proc, gp_rpc_procname(proc), gpsvc->name, gpsvc->euid, gpsvc->socket); + return gp_xdr_set[proc].exec_fn(gpctx, gpsvc, arg, res); } -- 1.8.1.4