OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
first ⋅ prev ⋅
next
bpf: selftests: Remove libcap usage from test_progs
2022-03-16
Martin KaFai Lau
bpf: selftests: Remove libcap usage from test_progs
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-16
Martin KaFai Lau
bpf: selftests: Remove libcap usage from test_verifier
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-16
Martin KaFai Lau
bpf: selftests: Add helpers to directly use the capget...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-11
Hao Luo
compiler_types: Refactor the use of btf_type_tag attribute.
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-11
Alexei Starovoitov
Merge branch 'bpf-lsm: Extend interoperability with...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-11
Roberto Sassu
selftests/bpf: Check that bpf_kernel_read_file() denies...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-11
Roberto Sassu
selftests/bpf: Add test for bpf_lsm_kernel_read_file()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-11
Roberto Sassu
bpf-lsm: Make bpf_lsm_kernel_read_file() as sleepable
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-11
Roberto Sassu
selftests/bpf: Check if the digest is refreshed after...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-11
Roberto Sassu
selftests/bpf: Add test for bpf_ima_file_hash()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-11
Roberto Sassu
selftests/bpf: Move sample generation code to ima_test_common()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-11
Roberto Sassu
bpf-lsm: Introduce new helper bpf_ima_file_hash()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-11
Roberto Sassu
ima: Always return a file measurement in ima_file_hash()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-11
Roberto Sassu
ima: Fix documentation-related warnings in ima_main.c
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-09
Alexei Starovoitov
Merge branch 'Add support for transmitting packets...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-09
Toke Høiland-Jørgensen
selftests/bpf: Add selftest for XDP_REDIRECT in BPF_PROG_RUN
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-09
Toke Høiland-Jørgensen
selftests/bpf: Move open_netns() and close_netns()...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-09
Toke Høiland-Jørgensen
libbpf: Support batch_size option to bpf_prog_test_run
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-09
Toke Høiland-Jørgensen
Documentation/bpf: Add documentation for BPF_PROG_RUN
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-09
Toke Høiland-Jørgensen
bpf: Add "live packet" mode for XDP in BPF_PROG_RUN
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-06
Alexei Starovoitov
Merge branch 'bpf: add __percpu tagging in vmlinux...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-06
Hao Luo
selftests/bpf: Add a test for btf_type_tag "percpu"
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-06
Hao Luo
bpf: Reject programs that try to load __percpu memory.
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-06
Hao Luo
compiler_types: Define __percpu as __attribute__((btf_type_t...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-06
Hao Luo
bpf: Fix checking PTR_TO_BTF_ID in check_mem_access
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-05
Alexei Starovoitov
Merge branch 'Fixes for bad PTR_TO_BTF_ID offset'
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
selftests/bpf: Add tests for kfunc register offset...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
bpf: Replace __diag_ignore with unified __diag_ignore_all
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
compiler_types.h: Add unified __diag_ignore_all for...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-05
Nathan Chancellor
compiler-clang.h: Add __diag infrastructure for clang
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
bpf: Harden register offset checks for release helpers...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
bpf: Disallow negative offset in check_ptr_off_reg
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
bpf: Fix PTR_TO_BTF_ID var_off check
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
bpf: Add check_func_arg_reg_off function
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-05
Alexei Starovoitov
Merge branch 'libbpf: support custom SEC() handlers'
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-05
Andrii Nakryiko
selftests/bpf: Add custom SEC() handling selftest
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-05
Andrii Nakryiko
libbpf: Support custom SEC() handlers
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-05
Andrii Nakryiko
libbpf: Allow BPF program auto-attach handlers to bail out
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-02
Alexei Starovoitov
Merge branch 'fixes for bpf_prog_pack'
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-02
Song Liu
bpf, x86: Set header->size properly before freeing it
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-03-02
Song Liu
x86: Disable HAVE_ARCH_HUGE_VMALLOC on 32-bit x86
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-22
Kumar Kartikeya...
selftests/bpf: Add test for reg2btf_ids out of bounds...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-20
Andrii Nakryiko
selftests/bpf: Fix btfgen tests
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-20
Souptick Joarder...
bpf: Initialize ret to 0 inside btf_populate_kfunc_set()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-17
Song Liu
bpf: bpf_prog_pack: Set proper size before freeing...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-17
Eric Dumazet
bpf: Add schedule points in batch ops
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-17
Andrii Nakryiko
bpftool: Fix C++ additions to skeleton
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-16
Kumar Kartikeya...
bpf: Fix crash due to out of bounds access into reg2btf_ids.
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-15
Felix Maurer
selftests: bpf: Check bpf_msg_push_data return value
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-15
Hou Tao
bpf: Reject kfunc calls that overflow insn->imm
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-15
Alexei Starovoitov
Merge branch 'Make BPF skeleton easier to use from...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-15
Andrii Nakryiko
selftests/bpf: Add Skeleton templated wrapper as an...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-15
Andrii Nakryiko
bpftool: Add C++-specific open/load/etc skeleton wrappers
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-15
Andrii Nakryiko
selftests/bpf: Fix GCC11 compiler warnings in -O2 mode
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-11
Alexei Starovoitov
Merge branch 'bpf: fix a bpf_timer initialization issue'
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-11
Yonghong Song
bpf: Fix a bpf_timer initialization issue
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-11
Yonghong Song
bpf: Emit bpf_timer in vmlinux BTF
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-11
Alexei Starovoitov
Merge branch 'Fix for crash due to overwrite in copy_map_value'
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-11
Kumar Kartikeya...
selftests/bpf: Add test for bpf_timer overwriting crash
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-11
Kumar Kartikeya...
bpf: Fix crash due to incorrect copy_map_value
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-11
Andrii Nakryiko
libbpf: Fix libbpf.map inheritance chain for LIBBPF_0.7.0
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-11
Song Liu
bpf: Fix bpf_prog_pack build for ppc64_defconfig
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-11
Lorenzo Bianconi
selftest/bpf: Check invalid length in test_xdp_update_frags
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-09
Alexei Starovoitov
Merge branch 'Split bpf_sk_lookup remote_port field'
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-09
Jakub Sitnicki
selftests/bpf: Cover 4-byte load from remote_port in...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-09
Jakub Sitnicki
bpf: Make remote_port field in struct bpf_sk_lookup...
Suggested-by:
Alexei Starovoitov
<ast@kernel.org>
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-09
Alexei Starovoitov
Merge branch 'fix bpf_prog_pack build errors'
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-09
Song Liu
bpf: Fix bpf_prog_pack build HPAGE_PMD_SIZE
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Song Liu
bpf: Fix leftover header->pages in sparc and powerpc...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Song Liu
bpf, x86_64: Fail gracefully on bpf_jit_binary_pack_finalize...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Stanislav Fomichev
bpf: test_run: Fix overflow in bpf_test_finish frags...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Stanislav Fomichev
bpf: test_run: Fix overflow in xdp frags parsing
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Alexei Starovoitov
Merge branch 'bpf_prog_pack allocator'
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Song Liu
bpf, x86_64: Use bpf_jit_binary_pack_alloc
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Song Liu
bpf: Introduce bpf_jit_binary_pack_[alloc|finalize...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Song Liu
bpf: Introduce bpf_prog_pack allocator
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Song Liu
bpf: Introduce bpf_arch_text_copy
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Song Liu
x86/alternative: Introduce text_poke_copy
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Song Liu
bpf: Use prog->jited_len in bpf_prog_ksym_set_addr()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Song Liu
bpf: Use size instead of pages in bpf_binary_header
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Song Liu
bpf: Use bytes instead of pages for bpf_jit_[charge...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-08
Song Liu
x86/Kconfig: Select HAVE_ARCH_HUGE_VMALLOC with HAVE_ARCH_HU...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-04
Matteo Croce
selftests/bpf: Test bpf_core_types_are_compat() functionality.
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-04
Matteo Croce
bpf: Implement bpf_core_types_are_compat().
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-03
Yonghong Song
selftests/bpf: Add a selftest for invalid func btf...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-03
Yonghong Song
bpf: Fix a btf decl_tag bug when tagging a function
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-03
Lorenzo Bianconi
bpf: test_run: Fix OOB access in bpf_prog_test_run_xdp
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-03
Christoph Hellwig
bpf, docs: Better document the atomic instructions
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-03
Christoph Hellwig
bpf, docs: Better document the extended instruction...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-03
Christoph Hellwig
bpf, docs: Better document the legacy packet access...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-03
Christoph Hellwig
bpf, docs: Better document the regular load and store...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-02-03
Christoph Hellwig
bpf, docs: Document the byte swapping instructions
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-01-31
Kenta Tada
bpf: make bpf_copy_from_user_task() gpl only
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-01-31
Alexei Starovoitov
Merge branch 'Split bpf_sock dst_port field'
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-01-31
Jakub Sitnicki
selftests/bpf: Extend verifier and bpf_sock tests for...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-01-31
Jakub Sitnicki
bpf: Make dst_port field in struct bpf_sock 16-bit...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-01-28
Alexei Starovoitov
Merge branch 'selftests/bpf: use temp netns for testing'
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-01-28
Hangbin Liu
selftests/bpf/test_xdp_redirect: use temp netns for...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-01-28
Hangbin Liu
selftests/bpf/test_xdp_meta: use temp netns for testing
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-01-28
Hangbin Liu
selftests/bpf/test_tcp_check_syncookie: use temp netns...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
next