ipc: implement MSG_COPY as a new receive mode
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 1 May 2013 02:14:54 +0000 (19:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 1 May 2013 15:12:57 +0000 (08:12 -0700)
commit8ac6ed5857c8d583e0dc2ab2165966ab143930ad
treed5c7606ce371ff52213915267b8b34898232a7e3
parent852028af861ed6c7ab7e73053dd664eb28e55200
ipc: implement MSG_COPY as a new receive mode

Teach the helper routines about MSG_COPY so that msgtyp is preserved as
the message number to copy.

The security functions affected by this change were audited and no
additional changes are necessary.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Acked-by: Stanislav Kinsbursky <skinsbursky@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
ipc/msg.c