[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220107112940.rrn5gloahk5durwu@wittgenstein>
Date: Fri, 7 Jan 2022 12:29:40 +0100
From: Christian Brauner <christian.brauner@...ntu.com>
To: Geert Uytterhoeven <geert+renesas@...der.be>
Cc: Luis Chamberlain <mcgrof@...nel.org>,
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>
> ---
Seems good,
Acked-by: Christian Brauner <christian.brauner@...ntu.com>
Powered by blists - more mailing lists