virtualization of sysv msg queues is incomplete
authorKirill Korotaev <dev@openvz.org>
Fri, 19 Oct 2007 06:40:56 +0000 (23:40 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:48 +0000 (11:53 -0700)
commit3ac88a41ff747b8c2f290f86b5243b2f8fce2cc0
treea0a87ebb1b5cac9da1a2cee05475139b16a8dbc6
parentc530c6ac7eb1d4ae1ff6b382d9211be446ee82c6
virtualization of sysv msg queues is incomplete

Virtualization of sysv msg queues is incomplete: msg_hdrs and msg_bytes
variables visible from userspace are global.  Let's make them
per-namespace.

Signed-off-by: Alexey Kuznetsov <alexey@openvz.org>
Signed-off-by: Kirill Korotaev <dev@openvz.org>
Cc: Pierre Peiffer <pierre.peiffer@bull.net>
Cc: Nadia Derbey <Nadia.Derbey@bull.net>
Cc: Serge Hallyn <serue@us.ibm.com>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/ipc.h
ipc/msg.c