[PATCH] process events connector: uid_t gid_t size issues
authorMatt Helsley <matthltc@us.ibm.com>
Wed, 30 Nov 2005 03:34:31 +0000 (19:34 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 30 Nov 2005 03:47:03 +0000 (19:47 -0800)
commitdf69a60dc6afc2936d79054d30b481c1fd9720e5
tree9f64f677964ae214dd6654947c553d8416720049
parent12074a35b4ef36d7a971beaf42412b22f304cdd1
[PATCH] process events connector: uid_t gid_t size issues

The uid_t and gid_t fields appear to present a 32/64-bit userspace/kernel
problem for some archs.

This patch addresses the problem by fixing the size to the largest size for
uid_t/gid_t used in the kernel.  This preserves the total size of the event
structure while ensuring that the layouts of the ID change event match in
32 and 64-bit kernels and applications.

Signed-off-by: Matt Helsley <matthltc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/cn_proc.h