Re: [PATCH] sysctl: use min() helper for namecmp()

2021-04-11 Thread Masahiro Yamada
On Tue, Mar 2, 2021 at 8:47 AM Kees Cook wrote: > > On Sun, Feb 28, 2021 at 04:44:22PM +0900, Masahiro Yamada wrote: > > (CC: Andrew Morton) > > > > A friendly reminder. > > > > > > This is just a minor clean-up. > > > > If nobody picks it up, > > I hope perhaps Andrew Morton will do. > > > > This

Re: [PATCH] sysctl: use min() helper for namecmp()

2021-03-01 Thread Kees Cook
On Sun, Feb 28, 2021 at 04:44:22PM +0900, Masahiro Yamada wrote: > (CC: Andrew Morton) > > A friendly reminder. > > > This is just a minor clean-up. > > If nobody picks it up, > I hope perhaps Andrew Morton will do. > > This patch: > https://lore.kernel.org/patchwork/patch/1360092/ > > > >

Re: [PATCH] sysctl: use min() helper for namecmp()

2021-02-27 Thread Masahiro Yamada
(CC: Andrew Morton) A friendly reminder. This is just a minor clean-up. If nobody picks it up, I hope perhaps Andrew Morton will do. This patch: https://lore.kernel.org/patchwork/patch/1360092/ On Mon, Jan 4, 2021 at 5:33 PM Masahiro Yamada wrote: > > Make it slightly readable by using m

Re: [PATCH] sysctl: use min() helper for namecmp()

2021-01-06 Thread Kees Cook
On Mon, Jan 04, 2021 at 05:32:21PM +0900, Masahiro Yamada wrote: > Make it slightly readable by using min(). > > Signed-off-by: Masahiro Yamada Acked-by: Kees Cook -- Kees Cook

[PATCH] sysctl: use min() helper for namecmp()

2021-01-04 Thread Masahiro Yamada
Make it slightly readable by using min(). Signed-off-by: Masahiro Yamada --- fs/proc/proc_sysctl.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/fs/proc/proc_sysctl.c b/fs/proc/proc_sysctl.c index 317899222d7f..86341c0f0c40 100644 --- a/fs/proc/proc_sysctl.c +++ b/fs