Re: [PATCH] bitmap: bitmap_parse takes a kernel buffer instead of a user buffer

From: inaky
Date: Tue Oct 03 2006 - 11:21:03 EST



Hi Andrew

We are going to use this in the Linux UWB project; is it
possible/makes it sense to get it in?

> lib/bitmap.c:bitmap_parse() is a library function that received as input a
> user buffer. This seemed to have originated from the way the write_proc
> function of the /proc filesystem operates.
>
> This function will be useful for other uses as well; for example, taking
> input for /sysfs instead of /proc, so it was changed to accept kernel
> buffers. We have this use for the Linux UWB project, as part as the
> upcoming bandwidth allocator code.
>
> Only a few routines used this function and they were changed too.
>
> Signed-off-by: Reinette Chatre <reinette.chatre@xxxxxxxxxxxxxxx>
Signed-off-by: Inaky Perez-Gonzalez <inaky@xxxxxxxxxxxxxxx>

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