aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2024-03-06 19:12:28 -0800
committerMartin KaFai Lau <[email protected]>2024-03-07 14:58:48 -0800
commitfe5064158c561b807af5708c868f6c7cb5144e01 (patch)
treeafd0ca6870d3abf41b811e706c3f788057183e9b /lib/test_fortify/write_overflow-strncpy-src.c
parent1576b07961971d4eeb0e269c7133e9a6d430daf8 (diff)
bpf: Tell bpf programs kernel's PAGE_SIZE
vmlinux BTF includes all kernel enums. Add __PAGE_SIZE = PAGE_SIZE enum, so that bpf programs that include vmlinux.h can easily access it. Acked-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions