projects
/
platform
/
kernel
/
linux-starfive.git
/ search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
first ⋅ prev ⋅
next
bpf: Allow calling bpf_prog_test kfuncs in tracing programs
2022-08-10
Kumar Kartikeya...
bpf: Allow calling bpf_prog_test kfuncs in tracing...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
bpf: Fix build error in case of !CONFIG_DEBUG_INFO_BTF
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
selftests/bpf: Fix test_verifier failed test in unprivileged...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
selftests/bpf: Add negative tests for new nf_conntrack...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
selftests/bpf: Add verifier tests for trusted kfunc...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
net: netfilter: Add kfuncs to set and change CT timeout
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
net: netfilter: Deduplicate code in bpf_{xdp,skb}_ct_lookup
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
bpf: Add documentation for kfuncs
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
bpf: Add support for forcing kfunc args to be trusted
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
bpf: Switch to new kfunc flags infrastructure
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
tools/resolve_btfids: Add support for 8-byte BTF sets
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
bpf: Introduce 8-byte BTF set
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-06-15
Kumar Kartikeya...
bpf: Limit maximum modifier chain length in btf_check_type_tags
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-05-23
Kumar Kartikeya...
bpf: Suppress 'passing zero to PTR_ERR' warning
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-05-11
Kumar Kartikeya...
selftests/bpf: Add tests for kptr_ref refcounting
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-05-11
Kumar Kartikeya...
selftests/bpf: Add negative C tests for kptrs
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-05-11
Kumar Kartikeya...
bpf: Prepare prog_test_struct kfuncs for runtime tests
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-05-11
Kumar Kartikeya...
bpf: Fix sparse warning for bpf_kptr_xchg_proto
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-26
Kumar Kartikeya...
selftests/bpf: Add test for strict BTF type check
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-26
Kumar Kartikeya...
selftests/bpf: Add verifier tests for kptr
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-26
Kumar Kartikeya...
selftests/bpf: Add C tests for kptr
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-26
Kumar Kartikeya...
libbpf: Add kptr type tag macros to bpf_helpers.h
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-26
Kumar Kartikeya...
bpf: Make BTF type match stricter for release arguments
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-26
Kumar Kartikeya...
bpf: Teach verifier about kptr_get kfunc helpers
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-26
Kumar Kartikeya...
bpf: Wire up freeing of referenced kptr
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-26
Kumar Kartikeya...
bpf: Populate pairs of btf_id and destructor kfunc...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-26
Kumar Kartikeya...
bpf: Adapt copy_map_value for multiple offset case
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-26
Kumar Kartikeya...
bpf: Prevent escaping of kptr loaded from maps
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-26
Kumar Kartikeya...
bpf: Allow storing referenced kptr in map
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-26
Kumar Kartikeya...
bpf: Tag argument to be released in bpf_func_proto
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-26
Kumar Kartikeya...
bpf: Allow storing unreferenced kptr in map
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-21
Kumar Kartikeya...
bpf: Move check_ptr_off_reg before check_map_access
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-21
Kumar Kartikeya...
bpf: Make btf_find_field more generic
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-19
Kumar Kartikeya...
selftests/bpf: Add tests for type tag order validation
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-19
Kumar Kartikeya...
bpf: Ensure type tags precede modifiers in BTF
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-06
Kumar Kartikeya...
selftests/bpf: Test for writes to map key from BPF...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-06
Kumar Kartikeya...
selftests/bpf: Test passing rdonly mem to global func
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-06
Kumar Kartikeya...
bpf: Reject writes for PTR_TO_MAP_KEY in check_helper_mem_access
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-06
Kumar Kartikeya...
bpf: Check PTR_TO_MEM | MEM_RDONLY in check_helper_mem_access
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-04-06
Kumar Kartikeya...
bpf: Do write access check for kfunc and global func
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-03-21
Kumar Kartikeya...
bpf: Check for NULL return from bpf_get_btf_vmlinux
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-03-19
Kumar Kartikeya...
bpf: Always raise reference in btf_get_module_btf
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-03-18
Kumar Kartikeya...
bpf: Factor out fd returning from bpf_btf_find_by_name_kind
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
selftests/bpf: Add tests for kfunc register offset...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
bpf: Replace __diag_ignore with unified __diag_ignore_all
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
compiler_types.h: Add unified __diag_ignore_all for...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
bpf: Harden register offset checks for release helpers...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
bpf: Disallow negative offset in check_ptr_off_reg
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
bpf: Fix PTR_TO_BTF_ID var_off check
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-03-05
Kumar Kartikeya...
bpf: Add check_func_arg_reg_off function
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-02-22
Kumar Kartikeya...
selftests/bpf: Add test for reg2btf_ids out of bounds...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-02-16
Kumar Kartikeya...
bpf: Fix crash due to out of bounds access into reg2btf_ids.
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-02-11
Kumar Kartikeya...
selftests/bpf: Add test for bpf_timer overwriting crash
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-02-11
Kumar Kartikeya...
bpf: Fix crash due to incorrect copy_map_value
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-01-20
Kumar Kartikeya...
selftests/bpf: Do not fail build if CONFIG_NF_CONNTRACK=m/n
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-01-18
Kumar Kartikeya...
selftests/bpf: Add test for race in btf_try_get_module
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-01-18
Kumar Kartikeya...
selftests/bpf: Extend kfunc selftests
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-01-18
Kumar Kartikeya...
selftests/bpf: Add test_verifier support to fixup kfunc...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-01-18
Kumar Kartikeya...
selftests/bpf: Add test for unstable CT lookup API
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-01-18
Kumar Kartikeya...
net/netfilter: Add unstable CT lookup helpers for XDP...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-01-18
Kumar Kartikeya...
bpf: Add reference tracking support to kfunc
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-01-18
Kumar Kartikeya...
bpf: Introduce mem, size argument pair support for...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-01-18
Kumar Kartikeya...
bpf: Remove check_kfunc_call callback and old kfunc...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-01-18
Kumar Kartikeya...
bpf: Populate kfunc BTF ID sets in struct btf
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2022-01-18
Kumar Kartikeya...
bpf: Fix UAF due to race between btf_try_get_module...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-12-19
Kumar Kartikeya...
bpf: Extend kfunc with PTR_TO_CTX, PTR_TO_MEM argument...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-12-14
Kumar Kartikeya...
selftests/bpf: Fix OOB write in test_verifier
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-12-02
Kumar Kartikeya...
tools/resolve_btfids: Skip unresolved symbol warning...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-12-02
Kumar Kartikeya...
bpf: Fix bpf_check_mod_kfunc_call for built-in modules
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-12-02
Kumar Kartikeya...
bpf: Make CONFIG_DEBUG_INFO_BTF depend upon CONFIG_BPF_SYSCALL
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-11-30
Kumar Kartikeya...
libbpf: Avoid reload of imm for weak, unresolved, repeating...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-11-30
Kumar Kartikeya...
libbpf: Avoid double stores for success/failure case...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-11-30
Kumar Kartikeya...
bpf: Change bpf_kallsyms_lookup_name size type to ARG_CONST_...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-11-13
Kumar Kartikeya...
libbpf: Perform map fd cleanup for gen_loader in case...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-11-13
Kumar Kartikeya...
samples/bpf: Fix incorrect use of strlen in xdp_redirect_cpu
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-11-09
Kumar Kartikeya...
libbpf: Compile using -std=gnu89
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-28
Kumar Kartikeya...
selftests/bpf: Fix memory leak in test_ima
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-28
Kumar Kartikeya...
selftests/bpf: Fix fd cleanup in sk_lookup test
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-28
Kumar Kartikeya...
selftests/bpf: Add weak/typeless ksym test for light...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-28
Kumar Kartikeya...
libbpf: Use O_CLOEXEC uniformly when opening fds
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-28
Kumar Kartikeya...
libbpf: Ensure that BPF syscall fds are never 0, 1...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-28
Kumar Kartikeya...
libbpf: Add weak ksym support to gen_loader
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-28
Kumar Kartikeya...
libbpf: Add typeless ksym support to gen_loader
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-28
Kumar Kartikeya...
bpf: Add bpf_kallsyms_lookup_name helper
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-19
Kumar Kartikeya...
bpf: Silence Coverity warning for find_kfunc_desc_btf
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-06
Kumar Kartikeya...
bpf: selftests: Add selftests for module kfunc support
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-06
Kumar Kartikeya...
libbpf: Update gen_loader to emit BTF_KIND_FUNC relocations
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-06
Kumar Kartikeya...
libbpf: Resolve invalid weak kfunc calls with imm ...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-06
Kumar Kartikeya...
libbpf: Support kernel module function calls
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-06
Kumar Kartikeya...
bpf: Enable TCP congestion control kfunc from modules
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-06
Kumar Kartikeya...
tools: Allow specifying base BTF file in resolve_btfids
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-06
Kumar Kartikeya...
bpf: btf: Introduce helpers for dynamic BTF set registration
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-06
Kumar Kartikeya...
bpf: Be conservative while processing invalid kfunc...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-10-06
Kumar Kartikeya...
bpf: Introduce BPF support for kernel module function...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-09-30
Kumar Kartikeya...
libbpf: Fix segfault in light skeleton for objects...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-09-30
Kumar Kartikeya...
libbpf: Fix skel_internal.h to set errno on loader...
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-09-29
Kumar Kartikeya...
bpf: selftests: Fix fd cleanup in get_branch_snapshot
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-09-29
Kumar Kartikeya...
samples: bpf: Fix vmlinux.h generation for XDP samples
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-09-28
Kumar Kartikeya...
libbpf: Fix segfault in static linker for objects without BTF
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
2021-08-26
Kumar Kartikeya...
samples: bpf: Fix uninitialized variable in xdp_redirect_cpu
Signed-off-by:
Kumar Kartikeya Dwivedi
<memxor@gmail.com>
commit
|
commitdiff
|
tree
next