aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorThomas Weißschuh <[email protected]>2024-05-18 16:58:47 +0200
committerDaniel Borkmann <[email protected]>2024-05-24 17:44:32 +0200
commit2c1713a8f1c94033a6e00aae4693ab03e8a3b9f1 (patch)
treea532036e561cc47497039c481b72c69d848a9968 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent99fa63d9ca60c4c1cc843fde205e4bc6e86b218f (diff)
bpf: constify member bpf_sysctl_kern:: Table
The sysctl core is preparing to only expose instances of struct ctl_table as "const". This will also affect the ctl_table argument of sysctl handlers, for which bpf_sysctl_kern::table is also used. As the function prototype of all sysctl handlers throughout the tree needs to stay consistent that change will be done in one commit. To reduce the size of that final commit, switch this utility type which is not bound by "typedef proc_handler" to "const struct ctl_table". No functional change. Signed-off-by: Thomas Weißschuh <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Reviewed-by: Joel Granados <[email protected]> Link: https://lore.kernel.org/bpf/20240518-sysctl-const-handler-bpf-v1-1-f0d7186743c1@weissschuh.net
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions