On 22.10.2012 09:50, Patrik Flykt wrote:

        Hi,

On Mon, 2012-10-22 at 09:32 +0200, Daniel Wagner wrote:
The question is if we want to have the SELinux part adding directly here
in the plugin or have some core code supporting to extract an ident from
a D-Bus message. In the case someone wants to use SMACK or another LSM
s/he this code needs to be touched. I was thinking on having something
like this:

const char *g_dbus_get_ident(DBusMessage *message);

There is a need for a generic
'connman_dbus_get_security_label(DBusMessage *msg)'. Maybe it should
start with 'selinux_', 'smack_', etc. prefixes? Let's keep it out from
gdbus for a while still.

Yep, good idea. Maybe it would be possible to have the security part as plugin as well. But before starting working on this let's have the connnman_dbus_get_selinux_label() added. okay?

cheers,
daniel

_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to