[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Yd3Gur0daNb4JL77@bombadil.infradead.org>
Date: Tue, 11 Jan 2022 10:04:42 -0800
From: Luis Chamberlain <mcgrof@...nel.org>
To: Geert Uytterhoeven <geert+renesas@...der.be>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Kees Cook <keescook@...omium.org>,
Iurii Zaikin <yzaikin@...gle.com>,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH] sysctl: Fix duplicate path separator in printed entries
On Fri, Jan 07, 2022 at 11:38:44AM +0100, Geert Uytterhoeven wrote:
> sysctl_print_dir() always terminates the printed path name with a slash,
> so printing a slash before the file part causes a duplicate like in
>
> sysctl duplicate entry: /kernel//perf_user_access
>
> Fix this by dropping the extra slash.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
Acked-by: Luis Chamberlain <mcgrof@...nel.org>
Luis
Powered by blists - more mailing lists