Re: [RFC v1 12/14] krsi: Add an eBPF helper function to get the value of an env variable

2019-09-17 Thread KP Singh
On 17-Sep 16:58, Yonghong Song wrote: > > > On 9/16/19 6:00 AM, KP Singh wrote: > > Thanks for reviewing! > > > > On 15-Sep 00:16, Yonghong Song wrote: > >> > >> > >> On 9/10/19 12:55 PM, KP Singh wrote: > >>> From: KP Singh > >> > >> This patch cannot apply cleanly. > >> > >> -bash-4.4$ git ap

Re: [RFC v1 12/14] krsi: Add an eBPF helper function to get the value of an env variable

2019-09-17 Thread Yonghong Song
On 9/16/19 6:00 AM, KP Singh wrote: > Thanks for reviewing! > > On 15-Sep 00:16, Yonghong Song wrote: >> >> >> On 9/10/19 12:55 PM, KP Singh wrote: >>> From: KP Singh >> >> This patch cannot apply cleanly. >> >> -bash-4.4$ git apply ~/p12.txt >> error: patch failed: include/uapi/linux/bpf.h:271

Re: [RFC v1 12/14] krsi: Add an eBPF helper function to get the value of an env variable

2019-09-16 Thread KP Singh
Thanks for reviewing! On 15-Sep 00:16, Yonghong Song wrote: > > > On 9/10/19 12:55 PM, KP Singh wrote: > > From: KP Singh > > This patch cannot apply cleanly. > > -bash-4.4$ git apply ~/p12.txt > error: patch failed: include/uapi/linux/bpf.h:2715 > error: include/uapi/linux/bpf.h: patch does

Re: [RFC v1 12/14] krsi: Add an eBPF helper function to get the value of an env variable

2019-09-14 Thread Yonghong Song
On 9/10/19 12:55 PM, KP Singh wrote: > From: KP Singh This patch cannot apply cleanly. -bash-4.4$ git apply ~/p12.txt error: patch failed: include/uapi/linux/bpf.h:2715 error: include/uapi/linux/bpf.h: patch does not apply error: patch failed: tools/include/uapi/linux/bpf.h:2715 error: tools/i

[RFC v1 12/14] krsi: Add an eBPF helper function to get the value of an env variable

2019-09-10 Thread KP Singh
From: KP Singh The helper returns the value of the environment variable in the buffer that is passed to it. If the var is set multiple times, the helper returns all the values as null separated strings. If the buffer is too short for these values, the helper tries to fill it the best it can and