]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] update mq_notify to use a struct pid
authorCedric Le Goater <clg@fr.ibm.com>
Mon, 2 Oct 2006 09:17:26 +0000 (02:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:15 +0000 (07:57 -0700)
commitcd89e680389b1611e49442834e5f51da1147d781
tree0a24b625def867ddfa7e04a82b15905b77284743
parent16b71b88564b89f5bce188bab51d34dfcf0d8d10
[PATCH] update mq_notify to use a struct pid

Message queues can signal a process waiting for a message.

This patch replaces the pid_t value with a struct pid to avoid pid wrap
around problems.

Signed-off-by: Cedric Le Goater <clg@fr.ibm.com>
Acked-by: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
ipc/mqueue.c