[CRIU] [PATCH 1/2] IPC: message queue copy feature introduced
Cyrill Gorcunov
gorcunov at openvz.org
Thu Aug 9 05:02:26 EDT 2012
On Thu, Aug 09, 2012 at 12:40:00PM +0400, Stanislav Kinsbursky wrote:
> --- a/include/linux/msg.h
> +++ b/include/linux/msg.h
> @@ -12,6 +12,10 @@
> #define MSG_NOERROR 010000 /* no error if message is too big */
> #define MSG_EXCEPT 020000 /* recv any msg except of specified type.*/
>
> +#ifdef CONFIG_CHECKPOINT_RESTORE
> +#define MSG_COPY 040000 /* copy (not remove) all queue messages */
> +#endif
> +
No, this constants should not be wrapped with CONFIG. They are immutable
and should not be used for anything else. Not a big deal at moment but
if we're to pass this series up to LKML I believe this should be fixed.
Cyrill
More information about the CRIU
mailing list