mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-16 02:14:58 +00:00
ucounts: constify sysctl table user_table
The data of user_table is never modified, but only used as a template to create copies from. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Signed-off-by: Joel Granados <joel.granados@kernel.org>
This commit is contained in:
parent
50a191a8a1
commit
ad45af9304
@ -70,7 +70,7 @@ static long ue_int_max = INT_MAX;
|
||||
.extra1 = &ue_zero, \
|
||||
.extra2 = &ue_int_max, \
|
||||
}
|
||||
static struct ctl_table user_table[] = {
|
||||
static const struct ctl_table user_table[] = {
|
||||
UCOUNT_ENTRY("max_user_namespaces"),
|
||||
UCOUNT_ENTRY("max_pid_namespaces"),
|
||||
UCOUNT_ENTRY("max_uts_namespaces"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user