Re: [PATCHv5 RFC 1/3] BPF: New helper to obtain namespace data from current task.


Alexei Starovoitov
 

On Thu, Jul 25, 2019 at 11:53 AM neirac <cneirabustos@...> wrote:

Hey Yonghong,
I have changed getname_kernel interface to specify the allocation type,
all previous callers preserve GFP_KERNEL as the allocation type, after this change
getname_kernel could be used with GFP_ATOMIC in ebpf helpers.
If this change goes in, I could complete bpf_get_current_pidns_info helper.
Let me know your thoughts.
please figure out how to get pidns_info w/o calling into getname_kernel().

Join iovisor-dev@lists.iovisor.org to automatically receive all group messages.