[patch] improved SELinux auditing

Colin Walters walters at verbum.org
Mon Nov 8 16:41:28 PST 2004

On Mon, 2004-11-08 at 11:42 -0500, Havoc Pennington wrote: 

> For this I'd rather have _dbus_string_set_length(audmsg, bufleft)
> (or is it bufleft-1)

But that doesn't help me get it into the other buffer, no?  I guess
I could have done that and a memcpy.

> The patch you sent seems truncated or something for the changes to
> selinux.c?

Hm, odd.

I ended up creating a _dbus_string_copy_to_buffer function, and used it

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-better-selinux-audit-2.patch
Type: text/x-patch
Size: 13997 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/dbus/attachments/20041108/47f431d8/dbus-better-selinux-audit-2.bin

More information about the dbus mailing list