| To: | sandeen@xxxxxxxxxxx |
|---|---|
| Subject: | Re: [patch 01/12] Move copy_from_user calls out of ioctl helpers into ioctl switch. |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Wed, 26 Nov 2008 05:03:39 -0500 |
| Cc: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20081126032026.775790208@sandeen.net> |
| References: | <20081126032005.639750968@sandeen.net> <20081126032026.775790208@sandeen.net> |
| User-agent: | Mutt/1.5.18 (2008-05-17) |
On Tue, Nov 25, 2008 at 09:20:06PM -0600, sandeen@xxxxxxxxxxx wrote: > Moving the copy_from_user out of some of the ioctl helpers will > make it easier for the compat ioctl switch to copy in the right > struct, then just pass to the underlying helper. > > Also, move common access checks into the helpers themselves, > and out of the native ioctl switch code, to reduce code > duplication between native & compat ioctl callers. Looks good. |
| Previous by Date: | Re: Badness in key lookup (length), Martin Steigerwald |
|---|---|
| Next by Date: | Re: [patch 02/12] Move compat ioctl structs & numbers into xfs_ioctl32.h, Christoph Hellwig |
| Previous by Thread: | [patch 01/12] Move copy_from_user calls out of ioctl helpers into ioctl switch., sandeen |
| Next by Thread: | [patch 02/12] Move compat ioctl structs & numbers into xfs_ioctl32.h, sandeen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |