summaryrefslogtreecommitdiffstats
path: root/net/dccp/feat.c
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2020-07-13 16:24:09 -0700
committerAlexei Starovoitov <ast@kernel.org>2020-07-13 17:07:43 -0700
commit0b20933d8cfe2bf6473e9b581b5d1ed9a2117ecc (patch)
tree79a7e9cabc285400476b921dbdaa4bba220fa46e /net/dccp/feat.c
parent7c819e701382d4969ca4837b8cbe157895f5d0bf (diff)
downloadlinux-0b20933d8cfe2bf6473e9b581b5d1ed9a2117ecc.tar.bz2
tools/bpftool: Strip away modifiers from global variables
Reliably remove all the type modifiers from read-only (.rodata) global variable definitions, including cases of inner field const modifiers and arrays of const values. Also modify one of selftests to ensure that const volatile struct doesn't prevent user-space from modifying .rodata variable. Fixes: 985ead416df3 ("bpftool: Add skeleton codegen command") Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200713232409.3062144-3-andriin@fb.com
Diffstat (limited to 'net/dccp/feat.c')
0 files changed, 0 insertions, 0 deletions