From: Martin KaFai Lau <ka...@fb.com> Date: Wed, 31 May 2017 11:58:54 -0700
> This patch series: > 1) Introduce ID for both bpf_prog and bpf_map. > 2) Add bpf commands to iterate the prog IDs and map > IDs of the system. > 3) Add bpf commands to get a prog/map fd from an ID > 4) Add bpf command to get prog/map info from a fd. > The prog/map info is a jump start in this patchset > and it is not meant to be a complete list. They can > be extended in the future patches. > > v2: > Compiler warning fixes: > - Remove lockdep_is_held() usage. Add comment > to explain the lock situation instead. > - Add static for idr related variables > - Add __user to the uattr param in bpf_prog_get_info_by_fd() > and bpf_map_get_info_by_fd(). Series applied, thanks Martin.