]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit714fb59e7ffe81db0f8c318cc32a6f44e15edf7f
treed5c7606ce371ff52213915267b8b34898232a7e3
parent0c782fc278ddaea53f2a2ce6bc717cf470c4b948
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