Files
linux-stable-mirror/include/linux
Kui-Feng LeeandAndrii Nakryiko 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
..
2022-04-22 15:15:23 -07:00
2022-03-23 19:58:38 +01:00
2022-03-15 10:32:44 +01:00
2022-03-16 15:13:36 -07:00
2022-04-01 14:40:44 -04:00
2022-04-07 09:43:41 -04:00
2022-03-15 08:23:29 -04:00
2022-04-22 12:47:50 +01:00
2022-04-11 19:18:27 -06:00
2022-03-18 09:47:04 +01:00
2022-03-21 12:57:38 -04:00
2022-04-01 14:40:44 -04:00
2022-03-24 19:06:45 -07:00
2022-04-01 13:45:08 -04:00
2022-04-19 10:19:02 -07:00
2022-03-17 20:16:29 -07:00
2022-03-23 19:58:41 +01:00
2022-04-11 19:18:27 -06:00
2022-03-22 15:57:11 -07:00
2022-03-28 16:53:00 -04:00