summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdbus/gdbusconnection.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gdbus/gdbusconnection.c b/gdbus/gdbusconnection.c
index dfb2745..aee5340 100644
--- a/gdbus/gdbusconnection.c
+++ b/gdbus/gdbusconnection.c
@@ -30,6 +30,20 @@
* e.g. X11 D-Bus transports without dlopen()'ing or linking against
* libX11 from libgio.
* - see g_dbus_address_connect() in gdbusaddress.c
+ *
+ * - would be cute to use kernel-specific APIs to resolve fds for
+ * debug output when using G_DBUS_DEBUG=messages, e.g. in addition to
+ *
+ * fd 21: dev=8:1,mode=0100644,ino=1171231,uid=0,gid=0,rdev=0:0,size=234,atime=1273070640,mtime=1267126160,ctime=1267126160
+ *
+ * maybe we can show more information about what fd 21 really is.
+ * Ryan suggests looking in /proc/self/fd for clues / symlinks!
+ * Initial experiments on Linux 2.6 suggests that the symlink looks
+ * like this:
+ *
+ * 3 -> /proc/18068/fd
+ *
+ * e.g. not of much use.
*/
#include "config.h"