lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z4gV8QNnafm-iCC4@liuwe-devbox-debian-v2>
Date: Wed, 15 Jan 2025 20:09:21 +0000
From: Wei Liu <wei.liu@...nel.org>
To: Joel Granados <joel.granados@...nel.org>
Cc: Thomas Weißschuh <linux@...ssschuh.net>,
	Kees Cook <kees@...nel.org>, Luis Chamberlain <mcgrof@...nel.org>,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	linuxppc-dev@...ts.ozlabs.org, linux-riscv@...ts.infradead.org,
	linux-s390@...r.kernel.org, linux-crypto@...r.kernel.org,
	openipmi-developer@...ts.sourceforge.net,
	intel-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
	intel-xe@...ts.freedesktop.org, linux-hyperv@...r.kernel.org,
	linux-rdma@...r.kernel.org, linux-raid@...r.kernel.org,
	linux-scsi@...r.kernel.org, linux-serial@...r.kernel.org,
	xen-devel@...ts.xenproject.org, linux-aio@...ck.org,
	linux-fsdevel@...r.kernel.org, netfs@...ts.linux.dev,
	codalist@...a.cs.cmu.edu, linux-mm@...ck.org,
	linux-nfs@...r.kernel.org, ocfs2-devel@...ts.linux.dev,
	fsverity@...ts.linux.dev, linux-xfs@...r.kernel.org,
	io-uring@...r.kernel.org, bpf@...r.kernel.org,
	kexec@...ts.infradead.org, linux-trace-kernel@...r.kernel.org,
	linux-hardening@...r.kernel.org, apparmor@...ts.ubuntu.com,
	linux-security-module@...r.kernel.org, keyrings@...r.kernel.org,
	Song Liu <song@...nel.org>,
	"Steven Rostedt (Google)" <rostedt@...dmis.org>,
	"Martin K. Petersen" <martin.petersen@...cle.com>,
	"Darrick J. Wong" <djwong@...nel.org>,
	Jani Nikula <jani.nikula@...el.com>,
	Corey Minyard <cminyard@...sta.com>, Wei Liu <wei.liu@...nel.org>
Subject: Re: [PATCH v2] treewide: const qualify ctl_tables where applicable

On Fri, Jan 10, 2025 at 03:16:08PM +0100, Joel Granados wrote:
[...]
> diff --git a/drivers/hv/hv_common.c b/drivers/hv/hv_common.c
> index 7a35c82976e0..9453f0c26f2a 100644
> --- a/drivers/hv/hv_common.c
> +++ b/drivers/hv/hv_common.c
> @@ -141,7 +141,7 @@ static int sysctl_record_panic_msg = 1;
>   * sysctl option to allow the user to control whether kmsg data should be
>   * reported to Hyper-V on panic.
>   */
> -static struct ctl_table hv_ctl_table[] = {
> +static const struct ctl_table hv_ctl_table[] = {
>  	{
>  		.procname	= "hyperv_record_panic_msg",
>  		.data		= &sysctl_record_panic_msg,

Acked-by: Wei Liu <wei.liu@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ