diff options
author | David Zeuthen <davidz@redhat.com> | 2010-05-06 11:07:34 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2010-05-06 11:07:34 -0400 |
commit | 125f91c9ec93347a6138871d259147e180c55606 (patch) | |
tree | e492bab2f69c6af819228e73ddc184c404c6dfc0 | |
parent | 9e9547170c239bb9cad3abc6c0068bbff6e04f28 (diff) |
Add note about how it would be cute to give more info about fds
-rw-r--r-- | gdbus/gdbusconnection.c | 14 |
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" |