From: Stanislav Kinsbursky <skinsbursky@parallels.com>
To: akpm@linux-foundation.org
Cc: jmorris@namei.org, linux-kernel@vger.kernel.org, criu@openvz.org,
linux-security-module@vger.kernel.org, viro@zeniv.linux.org.uk,
eparis@parisplace.org, sds@tycho.nsa.gov
Subject: [PATCH 0/5] IPC: checkpoint/restore in userspace enhancements
Date: Thu, 09 Feb 2012 22:01:16 +0400 [thread overview]
Message-ID: <20120209175043.24392.62810.stgit@localhost6.localdomain6> (raw)
This patch set aimed to provide additional functionality for all IPC objects,
which is required for migration these objects by user-space checkpoint/restore
utils.
The main problem here was impossibility to set up object id. This patch set
solves the problem in two steps:
1) Makes it possible to create new object (shared memory, semaphores set or
messages queue) with ID, equal to passed key.
2) Makes it possible to change existent object key.
The following series consists of:
---
Stanislav Kinsbursky (5):
ipc: "use key as id" functionality for resource get system call introduced
ipc: segment key change helper introduced
ipc: add new SHM_SET command for sys_shmctl() call
ipc: add new MSG_SET command for sys_msgctl() call
ipc: add new SEM_SET command for sys_semctl() call
include/linux/ipc.h | 1 +
include/linux/msg.h | 1 +
include/linux/sem.h | 1 +
include/linux/shm.h | 1 +
ipc/compat.c | 9 +++++++
ipc/msg.c | 14 +++++++++-
ipc/sem.c | 11 +++++++-
ipc/shm.c | 14 +++++++++-
ipc/util.c | 59 +++++++++++++++++++++++++++++++++++++++++---
ipc/util.h | 3 ++
security/selinux/hooks.c | 3 ++
security/smack/smack_lsm.c | 3 ++
12 files changed, 110 insertions(+), 10 deletions(-)
next reply other threads:[~2012-02-09 18:01 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-09 18:01 Stanislav Kinsbursky [this message]
2012-02-09 18:01 ` [PATCH 1/5] ipc: "use key as id" functionality for resource get system call introduced Stanislav Kinsbursky
2012-02-09 18:01 ` [PATCH 2/5] ipc: segment key change helper introduced Stanislav Kinsbursky
2012-02-09 18:01 ` [PATCH 3/5] ipc: add new SHM_SET command for sys_shmctl() call Stanislav Kinsbursky
2012-02-09 18:01 ` [PATCH 4/5] ipc: add new MSG_SET command for sys_msgctl() call Stanislav Kinsbursky
2012-02-09 18:01 ` [PATCH 5/5] ipc: add new SEM_SET command for sys_semctl() call Stanislav Kinsbursky
2012-02-10 18:29 ` [PATCH 0/5] IPC: checkpoint/restore in userspace enhancements Casey Schaufler
2012-02-13 11:03 ` Stanislav Kinsbursky
2012-02-13 16:11 ` Serge Hallyn
2012-02-13 16:48 ` Stanislav Kinsbursky
2012-02-13 17:39 ` Casey Schaufler
2012-02-14 11:33 ` Stanislav Kinsbursky
2012-03-05 13:04 ` [CRIU] " Kinsbursky Stanislav
2012-03-06 23:19 ` Andrew Morton
2012-04-24 9:17 ` Kinsbursky Stanislav
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120209175043.24392.62810.stgit@localhost6.localdomain6 \
--to=skinsbursky@parallels.com \
--cc=akpm@linux-foundation.org \
--cc=criu@openvz.org \
--cc=eparis@parisplace.org \
--cc=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=sds@tycho.nsa.gov \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome