2005-04-13 David Zeuthen <davidz@redhat.com>
authorDavid Zeuthen <davidz@redhat.com>
Wed, 13 Apr 2005 14:27:11 +0000 (14:27 +0000)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 13 Apr 2005 14:27:11 +0000 (14:27 +0000)
commit44656f538f69e8f8709ddb6ab285db29f65f62dd
tree7481890277faf957d3130bd1a9b32e128f786537
parent893f5b7bf561922dafae9d8397b82ee9ee35ad49
2005-04-13  David Zeuthen  <davidz@redhat.com>

* bus/selinux.c: Add c-file-style to top of file
(log_audit_callback): Don't free the data here anymore
(bus_selinux_check): Don't take spid and tpid since appending
that to auxdata may OOM.
(bus_selinux_allows_acquire_service): Handle OOM and signal back
to the caller if we are OOM by taking an error object.
(bus_selinux_allows_send): -do-

* bus/selinux.h: Fix prototypes for bus_selinux_allows_acquire_service
and bus_selinux_allows_send

* bus/bus.c (bus_context_check_security_policy): Pass error and
pass on OOM thrown by bus_selinux_allows_send()

* bus/services.c (bus_registry_acquire_service): Pass error and
pass on OOM thrown by bus_selinux_allows_acquire_service()
ChangeLog
bus/bus.c
bus/selinux.c
bus/selinux.h
bus/services.c