Hi,
attached are some fixes for shmc:
- fix various capability slot leaks in error paths - if l4re_ns_register_obj_srv() fails, return its error code to the caller and don't invent another one - use memory barriers in l4shmc_add_chunk() because l4shmc_get_chunk_to() walks the linked list without acquiring the lock - fix l4shmc_add_signal() freeing one of env's capabilities in an error path
Cheers, Stefan
On Tue Nov 29, 2011 at 17:47:00 +0100, Stefan Fritsch wrote:
attached are some fixes for shmc:
- fix various capability slot leaks in error paths
- if l4re_ns_register_obj_srv() fails, return its error code to the caller and
don't invent another one
- use memory barriers in l4shmc_add_chunk() because l4shmc_get_chunk_to()
walks the linked list without acquiring the lock
- fix l4shmc_add_signal() freeing one of env's capabilities in an error path
Thanks.
Adam
l4-hackers@os.inf.tu-dresden.de