On Sat, Nov 11, 2017 at 08:17:37PM -0700, David Ahern wrote:
> Hi Lawrence:
>
> I noticed that commit cd86d1fd21025 ("bpf: Adding helper function
> bpf_getsockops") changed the gpl_only on bpf_setsockopt. The commit log
> does not specify why. Is there any reason you changed it and made both
> bpf_setsockopt and bpf_getsockopt available for non-gpl programs?
that was my request to match the rest of networking programs.
There is nothing linux specific about get/setsockopt that any
user space process can do just as well.
Compare that to tracing programs which are gpl only.