lkml.org 
[lkml]   [2003]   [Jun]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 21 Jun 2003 09:45:35 +0200
FromSam Ravnborg <>
SubjectRe: [RFC][PATCH] nbd driver for 2.5.72
On Sat, Jun 21, 2003 at 08:32:24AM +0100, viro@parcelfarce.linux.theplanet.co.uk wrote:
> 
> > +static int nbd_debug_write_proc(struct file *file, const char *buffer,
> > +		unsigned long count, void *data)
> > +{
> 
> 	First of all, "buffer" is userland pointer.

Annotate user pointers with __user.

	Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:36    [from the cache]
©2003-2008