projects
/
platform
/
kernel
/
linux-starfive.git
/ search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
first ⋅ prev ⋅
next
bpf: Change bpf_setsockopt(SOL_TCP) to reuse do_tcp_setsockopt()
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
2022-08-19
Martin KaFai Lau
bpf: net: Avoid sk_setsockopt() taking sk lock when...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-19
Martin KaFai Lau
net: Add sk_setsockopt() to take the sk ptr instead...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-11
Alexei Starovoitov
bpf: Shut up kern_sys_bpf warning.
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Yafang Shao
bpf: Use bpf_map_area_alloc consistently on bpf map...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Yafang Shao
bpf: Make __GFP_NOWARN consistent in bpf map creation
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Yafang Shao
bpf: Use bpf_map_area_free instread of kvfree
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Yafang Shao
bpf: Remove unneeded memset in queue_stack_map creation
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Andrii Nakryiko
libbpf: preserve errno across pr_warn/pr_info/pr_debug
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Alexei Starovoitov
Merge branch 'fixes for bpf map iterator'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Hou Tao
selftests/bpf: Ensure sleepable program is rejected...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Hou Tao
selftests/bpf: Add write tests for sk local storage...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Hou Tao
selftests/bpf: Add tests for reading a dangling map...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Hou Tao
bpf: Only allow sleepable program for resched-able...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Hou Tao
bpf: Check the validity of max_rdwr_access for sock...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Hou Tao
bpf: Acquire map uref in .init_seq_private for sock...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Hou Tao
bpf: Acquire map uref in .init_seq_private for sock...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Hou Tao
bpf: Acquire map uref in .init_seq_private for hash...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Hou Tao
bpf: Acquire map uref in .init_seq_private for array...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Alexei Starovoitov
bpf: Disallow bpf programs call prog_run command.
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Alexei Starovoitov
Merge branch 'destructive bpf_kfuncs'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Artem Savkov
selftests/bpf: add destructive kfunc test
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Artem Savkov
bpf: export crash_kexec() as destructive kfunc
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Artem Savkov
bpf: add destructive kfunc flag
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Alexei Starovoitov
Merge branch 'Don't reinit map value in prealloc_lru_pop'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Kumar Kartikeya...
selftests/bpf: Add test for prealloc_lru_pop bug
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Kumar Kartikeya...
bpf: Don't reinit map value in prealloc_lru_pop
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Kumar Kartikeya...
bpf: Allow calling bpf_prog_test kfuncs in tracing...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Joanne Koong
selftests/bpf: add extra test for using dynptr data...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-10
Joanne Koong
bpf: Fix ref_obj_id for dynptr data slices in verifier
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-09
Yonghong Song
bpf: Always return corresponding btf_type in __get_type_size()
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-09
Alexei Starovoitov
Merge branch 'Add BPF-helper for accessing CLOCK_TAI'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-09
Kurt Kanzenbach
selftests/bpf: Add BPF-helper test for CLOCK_TAI access
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-09
Jesper Dangaard...
bpf: Add BPF-helper for accessing CLOCK_TAI
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-09
Dave Marchevsky
bpf: Cleanup check_refcount_ok
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-09
Kumar Kartikeya...
net: netfilter: Remove ifdefs for code shared by BPF...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-09
Hao Luo
bpf, iter: Fix the condition on p when calling stop.
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-09
Yosry Ahmed
cgroup: enable cgroup_get_from_file() on cgroup1
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-09
Benjamin Tissoires
btf: Add a new kfunc flag which allows to mark a function...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-04
Jinghao Jia
BPF: Fix potential bad pointer dereference in bpf_sys_bpf()
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-04
Paul E. McKenney
bpf: Update bpf_design_QA.rst to clarify that BTF_ID...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-04
Paul E. McKenney
bpf: Update bpf_design_QA.rst to clarify that attaching...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-08-04
Paul E. McKenney
bpf: Update bpf_design_QA.rst to clarify that kprobes...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
bpf: Fix build error in case of !CONFIG_DEBUG_INFO_BTF
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Alexei Starovoitov
Merge branch 'New nf_conntrack kfuncs for insertion...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
selftests/bpf: Fix test_verifier failed test in unprivileged...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
selftests/bpf: Add negative tests for new nf_conntrack...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Lorenzo Bianconi
selftests/bpf: Add tests for new nf_conntrack kfuncs
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
selftests/bpf: Add verifier tests for trusted kfunc...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Lorenzo Bianconi
net: netfilter: Add kfuncs to set and change CT status
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
net: netfilter: Add kfuncs to set and change CT timeout
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Lorenzo Bianconi
net: netfilter: Add kfuncs to allocate and insert CT
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
net: netfilter: Deduplicate code in bpf_{xdp,skb}_ct_lookup
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
bpf: Add documentation for kfuncs
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
bpf: Add support for forcing kfunc args to be trusted
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
bpf: Switch to new kfunc flags infrastructure
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
tools/resolve_btfids: Add support for 8-byte BTF sets
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-22
Kumar Kartikeya...
bpf: Introduce 8-byte BTF set
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Dan Carpenter
libbpf: fix an snprintf() overflow check
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Dan Carpenter
selftests/bpf: fix a test for snprintf() overflow
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Donald Hunter
bpf, docs: document BPF_MAP_TYPE_HASH and variants
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Andrii Nakryiko
selftests/bpf: test eager BPF ringbuf size adjustment...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Andrii Nakryiko
libbpf: make RINGBUF map size adjustments more eagerly
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Joanne Koong
bpf: fix bpf_skb_pull_data documentation
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Andrii Nakryiko
libbpf: fallback to tracefs mount point if debugfs...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Zhengchao Shao
bpf: Don't redirect packets with invalid pkt_len
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Alexei Starovoitov
Merge branch 'BPF array map fixes and improvements'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Andrii Nakryiko
selftests/bpf: validate .bss section bigger than 8MB...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Andrii Nakryiko
bpf: remove obsolete KMALLOC_MAX_SIZE restriction on...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Andrii Nakryiko
bpf: make uniform use of array->elem_size everywhere...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Andrii Nakryiko
bpf: fix potential 32-bit overflow when accessing ARRAY...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Indu Bhagat
docs/bpf: Update documentation for BTF_KIND_FUNC
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Stanislav Fomichev
bpf: fix lsm_cgroup build errors on esoteric configs
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Alexei Starovoitov
Merge branch 'Add SEC("ksyscall") support'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Andrii Nakryiko
selftests/bpf: use BPF_KSYSCALL and SEC("ksyscall"...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Andrii Nakryiko
libbpf: add ksyscall/kretsyscall sections support for...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Andrii Nakryiko
libbpf: improve BPF_KPROBE_SYSCALL macro and rename...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Andrii Nakryiko
selftests/bpf: add test of __weak unknown virtual __kconfig...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-19
Andrii Nakryiko
libbpf: generalize virtual __kconfig externs and use...
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-13
Joanne Koong
bpf: Tidy up verifier check_func_arg()
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-13
Yafang Shao
bpf: Make non-preallocated allocation low priority
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-13
Song Liu
bpf, x86: fix freeing of not-finalized bpf_prog_pack
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-12
Roman Gushchin
bpf: reparent bpf maps on memcg offlining
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-12
Alexei Starovoitov
Merge branch 'bpf: add a ksym BPF iterator'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-12
Alan Maguire
selftests/bpf: add a ksym iter subtest
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-07-12
Alan Maguire
bpf: add a ksym BPF iterator
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-06-29
Alexei Starovoitov
Merge branch 'bpf: cgroup_sock lsm flavor'
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-06-29
Stanislav Fomichev
selftests/bpf: lsm_cgroup functional test
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-06-29
Stanislav Fomichev
bpftool: implement cgroup tree for BPF_LSM_CGROUP
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-06-29
Stanislav Fomichev
libbpf: implement bpf_prog_query_opts
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-06-29
Stanislav Fomichev
libbpf: add lsm_cgoup_sock type
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
2022-06-29
Stanislav Fomichev
tools/bpf: Sync btf_ids.h to tools
Signed-off-by: Alexei Starovoitov <
ast@kernel.org
>
commit
|
commitdiff
|
tree
next