linux-xiaomi-chiron/tools/include/uapi/linux
Kui-Feng Lee 2fcc82411e bpf, x86: Attach a cookie to fentry/fexit/fmod_ret/lsm.
Pass a cookie along with BPF_LINK_CREATE requests.

Add a bpf_cookie field to struct bpf_tracing_link to attach a cookie.
The cookie of a bpf_tracing_link is available by calling
bpf_get_attach_cookie when running the BPF program of the attached
link.

The value of a cookie will be set at bpf_tramp_run_ctx by the
trampoline of the link.

Signed-off-by: Kui-Feng Lee <kuifeng@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220510205923.3206889-4-kuifeng@fb.com
2022-05-10 21:58:31 -07:00
..
tc_act
bpf.h bpf, x86: Attach a cookie to fentry/fexit/fmod_ret/lsm. 2022-05-10 21:58:31 -07:00
bpf_common.h
bpf_perf_event.h
btf.h bpf: Correct the comment for BTF kind bitfield 2022-04-03 17:06:52 -07:00
const.h
erspan.h
ethtool.h
fadvise.h
fcntl.h
filter.h
fs.h
fscrypt.h
hw_breakpoint.h
if_link.h bonding: add new option ns_ip6_target 2022-02-21 12:13:45 +00:00
if_tun.h
if_xdp.h
in.h
kcmp.h
kvm.h tools headers UAPI: Sync linux/kvm.h with the kernel sources 2022-04-01 16:19:35 -03:00
mman.h
mount.h
netlink.h
openat2.h
perf_event.h Changes for this cycle were: 2022-03-22 13:06:49 -07:00
pkt_cls.h
pkt_sched.h
prctl.h tools headers UAPI: Sync linux/prctl.h with the kernel sources 2022-02-01 13:04:22 -03:00
sched.h
seg6.h
seg6_local.h
stat.h
tcp.h
tls.h
types.h
usbdevice_fs.h
vhost.h tools include UAPI: Sync linux/vhost.h with the kernel sources 2022-04-09 11:42:33 -03:00