Re: [PATCH v3 bpf-next 3/4] selftests/bpf: make PT_REGS_* work in userspace

2019-07-10 Thread Andrii Nakryiko
On Wed, Jul 10, 2019 at 4:47 AM Ilya Leoshkevich wrote: > > > Am 09.07.2019 um 19:48 schrieb Andrii Nakryiko : > > > > On Tue, Jul 9, 2019 at 8:19 AM Ilya Leoshkevich wrote: > >> > >> Right now, on certain architectures, these macros are usable only with > >> kernel headers. This patch makes it p

Re: [PATCH v3 bpf-next 3/4] selftests/bpf: make PT_REGS_* work in userspace

2019-07-10 Thread Ilya Leoshkevich
> Am 09.07.2019 um 19:48 schrieb Andrii Nakryiko : > > On Tue, Jul 9, 2019 at 8:19 AM Ilya Leoshkevich wrote: >> >> Right now, on certain architectures, these macros are usable only with >> kernel headers. This patch makes it possible to use them with userspace >> headers and, as a consequence,

Re: [PATCH v3 bpf-next 3/4] selftests/bpf: make PT_REGS_* work in userspace

2019-07-09 Thread Andrii Nakryiko
On Tue, Jul 9, 2019 at 8:19 AM Ilya Leoshkevich wrote: > > Right now, on certain architectures, these macros are usable only with > kernel headers. This patch makes it possible to use them with userspace > headers and, as a consequence, not only in BPF samples, but also in BPF > selftests. > > On