Jordan Rome
80b16457cb
ci: add temporary patch for failing upstream BPF uprobe selftest
...
Signed-off-by: Jordan Rome <linux@jordanrome.com >
2024-10-09 14:13:35 -07:00
Jordan Rome
7827ca87d1
ci: regenerate vmlinux.h
...
Regenerate latest vmlinux.h for old kernel CI tests.
Signed-off-by: Jordan Rome <linux@jordanrome.com >
2024-10-09 14:13:35 -07:00
Jordan Rome
91ccd57ca9
sync: latest libbpf changes from kernel
...
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 2ad6d23f465a4f851e3bcf6d74c315ce7b2c205b
Checkpoint bpf-next commit: b24d7f0da6ef5a23456a301eaf51b170f961d4ae
Baseline bpf commit: b408473ea01b2e499d23503e2bf898416da9d7ac
Checkpoint bpf commit: b24d7f0da6ef5a23456a301eaf51b170f961d4ae
Alan Maguire (1):
bpf/bpf_get,set_sockopt: add option to set TCP-BPF sock ops flags
Daniel Borkmann (1):
bpf: Sync uapi bpf.h header to tools directory
Donald Hunter (1):
docs/bpf: Add missing BPF program types to docs
Ihor Solodrai (1):
libbpf: Add bpf_object__token_fd accessor
Jiri Olsa (1):
libbpf: Fix uretprobe.multi.s programs auto attachment
Lin Yikai (1):
libbpf: fix some typos in libbpf
Mina Almasry (2):
net: netdev netlink api to bind dma-buf to a net device
netdev: add dmabuf introspection
Pu Lehui (3):
libbpf: Access first syscall argument with CO-RE direct read on s390
libbpf: Access first syscall argument with CO-RE direct read on arm64
libbpf: Fix accessing first syscall argument on RV64
Sam James (1):
libbpf: Workaround (another) -Wmaybe-uninitialized false positive
Shuyi Cheng (1):
libbpf: Fixed getting wrong return address on arm64 architecture
Yusheng Zheng (1):
libbpf: Fix some typos in comments
docs/program_types.rst | 30 ++++++++++++++++++++++++++----
include/uapi/linux/bpf.h | 25 ++++++++++++-------------
include/uapi/linux/netdev.h | 13 +++++++++++++
src/bpf.h | 4 ++--
src/bpf_helpers.h | 2 +-
src/bpf_tracing.h | 25 ++++++++++++++++---------
src/btf.c | 4 ++--
src/btf.h | 2 +-
src/btf_dump.c | 2 +-
src/libbpf.c | 13 +++++++++----
src/libbpf.h | 18 +++++++++++++-----
src/libbpf.map | 1 +
src/libbpf_legacy.h | 4 ++--
src/linker.c | 4 ++--
src/skel_internal.h | 2 +-
src/usdt.bpf.h | 2 +-
16 files changed, 103 insertions(+), 48 deletions(-)
Signed-off-by: Jordan Rome <linux@jordanrome.com >
2024-10-09 14:13:35 -07:00
Jordan Rome
f0a307f61c
sync: auto-generate latest BPF helpers
...
Latest changes to BPF helper definitions.
Signed-off-by: Jordan Rome <linux@jordanrome.com >
2024-10-09 14:13:35 -07:00
Jordan Rome
4bd31a1044
bpf: Add bpf_copy_from_user_str kfunc
...
This adds a kfunc wrapper around strncpy_from_user,
which can be called from sleepable BPF programs.
This matches the non-sleepable 'bpf_probe_read_user_str'
helper except it includes an additional 'flags'
param, which allows consumers to clear the entire
destination buffer on success or failure.
Signed-off-by: Jordan Rome <linux@jordanrome.com >
Link: https://lore.kernel.org/r/20240823195101.3621028-1-linux@jordanrome.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org >
2024-08-30 16:29:01 -07:00