Commit 834ebca
bpf: Enable retrival of pid/tgid/comm from bpf cgroup hooks
We already have the bpf_get_current_uid_gid() helper enabled, and
given we now have perf event RB output available for connect(),
sendmsg(), recvmsg() and bind-related hooks, add a trivial change
to enable bpf_get_current_pid_tgid() and bpf_get_current_comm()
as well.
Signed-off-by: Daniel Borkmann <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/18744744ed93c06343be8b41edcfd858706f39d7.1585323121.git.daniel@iogearbox.net1 parent 0f09abd commit 834ebca
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6018 | 6018 | | |
6019 | 6019 | | |
6020 | 6020 | | |
| 6021 | + | |
| 6022 | + | |
| 6023 | + | |
| 6024 | + | |
6021 | 6025 | | |
6022 | 6026 | | |
6023 | 6027 | | |
| |||
6058 | 6062 | | |
6059 | 6063 | | |
6060 | 6064 | | |
| 6065 | + | |
| 6066 | + | |
| 6067 | + | |
| 6068 | + | |
6061 | 6069 | | |
6062 | 6070 | | |
6063 | 6071 | | |
| |||
0 commit comments