Re: [PATCH] proc: Report file name on detected read_proc overflow

From: Alexey Dobriyan
Date: Fri Apr 02 2010 - 02:28:55 EST

On Thu, Apr 1, 2010 at 4:09 PM, Jan Kiszka <jan.kiszka@xxxxxxxxxxx> wrote:
> This can help identifying the buggy read_proc handler.

->read_proc is going to be removed, so there is no point.

> -                                      "proc_file_read: Apparent buffer overflow!\n");
> +                                      "proc_file_read: Apparent buffer "
> +                                      "overflow reading \"%s\"!\n",
> +                                      file->f_path.dentry->;
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at