diff options
| author | Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2005-02-10 16:19:45 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-02-10 16:19:45 -0800 |
| commit | 8b1ef6f51b16ed94db86979fadc87a13647b051b (patch) | |
| tree | cad899a9c0041e508d52e6897cdb5b24e1510e2a /net/unix/af_unix.c | |
| parent | 4e979b187f7528fcc924f21a5a7b805d9e5d413f (diff) | |
[PATCH] i2c compat ioctl breakage
do_i2c_rdwr_ioctl() does two compat_alloc_user_space(). That doesn't
work; no state is kept and second allocation will ignore the first one
(i.e. give overlapping chunk of user stack).
Fixed by doing allocation at once, slightly cleaned up.
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
