]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] n_r3964: Use struct pid to track user space clients
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 13 Dec 2006 08:35:10 +0000 (00:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:53 +0000 (09:05 -0800)
commit643c2647c7d1f31b04cb3161795a027d68a7fb85
tree9abfef8aa9d62225e161f4d200be5bb70ead1ab6
parent7f8cd2864b07b59a4fa7df5dd6a6f167fe7ff2fe
[PATCH] n_r3964: Use struct pid to track user space clients

Currently this driver tracks user space clients it should send signals to.  In
the presenct of file descriptor passing this is appears susceptible to
confusion from pid wrap around issues.

Replacing this with a struct pid prevents us from getting confused, and
prepares for a pid namespace implementation.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/n_r3964.c
include/linux/n_r3964.h