Re: [PATCH 2/2] proc: use set_puts() at /proc/*/wchan

From: Andy Shevchenko
Date: Sat Feb 17 2018 - 09:06:58 EST


On Sat, Feb 17, 2018 at 9:20 AM, Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
> Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>


> - seq_printf(m, "%s", symname);
> + seq_puts(m, symname);

While this might have no security concerns, the pattern might be
brainlessly used by some janitors and there would have security
implications.

--
With Best Regards,
Andy Shevchenko