Skip to content

IPC: message queue checkpoint/restore - requested updates

Stanislav Kinsbursky lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 4 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] IPC: message queue checkpoint/restore - requested updates

This patch set updates IPC checkpoint/restore support according to discussion of previous patch set named "IPC: message queue checkpoint support". What has been changed:
1) MSG_STEAL was replaced by MSG_PEEK_ALL (as suggested by Michael Kerrisk)
2) All checkpoint/restore code has been put under CONFIG_CHECKPOINT_RESTORE define.
3) Added return of ENOSYS in case of sys_msgrcv was called with MSG_PEEK_ALL flag, but kernel was compiled without checkpoint/restore support.
4) Test for support of SYSV IPC message queues checkpoint/restore added to the series. Test file: msgque.c

Michael, please, tell me, what I have to do (or provide) to update man page accordingly.

The following series consists of:

---

Stanislav Kinsbursky (4):
ipc: rename obfuscating MSG_STEAL flag into MSG_PEEK_ALL
ipc: move all checkpoint-restore code under appropriate define
ipc: handle MSG_PEEK_ALL flag if CONFIG_CHECKPOINT_RESTORE is dropped
test: IPC message queue migration test

 include/linux/msg.h |    2 -
 ipc/compat.c        |   16 ++++-
 ipc/msg.c           |   27 +++++++--
 msgque.c            |  151 +++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 185 insertions(+), 11 deletions(-)
 create mode 100644 msgque.c