Re: [PATCH] cpuset read past eof memory leak fix

From: Linus Torvalds
Date: Wed Sep 28 2005 - 10:04:05 EST



Applied.

Just a non-technical note: the sign-offs makes me suspect the patch (or an
earlier version of it) may have been written by Kurosawa-san. However, it
wasn't clear, so I didn't make that change, and so it now ends up being in
git with Paul as the author.

If that was wrong, please for the future keep authorship intact by having
a "From: A U Thor <author@xxxxxxxxxxx>" at the head of the description,
which will make authorship clear and allow the tools to pick that up.

Linus

On Wed, 28 Sep 2005, Paul Jackson wrote:
>
> Don't leak a page of memory if user reads a cpuset file past eof.
>
> Signed-off-by: KUROSAWA Takahiro <kurosawa@xxxxxxxxxxxxx>
> Signed-off-by: Paul Jackson <pj@xxxxxxx>
>
> --- linux-2.6.14-rc2.orig/kernel/cpuset.c
> +++ linux-2.6.14-rc2/kernel/cpuset.c 2005-09-28 17:42:00.759401736 +0900
> @@ -969,7 +969,7 @@ static ssize_t cpuset_common_file_read(s
...
-
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/