Centos-kernel-stream-9/net
Jerome Marchand af8dbb6150 selftests/bpf: Add tests for kfunc register offset checks
Bugzilla: https://bugzilla.redhat.com/2120966

commit 8218ccb5bd68976ed5d75028ef50c13a857eee25
Author: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Date:   Sat Mar 5 04:16:45 2022 +0530

    selftests/bpf: Add tests for kfunc register offset checks

    Include a few verifier selftests that test against the problems being
    fixed by previous commits, i.e. release kfunc always require
    PTR_TO_BTF_ID fixed and var_off to be 0, and negative offset is not
    permitted and returns a helpful error message.

    Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
    Signed-off-by: Alexei Starovoitov <ast@kernel.org>
    Link: https://lore.kernel.org/bpf/20220304224645.3677453-9-memxor@gmail.com

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
2022-10-25 14:57:56 +02:00
..
6lowpan
9p Merge: Backport fscache/cachefiles rework for 9.2 2022-09-17 07:35:25 -04:00
802
8021q vlan: add net device refcount tracker 2022-06-13 18:38:36 +02:00
appletalk
atm
ax25 ax25: add net device refcount tracker 2022-06-13 18:38:36 +02:00
batman-adv exit/kthread: Have kernel threads return instead of calling do_exit 2022-08-25 10:44:58 -06:00
bluetooth exit: Rename module_put_and_exit to module_put_and_kthread_exit 2022-10-12 07:27:33 -04:00
bpf selftests/bpf: Add tests for kfunc register offset checks 2022-10-25 14:57:56 +02:00
bpfilter uaccess: remove CONFIG_SET_FS 2022-10-12 07:27:45 -04:00
bridge netfilter: br_netfilter: Drop dst references before setting. 2022-09-16 11:28:56 +02:00
caif net: Don't include filter.h from net/sock.h 2022-07-13 10:49:16 +02:00
can can: Use netif_rx(). 2022-06-06 11:54:24 +02:00
ceph mm: allow !GFP_KERNEL allocations for kvmalloc 2022-10-12 07:27:39 -04:00
core page_pool: Refactor page_pool to enable fragmenting after allocation 2022-10-25 14:57:54 +02:00
dcb
dccp
decnet net: Fix data-races around sysctl_[rw]mem(_offset)?. 2022-10-13 12:59:36 +02:00
dns_resolver
dsa net: Don't include filter.h from net/sock.h 2022-07-13 10:49:16 +02:00
ethernet move netdev_boot_setup into Space.c 2022-06-28 13:28:39 +02:00
ethtool Merge: CNB: net: Don't include filter.h from net/sock.h 2022-07-29 15:10:11 +02:00
hsr net: Write lock dev_base_lock without disabling bottom halves. 2022-06-27 16:37:14 +08:00
ieee802154 net: drop nopreempt requirement on sock_prot_inuse_add() 2022-06-13 18:35:56 +02:00
ife
ipv4 tcp: Change SYN ACK retransmit behaviour to account for rehash 2022-10-25 14:57:54 +02:00
ipv6 Merge: net: add skb drop reasons 2022-10-24 14:27:58 -04:00
iucv net: Don't include filter.h from net/sock.h 2022-07-13 10:49:16 +02:00
kcm net: Don't include filter.h from net/sock.h 2022-07-13 10:49:16 +02:00
key
l2tp l2tp: add netns refcount tracker to l2tp_dfs_seq_data 2022-06-13 18:39:10 +02:00
l3mdev
lapb
llc llc: add net device refcount tracker 2022-06-13 18:38:37 +02:00
mac80211 wifi: mac80211: consider EHT element size in assoc request 2022-07-28 18:49:55 +02:00
mac802154
mpls
mptcp net: Fix data-races around sysctl_[rw]mem(_offset)?. 2022-10-13 12:59:36 +02:00
ncsi
netfilter bpf: Replace __diag_ignore with unified __diag_ignore_all 2022-10-25 14:57:56 +02:00
netlabel
netlink net: Don't include filter.h from net/sock.h 2022-07-13 10:49:16 +02:00
netrom
nfc
nsh
openvswitch include/linux/mm.h: move nr_free_buffer_pages from swap.h to mm.h 2022-10-12 07:27:30 -04:00
packet net: Don't include filter.h from net/sock.h 2022-07-13 10:49:16 +02:00
phonet phonet: Use netif_rx(). 2022-06-06 11:54:25 +02:00
psample
qrtr
rds RDMA: Split kernel-only global device caps from uverbs device caps 2022-10-06 09:14:07 -04:00
rfkill
rose net: Don't include filter.h from net/sock.h 2022-07-13 10:49:16 +02:00
rxrpc
sched net: Fix data-races around weight_p and dev_weight_[rt]x_bias. 2022-10-13 13:00:03 +02:00
sctp include/linux/mm.h: move nr_free_buffer_pages from swap.h to mm.h 2022-10-12 07:27:30 -04:00
smc net: Don't include filter.h from net/sock.h 2022-07-13 10:49:16 +02:00
strparser bpf: sockmap, strparser, and tls are reusing qdisc_skb_cb and colliding 2022-06-07 20:22:41 +02:00
sunrpc Merge: NFS refresh for RHEL-9.2 2022-10-21 09:47:29 -04:00
switchdev net: switchdev: add net device refcount tracker 2022-06-13 18:38:36 +02:00
tipc net: Fix data-races around sysctl_[rw]mem(_offset)?. 2022-10-13 12:59:36 +02:00
tls sock: redo the psock vs ULP protection check 2022-06-27 14:15:22 +08:00
unix bpf: Support bpf_(get|set)sockopt() in bpf unix iter. 2022-10-25 14:57:53 +02:00
vmw_vsock virtio: wrap config->reset calls 2022-08-25 10:45:04 -06:00
wireless Merge: wireless: stack & drivers update to v5.18 2022-06-24 09:04:05 +02:00
x25
xdp bpf: remove unused static inlines 2022-10-25 14:57:44 +02:00
xfrm net: Fix data-races around netdev_max_backlog. 2022-10-13 13:00:03 +02:00
Kconfig net/core: disable NET_RX_BUSY_POLL on PREEMPT_RT 2022-06-07 08:59:31 +02:00
Kconfig.debug net: add networking namespace refcount tracker 2022-06-13 18:38:56 +02:00
Makefile
compat.c
devres.c
socket.c Merge: io_uring: update to v5.15 2022-10-21 09:47:33 -04:00
sysctl_net.c