diff options
author | Stanislav Kinsbursky <skinsbursky@parallels.com> | 2013-01-04 18:34:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-01-04 19:11:45 -0500 |
commit | 3a665531a3b7c2ad2c87903b24646be6916340e4 (patch) | |
tree | 9f5186e3b9786216a74c092b6652d958abc8e2a9 /ipc | |
parent | 4a674f34ba04a002244edaf891b5da7fc1473ae8 (diff) |
selftests: IPC message queue copy feature test
This test can be used to check wheither kernel supports IPC message queue
copy and restore features (required by CRIU project).
Signed-off-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Cc: Serge Hallyn <serge.hallyn@canonical.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Pavel Emelyanov <xemul@parallels.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/compat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ipc/compat.c b/ipc/compat.c index eb3ea16d2d1d..2547f29dcd1b 100644 --- a/ipc/compat.c +++ b/ipc/compat.c | |||
@@ -365,7 +365,8 @@ long compat_sys_msgrcv(int first, int second, int msgtyp, int third, | |||
365 | uptr = compat_ptr(ipck.msgp); | 365 | uptr = compat_ptr(ipck.msgp); |
366 | msgtyp = ipck.msgtyp; | 366 | msgtyp = ipck.msgtyp; |
367 | } | 367 | } |
368 | return do_msgrcv(first, uptr, second, msgtyp, third, compat_do_msg_fill); | 368 | return do_msgrcv(first, uptr, second, msgtyp, third, |
369 | compat_do_msg_fill); | ||
369 | } | 370 | } |
370 | #else | 371 | #else |
371 | long compat_sys_semctl(int semid, int semnum, int cmd, int arg) | 372 | long compat_sys_semctl(int semid, int semnum, int cmd, int arg) |