shmc bug fixes

Stefan Fritsch Stefan_Fritsch at
Tue Nov 29 17:47:00 CET 2011


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: shmc.diff
Type: text/x-diff
Size: 4902 bytes
Desc: not available
URL: <>

More information about the l4-hackers mailing list