shmc bug fixes

Adam Lackorzynski adam at os.inf.tu-dresden.de
Fri Dec 2 00:20:05 CET 2011


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
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list