[CRIU] [PATCH v2 0/2] IPC: message queue checkpoint/restore - requested updates

Kinsbursky Stanislav skinsbursky at openvz.org
Mon Apr 23 06:19:25 EDT 2012


Hello, Andrew.
I'm very sorry, but a critical flaw has been found in this feature: copying of 
kernel data to user is done under spinlock.
Since message queue size can be increased up to INT_MAX, then copying to 
temporary kernel buffer while passing message queue in not a solution.
So, please, drop both patches (feature implementation and test).
Most probably Ill replace them with MSG_PEEK feature (the same logic, but only 
for one message - like it's done for sockets).

-- 
Best regards,
Stanislav Kinsbursky



More information about the CRIU mailing list