]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commita03fcb730b4fe7da14ca4405f23dbde717b1d2b9
tree0a24b625def867ddfa7e04a82b15905b77284743
parentf40f50d3bb33b52dfd550ca80be7daaddad21883
[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