[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171112045406.gnuokhjhvemhqgk5@ast-mbp>
Date: Sun, 12 Nov 2017 12:54:08 +0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: David Ahern <dsahern@...il.com>
Cc: Lawrence Brakmo <brakmo@...com>, vlad@...ucla.edu,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: gpl-only change on bpf_setsockopt
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.
Powered by blists - more mailing lists