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]
Date: Mon, 04 Dec 2023 08:52:20 +0100
From: Thomas Weißschuh <>
To: Kees Cook <>, 
 "Gustavo A. R. Silva" <>, 
 Luis Chamberlain <>, Iurii Zaikin <>, 
 Greg Kroah-Hartman <>, 
 Joel Granados <>
 Thomas Weißschuh <>
Subject: [PATCH v2 07/18] utsname: constify ctl_table arguments of utility

In a future commit the proc_handlers themselves will change to
"const struct ctl_table". As a preparation for that adapt the internal

Signed-off-by: Thomas Weißschuh <>
 kernel/utsname_sysctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/utsname_sysctl.c b/kernel/utsname_sysctl.c
index 019e3a1566cf..46590d4addc8 100644
--- a/kernel/utsname_sysctl.c
+++ b/kernel/utsname_sysctl.c
@@ -15,7 +15,7 @@
-static void *get_uts(struct ctl_table *table)
+static void *get_uts(const struct ctl_table *table)
 	char *which = table->data;
 	struct uts_namespace *uts_ns;


Powered by blists - more mailing lists