[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <201001090901.37208.arnd@arndb.de>
Date: Sat, 9 Jan 2010 09:01:36 +0100
From: Arnd Bergmann <arnd@...db.de>
To: "H. Peter Anvin" <hpa@...or.com>
Cc: Arjan van de Ven <arjan@...radead.org>,
Heiko Carstens <heiko.carstens@...ibm.com>,
Ingo Molnar <mingo@...e.hu>,
David Miller <davem@...emloft.net>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: strict copy_from_user checks issues?
On Saturday 09 January 2010, H. Peter Anvin wrote:
> > return put_user(data, uptr);
> >
> > The latter form requires a macro instead of a function for the user copy,
> > but we now have that anyway because of the size check.
> >
>
> Well... we already have the latter form?
Right, but my suggestion was to extend that do data structures in
addition to the scalars we are supporting now.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists