projects
/
platform
/
kernel
/
linux-starfive.git
/ search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
first
⋅
prev
⋅
next
bpf: Remove prog->active check for bpf_lsm and bpf_iter
2022-09-22
Roberto Sassu
btf: Allow dynamic pointer parameters in kfuncs
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-22
Roberto Sassu
bpf: Move dynptr type check to is_dynptr_type_expected()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-22
Roberto Sassu
btf: Export bpf_dynptr definition
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-22
KP Singh
bpf: Allow kfuncs to be used in LSM programs
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-21
Kumar Kartikeya...
bpf: Gate dynptr API behind CAP_BPF
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-20
Hou Tao
bpf: Check whether or not node is NULL before free...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-15
Dave Marchevsky
bpf: Add verifier check for BPF_PTR_POISON retval and arg
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-11
Dave Marchevsky
bpf: Add verifier support for custom callback return...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-11
Lorenz Bauer
bpf: btf: fix truncated last_member_type_id in btf_struct_re...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-11
Lorenzo Bianconi
selftests/bpf: fix ct status check in bpf_nf selftests
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-11
Alexei Starovoitov
Merge branch 'Support direct writes to nf_conn:mark'
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-11
Daniel Xu
selftests/bpf: Add tests for writing to nf_conn:mark
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-11
Daniel Xu
bpf: Add support for writing to nf_conn:mark
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-11
Daniel Xu
bpf: Export btf_type_by_id() and bpf_log()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-11
Daniel Xu
bpf: Use 0 instead of NOT_INIT for btf_struct_access...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-11
Daniel Xu
bpf: Add stub for btf_struct_access()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-11
Daniel Xu
bpf: Remove duplicate PTR_TO_BTF_ID RO check
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-10
Punit Agrawal
bpf: Simplify code by using for_each_cpu_wrap()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-10
Tetsuo Handa
bpf: add missing percpu_counter_destroy() in htab_map_alloc()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Kumar Kartikeya...
bpf: Add helper macro bpf_for_each_reg_in_vstate
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Kumar Kartikeya...
bpf: Add zero_map_value to zero map value with special...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Kumar Kartikeya...
bpf: Support kptrs in percpu arraymap
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Kumar Kartikeya...
bpf: Add copy_map_value_long to copy to remote percpu...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Jules Irenge
bpf: Fix resetting logic for unreferenced kptrs
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Alexei Starovoitov
Merge branch 'bpf-core changes for preparation of HID...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Benjamin Tissoires
selftests/bpf: Add tests for kfunc returning a memory...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Benjamin Tissoires
bpf/verifier: allow kfunc to return an allocated mem
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Benjamin Tissoires
bpf/btf: bump BTF_KFUNC_SET_MAX_CNT
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Benjamin Tissoires
selftests/bpf: add test for accessing ctx from syscall...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Benjamin Tissoires
bpf/verifier: allow all functions to read user provided...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Benjamin Tissoires
bpf: split btf_check_subprog_arg_match in two
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Benjamin Tissoires
selftests/bpf: regroup and declare similar kfuncs selftests...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Alexei Starovoitov
Merge branch 'bpf: Support struct argument for trampoline...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Yonghong Song
selftests/bpf: Add tracing_struct test in DENYLIST...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Yonghong Song
selftests/bpf: Use BPF_PROG2 for some fentry programs...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Yonghong Song
selftests/bpf: Add struct argument tests with fentry...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Yonghong Song
libbpf: Add new BPF_PROG2 macro
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Yonghong Song
bpf: arm64: No support of struct argument in trampoline...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Yonghong Song
bpf: Update descriptions for helpers bpf_get_func_arg...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Yonghong Song
bpf: x86: Support in-register struct arguments in trampoline...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Yonghong Song
bpf: Allow struct argument in trampoline based programs
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-07
Alexei Starovoitov
bpf: Replace __ksize with ksize.
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Alexei Starovoitov
Merge branch 'bpf: net: Remove duplicated code from...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
selftest/bpf: Add test for bpf_getsockopt()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
bpf: Change bpf_getsockopt(SOL_IPV6) to reuse do_ipv6_getsoc...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
bpf: Change bpf_getsockopt(SOL_IP) to reuse do_ip_getsockopt()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
bpf: Change bpf_getsockopt(SOL_TCP) to reuse do_tcp_getsockopt()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
bpf: Change bpf_getsockopt(SOL_SOCKET) to reuse sk_getsockopt()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
bpf: Embed kernel CONFIG check into the if statement...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
bpf: net: Avoid do_ipv6_getsockopt() taking sk lock...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
bpf: net: Change do_ipv6_getsockopt() to take the sockptr_t...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
net: Add a len argument to compat_ipv6_get_msfilter()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
net: Remove unused flags argument from do_ipv6_getsockopt
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
bpf: net: Avoid do_ip_getsockopt() taking sk lock when...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
bpf: net: Change do_ip_getsockopt() to take the sockptr_t...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
bpf: net: Avoid do_tcp_getsockopt() taking sk lock...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
bpf: net: Change do_tcp_getsockopt() to take the sockptr_t...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
bpf: net: Avoid sk_getsockopt() taking sk lock when...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
bpf: net: Change sk_getsockopt() to take the sockptr_t...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-09-03
Martin KaFai Lau
net: Change sock_getsockopt() to take the sk ptr instead...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-26
Benjamin Tissoires
libbpf: add map_get_fd_by_id and map_delete_elem in...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-26
Benjamin Tissoires
bpf: prepare for more bpf syscall to be used from kernel...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Daniel Borkmann
bpf: Don't use tnum_range on array range checking for...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Alexei Starovoitov
Merge branch 'Fix incorrect pruning for ARG_CONST_ALLOC_SIZE...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Kumar Kartikeya...
selftests/bpf: Add regression test for pruning fix
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Kumar Kartikeya...
bpf: Do mark_chain_precision for ARG_CONST_ALLOC_SIZE_OR_ZERO
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Alexei Starovoitov
Merge branch 'bpf: rstat: cgroup hierarchical'
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Yosry Ahmed
selftests/bpf: add a selftest for cgroup hierarchical...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Yosry Ahmed
selftests/bpf: extend cgroup helpers
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Yosry Ahmed
cgroup: bpf: enable bpf programs to integrate with...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Hao Luo
selftests/bpf: Test cgroup_iter.
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Hao Luo
bpf: Introduce cgroup iter
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Yang Yingliang
selftests/bpf: Fix wrong size passed to bpf_setsockopt()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Daniel Müller
selftests/bpf: Add cb_refs test to s390x deny list
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Alexei Starovoitov
Merge branch 'Fix reference state management for synchronous...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Kumar Kartikeya...
selftests/bpf: Add tests for reference state fixes...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-25
Kumar Kartikeya...
bpf: Fix reference state management for synchronous...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-23
Kumar Kartikeya...
bpf: Move bpf_loop and bpf_for_each_map_elem under...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-23
Alexei Starovoitov
Merge branch 'bpf: expose bpf_{g,s}et_retval to more...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-23
Stanislav Fomichev
selftests/bpf: Make sure bpf_{g,s}et_retval is exposed...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-23
Stanislav Fomichev
bpf: update bpf_{g,s}et_retval documentation
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-23
Stanislav Fomichev
bpf: expose bpf_strtol and bpf_strtoul to all program...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-23
Stanislav Fomichev
bpf: Use cgroup_{common,current}_func_proto in more...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-23
Stanislav Fomichev
bpf: Introduce cgroup_{common,current}_func_proto
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
selftest/bpf: Add setget_sockopt to DENYLIST.s390x
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Colin Ian King
selftests/bpf: Fix spelling mistake.
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Alexei Starovoitov
Merge branch 'bpf: net: Remove duplicated code from...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
selftests/bpf: bpf_setsockopt tests
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
bpf: Add a few optnames to bpf_setsockopt
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
bpf: Change bpf_setsockopt(SOL_IPV6) to reuse do_ipv6_setsoc...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
bpf: Change bpf_setsockopt(SOL_IP) to reuse do_ip_setsockopt()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
bpf: Change bpf_setsockopt(SOL_TCP) to reuse do_tcp_setsockopt()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
bpf: Refactor bpf specific tcp optnames to a new function
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
bpf: Change bpf_setsockopt(SOL_SOCKET) to reuse sk_setsockopt()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
bpf: Embed kernel CONFIG check into the if statement...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
bpf: Initialize the bpf_run_ctx in bpf_iter_run_prog()
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
bpf: net: Change do_ipv6_setsockopt() to use the sockopt...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
bpf: net: Change do_ip_setsockopt() to use the sockopt...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
bpf: net: Change do_tcp_setsockopt() to use the sockopt...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
bpf: net: Consider has_current_bpf_ctx() when testing...
Signed-off-by:
Alexei Starovoitov
<ast@kernel.org>
commit
|
commitdiff
|
tree
next