mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-04 02:01:53 +00:00
998ebfc01b
MsgBuf has to keep the number of received capabilities in order to free/know correctly unused and unwanted capabilities. Explicitly call rcv_msg->post_ipc to store this information in a MsgBuf. Don't reset rcv_msg in ipc.cc, since this is used during un-marshalling of caps in ipc.h afterwards. The MsgBuf is reseted when its de-constructor is called.