Re: [bpf-next PATCH 1/3] bpf: sk_msg add some generic helpers that may be useful from sk_msg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 5/13/20 12:23 PM, John Fastabend wrote:
Add these generic helpers that may be useful to use from sk_msg programs.
The helpers do not depend on ctx so we can simply add them here,

  BPF_FUNC_perf_event_output
  BPF_FUNC_get_current_uid_gid
  BPF_FUNC_get_current_pid_tgid
  BPF_FUNC_get_current_comm
  BPF_FUNC_get_current_cgroup_id
  BPF_FUNC_get_current_ancestor_cgroup_id
  BPF_FUNC_get_cgroup_classid

Signed-off-by: John Fastabend <john.fastabend@xxxxxxxxx>

Acked-by: Yonghong Song <yhs@xxxxxx>



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux