bpf: Constify ctl_table argument of filter function
The sysctl core is moving to allow "struct ctl_table" in read-only memory. As a preparation for that all functions handling "struct ctl_table" need to be able to work with "const struct ctl_table". As __cgroup_bpf_run_filter_sysctl() does not modify its table, it can be adapted trivially. Signed-off-by:Thomas Weißschuh <linux@weissschuh.net> Signed-off-by:
Joel Granados <joel.granados@kernel.org>
Loading
Please sign in to comment