On Thu, Jun 18, 2020 at 3:33 PM Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx> wrote: > > + * > > + * int bpf_copy_from_user(void *dst, u32 size, const void *user_ptr) > > Can we also add bpf_copy_str_from_user (or bpf_copy_from_user_str, > whichever makes more sense) as well? Those would have to wait. I think strings need better long term design. That would be separate patches.