[patch] fix selinux OOM and memory leak
David Zeuthen
david at fubar.dk
Tue Apr 12 17:02:17 PDT 2005
On Tue, 2005-04-12 at 19:01 -0400, Colin Walters wrote:
> This is OK, but it might be slightly cleaner to move the second
> dbus_set_error into the bus_selinux_allows_send function, so the outer
> code doesn't need to special-case the NO_MEMORY error. The same for the
> bus/services.c change.
Oh, you mean so the bus_selinux_allows_* family of functions returns a
tristate ALLOWED, DENIED and OOM?
Cheers,
David
More information about the dbus
mailing list