DBUS_TYPE_LINUX_CRED ?

Serge Hallyn serge.hallyn at ubuntu.com
Fri Dec 13 09:39:54 PST 2013


Hi,

dbus-protocol.h defines DBUS_TYPE_UNIX_FD as an iter type which can
be appended to a message.  Would it be acceptable to add something
along the lines of DBUS_TYPE_LINUX_CRED ?  Better yet, is there already
a way of sending a struct ucred as SCM_CREDENTIAL by appending it to
a dbus message?

The goal of doing this is not to authenticate the client, but to
pass pids and uids across namespaces and have the kernel translate
them.  So the cred sent along with the null byte is akin to what I
need, but it's not what I need.

thanks,
-serge


More information about the dbus mailing list