[patch] Improved D-BUS SELinux mediation

Havoc Pennington hp at redhat.com
Sat Nov 20 08:57:54 PST 2004


On Sat, 2004-11-20 at 02:52 -0500, Colin Walters wrote:
> +  memset (&auditdata, 0, sizeof (BusSELinuxAuditData));

There's a _DBUS_ZERO macro you can use instead of the various cases of
this memset. (Also I think just initializing "auditdata = { 0, }" would
work?)

Otherwise this patch looks fine, I guess I need to go back and look at
the original patches still. 

Havoc




More information about the dbus mailing list