* Mentor: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
* Mentor: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
+
* Suggested by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
+
+
=== Checkpointing of POSIX message queues ===
+
+
'''Summary:''' Add support for checkpoint/restore of POSIX message queues
+
+
POSIX message queues are a widely used inter-process communication mechanism. Message queues are implemented as files on a virtual filesystem (mqueue), where a file descriptor (message queue descriptor) is used to perform operations such as sending or receiving messages. To support checkpoint/restore of POSIX message queues, we need a kernel interface (similar to [https://github.com/checkpoint-restore/criu/commit/8ce9e947051e43430eb2ff06b96dddeba467b4fd MSG_PEEK]) that would enable the retrieval of messages from a queue without removing them. This project aims to implement such an interface that allows retrieving all messages and their priorities from a POSIX message queue.