Home
last modified time | relevance | path

Searched hist:"0 b20933d8cfe2bf6473e9b581b5d1ed9a2117ecc" (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_skeleton.cdiff 0b20933d8cfe2bf6473e9b581b5d1ed9a2117ecc Mon Jul 13 18:24:09 CDT 2020 Andrii Nakryiko <andriin@fb.com> 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
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dskeleton.cdiff 0b20933d8cfe2bf6473e9b581b5d1ed9a2117ecc Mon Jul 13 18:24:09 CDT 2020 Andrii Nakryiko <andriin@fb.com> 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
/openbmc/linux/tools/bpf/bpftool/
H A Dgen.cdiff 0b20933d8cfe2bf6473e9b581b5d1ed9a2117ecc Mon Jul 13 18:24:09 CDT 2020 Andrii Nakryiko <andriin@fb.com> 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
/openbmc/linux/tools/lib/bpf/
H A Dbtf.hdiff 0b20933d8cfe2bf6473e9b581b5d1ed9a2117ecc Mon Jul 13 18:24:09 CDT 2020 Andrii Nakryiko <andriin@fb.com> 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