shmc bug fixes

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


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shmc.diff
Type: text/x-diff
Size: 4902 bytes
Desc: not available
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20111129/0c34299f/attachment.diff>


More information about the l4-hackers mailing list