Re: [PATCH] proc: fix /proc/*/map_files lookup some more

From: Al Viro
Date: Wed Feb 21 2018 - 13:51:55 EST


On Wed, Feb 21, 2018 at 09:44:11PM +0300, Alexey Dobriyan wrote:

> + len = strlen(str);
> + if (len > 1 && *str == '0')
> + return -EINVAL;

if (s[0] == '0' && s[1])
please...