-
- Downloads
sysctl: treewide: constify ctl_table_header::ctl_table_arg
To be able to constify instances of struct ctl_tables it is necessary to remove ways through which non-const versions are exposed from the sysctl core. One of these is the ctl_table_arg member of struct ctl_table_header. Constify this reference as a prerequisite for the full constification of struct ctl_table instances. No functional change. Signed-off-by:Thomas Weißschuh <linux@weissschuh.net> Reviewed-by:
Kees Cook <keescook@chromium.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/vrf.c 1 addition, 1 deletiondrivers/net/vrf.c
- include/linux/sysctl.h 1 addition, 1 deletioninclude/linux/sysctl.h
- ipc/ipc_sysctl.c 1 addition, 1 deletionipc/ipc_sysctl.c
- ipc/mq_sysctl.c 1 addition, 1 deletionipc/mq_sysctl.c
- kernel/ucount.c 1 addition, 1 deletionkernel/ucount.c
- net/ax25/sysctl_net_ax25.c 1 addition, 1 deletionnet/ax25/sysctl_net_ax25.c
- net/bridge/br_netfilter_hooks.c 1 addition, 1 deletionnet/bridge/br_netfilter_hooks.c
- net/core/sysctl_net_core.c 1 addition, 1 deletionnet/core/sysctl_net_core.c
- net/ieee802154/6lowpan/reassembly.c 1 addition, 1 deletionnet/ieee802154/6lowpan/reassembly.c
- net/ipv4/devinet.c 1 addition, 1 deletionnet/ipv4/devinet.c
- net/ipv4/ip_fragment.c 1 addition, 1 deletionnet/ipv4/ip_fragment.c
- net/ipv4/route.c 1 addition, 1 deletionnet/ipv4/route.c
- net/ipv4/sysctl_net_ipv4.c 1 addition, 1 deletionnet/ipv4/sysctl_net_ipv4.c
- net/ipv4/xfrm4_policy.c 1 addition, 1 deletionnet/ipv4/xfrm4_policy.c
- net/ipv6/addrconf.c 1 addition, 1 deletionnet/ipv6/addrconf.c
- net/ipv6/netfilter/nf_conntrack_reasm.c 1 addition, 1 deletionnet/ipv6/netfilter/nf_conntrack_reasm.c
- net/ipv6/reassembly.c 1 addition, 1 deletionnet/ipv6/reassembly.c
- net/ipv6/sysctl_net_ipv6.c 3 additions, 3 deletionsnet/ipv6/sysctl_net_ipv6.c
- net/ipv6/xfrm6_policy.c 1 addition, 1 deletionnet/ipv6/xfrm6_policy.c
- net/mpls/af_mpls.c 2 additions, 2 deletionsnet/mpls/af_mpls.c
Loading
Please register or sign in to comment